Changes between Version 1 and Version 2 of Hinet130923/Lab4
- Timestamp:
- Sep 23, 2013, 12:32:08 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Hinet130923/Lab4
v1 v2 26 26 27 27 {{{ 28 ~$ hadoop fs -put /opt/hadoop/conf input28 ~$ hadoop fs -put ${HOME}/hadoop/conf toHDFS 29 29 }}} 30 30 … … 41 41 42 42 {{{ 43 ~$ hadoop fs -get inputfromHDFS43 ~$ hadoop fs -get toHDFS fromHDFS 44 44 }}} 45 45 … … 47 47 {{{ 48 48 ~$ ls -al | grep fromHDFS 49 ~$ diff /opt/hadoop/conf fromHDFS/49 ~$ diff ${HOME}/hadoop/conf fromHDFS/ 50 50 }}} 51 51 … … 54 54 55 55 {{{ 56 ~$ hadoop fs -ls input/masters57 ~$ hadoop fs -rm input/masters56 ~$ hadoop fs -ls toHDFS/masters 57 ~$ hadoop fs -rm toHDFS/masters 58 58 }}} 59 59 … … 62 62 63 63 {{{ 64 ~$ hadoop fs -ls input/slaves65 ~$ hadoop fs -cat input/slaves64 ~$ hadoop fs -ls toHDFS/slaves 65 ~$ hadoop fs -cat toHDFS/slaves 66 66 }}} 67 67