mvn clean install
./prepare.sh
./vm.sh
put testMedium.txt job1_testMedium.txt
put testMedium1.txt job1_testMedium1.txt
put testMedium2.txt job1_testMedium2.txt
put testMedium3.txt job1_testMedium3.txt
http://fa16-cs425-g10-01.cs.illinois.edu:50070/explorer.html
http://fa16-cs425-g10-01.cs.illinois.edu:8088/
mvn exec:java -Dexec.mainClass="edu.illinois.cs.cs425.Daemon" -Dexec.args="-l -p <portNumber>"
E.g. mvn exec:java -Dexec.mainClass="edu.illinois.cs.cs425.Daemon" -Dexec.args="-l -p 6667"
mvn exec:java -Dexec.mainClass="edu.illinois.cs.cs425.Daemon" -Dexec.args="-l -p <portNumber> -m"
E.g. mvn exec:java -Dexec.mainClass="edu.illinois.cs.cs425.Daemon" -Dexec.args="-l -p 6667 -m"
mvn exec:java -Dexec.mainClass="edu.illinois.cs.cs425.Daemon" -Dexec.args="-a <leaderHostName> -p <portNumber> -m"
E.g. mvn exec:java -Dexec.mainClass="edu.illinois.cs.cs425.Daemon" -Dexec.args="-a fa16-cs425-g10-01.cs.illinois.edu:6667 -p 6680 -m"
mvn exec:java -Dexec.mainClass="edu.illinois.cs.cs425.Daemon" -Dexec.args="-a <leaderHostName> -p <portNumber>"
E.g. mvn exec:java -Dexec.mainClass="edu.illinois.cs.cs425.Daemon" -Dexec.args="-a fa16-cs425-g10-01.cs.illinois.edu:6667 -p 6680"
put MJWordCount.class MJWordCount.class
put MJWordCountThread.class MJWordCountThread.class
put MJWordCountReducer.class MJWordCountReducer.class
put MJWordCountReducerThread.class MJWordCountReducerThread.class
put test.txt job1_test.txt
mvn exec:java -Dexec.mainClass="edu.illinois.cs.cs425.Dummy" -Dexec.args="MJWordCount.class 4 job1_intermedia job1 mapJob"
mvn exec:java -Dexec.mainClass="edu.illinois.cs.cs425.Dummy" -Dexec.args="MJWordCountReducer.class 8 job1_intermedia job1_out reduceJob"
put <local filename> <sdfs filename>
E.g. put a.gz b.gz
get <sdfs filename> <local filename>
E.g. get a.gz b.gz
delete <sdfs filename>
E.g. delete a.gz
To list all files
ls
To list particular file replicas
ls <sdfs filename>
E.g. ls a.gz
store
All SDFS files will be stored in a directory called sdfsFile in each node.
(Note: Default portNumber is 6667 if not specified. Reminder: portNumber-1 & portNumber-2 are automatically ocuppied.)
(Attention! cannot implement more than one leaders in a group!)