Changes between Version 24 and Version 25 of jazz/Hadoop_Lab2
- Timestamp:
- Mar 24, 2009, 2:25:11 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/Hadoop_Lab2
v24 v25 9 9 == Content 1. 基本操作 == 10 10 === 1.1 瀏覽你HDFS目錄 === 11 11 12 {{{ 12 13 /opt/hadoop$ bin/hadoop fs -ls 13 14 }}} 15 14 16 === 1.2 上傳資料到HDFS目錄 === 15 17 * 上傳 18 16 19 {{{ 17 20 /opt/hadoop$ bin/hadoop fs -put conf input 18 21 }}} 22 19 23 * 檢查 24 20 25 {{{ 21 26 /opt/hadoop$ bin/hadoop fs -ls … … 26 31 27 32 * 下載 33 28 34 {{{ 29 35 /opt/hadoop$ bin/hadoop fs -get input fromHDFS 30 36 }}} 37 31 38 * 檢查 39 32 40 {{{ 33 41 /opt/hadoop$ ls -al | grep fromHDFS … … 41 49 /opt/hadoop$ bin/hadoop fs -rm input/masters 42 50 }}} 51 43 52 === 1.5 直接看檔案 === 44 53