source: proiecte/PDAD/trunk/nodeslocation/mapreduce/run.sh @ 154

Last change on this file since 154 was 154, checked in by (none), 14 years ago

PDAD project

  • Property svn:executable set to *
File size: 610 bytes
Line 
1#!/bin/sh
2
3
4$HADOOP_HOME/bin/hadoop fs -rmr output/nodeslocation/$1
5$HADOOP_HOME/bin/hadoop jar nodeslocation.jar org.PP.NodesLocation /user/hadoop/input/$1/event_trace/event_trace.tab /user/hadoop/output/nodeslocation/$1 /user/hadoop/input/$1/node/node.tab /user/hadoop/output/nodeslocation/$1/ctd
6echo "Result available in /user/hadoop/output/nodeslocation/$1: $HADOOP_HOME/bin/hadoop fs -cat /user/hadoop/output/nodeslocation/$1/part-00000"
7echo "-------------------------"
8echo "PRINTING..."
9echo "-------------------------"
10#$HADOOP_HOME/bin/hadoop fs -cat /user/hadoop/output/nodeslocation/$1/part-00000
Note: See TracBrowser for help on using the repository browser.