It's the place for all of the documents or assignmensts of the Cloud Computing
course in NCU
- Compile:
hadoop com.sun.tools.javac.Main ${fileName}.java && jar cf ${jarName}.jar ${fileName}*.class
- Copy local to hadoop:
hadoop fs -copyFromLocal ${localFiles} ${hadoopTargetFiles}
- Please refer to the lab2_practice1
- Please refer to the lab2_practice2
- Input: lab2_practice2/test_data/*
- Output: lab2_practice2/result.txt
- Commands
- Execution:
hadoop jar ${jarName}.jar ${fileName} /user/s107522115/lab1/practice2/input /user/s107522115/lab1/practice2/output
- Show result:
hadoop fs -cat /user/s107522115/lab1/practice2/output/part-r-00000
- Execution:
- ref: