Changes between Version 1 and Version 2 of NCHCCloudCourse100928/Lab2
- Timestamp:
- Sep 28, 2010, 1:53:57 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NCHCCloudCourse100928/Lab2
v1 v2 4 4 hadoop@lucid:~$ cd /opt/hadoop 5 5 hadoop@lucid:/opt/hadoop$ mkdir -p input_local 6 hadoop@lucid:/opt/hadoop$ bin/hadoop fs -mkdir input 6 hadoop@lucid:/opt/hadoop$ bin/hadoop fs -mkdir input_hdfs 7 7 hadoop@lucid:/opt/hadoop$ echo "I like NCHC Cloud Course." > input_local/input1 8 8 hadoop@lucid:/opt/hadoop$ echo "I like nchc Cloud Course, and we enjoy this course." > input_local/input2 9 hadoop@lucid:/opt/hadoop$ bin/hadoop fs -put input_local/* input 10 hadoop@lucid:/opt/hadoop$ bin/hadoop fs -ls 9 hadoop@lucid:/opt/hadoop$ bin/hadoop fs -put input_local/* input_hdfs 10 hadoop@lucid:/opt/hadoop$ bin/hadoop fs -ls input_hdfs 11 11 }}}