Changes between Version 12 and Version 13 of waue/2009/1005
- Timestamp:
- Oct 6, 2009, 7:31:11 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2009/1005
v12 v13 89 89 }}} 90 90 91 {{{92 $ mkdir /tmp/fusehdfs93 $ ln -sf /opt/hadoop/build/contrib/fuse-dfs/fuse-dfs* /usr/local/bin/94 }}}95 96 91 之後執行 fuse_dfs_wrapper.sh 則出現以下訊息 97 92 … … 107 102 = 二、執行 = 108 103 109 * 掛載hdfs-fuse 104 之後的範例會將hdfs掛載於 /tmp/fusehdfs 下,掛載成功後,可直接到 /tmp/fusehdfs 內進行ls, rm , cp 等指令 110 105 111 法1. 106 {{{ 107 $ mkdir /tmp/fusehdfs 108 $ cd /opt/hadoop/contrib/fuse-dfs 109 }}} 110 111 == 1. 掛載hdfs-fuse 112 113 * 法1. 用以下方法可以讓hdfs 掛載於 /tmp/fusehdfs 114 112 115 {{{ 113 116 $ fuse_dfs_wrapper.sh dfs://secuse.nchc.org.tw:9000 /tmp/fusehdfs 114 117 }}} 115 法2. 118 119 * 法2. 的效果與法一相同,但可以透過-o 來加入參數 120 116 121 {{{ 117 122 $ fuse_dfs_wrapper.sh rw -oserver=secuse.nchc.org.tw -oport=9000 /tmp/fusehdfs 118 123 }}} 119 法3. 124 125 * 法3. 開啟 debug模式,於另外一個視窗可以自由下達 讀、寫、新增、刪除檔案 等指令 120 126 {{{ 121 127 $ fuse_dfs_wrapper.sh rw -oserver=secuse.nchc.org.tw -oport=9000 /tmp/fusehdfs -odebug 122 128 }}} 123 129 124 於另外一個視窗125 130 126 {{{ 127 $ cd /tmp/fusehdfs 128 #// 可以自由下達 讀、寫、新增、刪除檔案 等指令 129 }}} 131 == 卸載hdfs-fuse == 130 132 131 * 卸載hdfs-fuse132 133 {{{ 133 134 $ fuseumount -u /tmp/fusehdfs