close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Sep 28, 2010, 1:53:57 PM (15 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
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 | }}} |