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:
-
Jun 29, 2013, 12:56:49 PM (11 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v4
|
v5
|
|
61 | 61 | (B) 工作目錄沒有任何改變 |
62 | 62 | }}} |
| 63 | |
| 64 | * 用 hadoop fs -put 指令上傳資料到 HDFS |
| 65 | {{{ |
| 66 | user@node2:~/hadoop_labs$ hadoop fs -put ${HOME}/hadoop/conf.local input |
| 67 | user@node2:~/hadoop_labs$ hadoop fs -ls |
| 68 | Found 2 items |
| 69 | drwxr-xr-x - user supergroup 0 2013-06-29 12:51 /user/user/input |
| 70 | drwxr-xr-x - user supergroup 0 2013-06-29 12:44 /user/user/tmp |
| 71 | }}} |
| 72 | |
| 73 | < 問題 3 > 執行 hadoop fs -put 指令,對本機工作目錄有何影響? |
| 74 | {{{ |
| 75 | #!text |
| 76 | (A) 在工作目錄底下多了一個 input 目錄 |
| 77 | (B) 工作目錄沒有任何改變 |
| 78 | }}} |
| 79 | |
| 80 | < 問題 4 > Local Mode 與 Pseudo-Distributed Mode 對"相對路徑"的認定差異,以下哪些陳述是正確的? (複選) |
| 81 | {{{ |
| 82 | #!text |
| 83 | (A) Local Mode 以目前工作目錄(pwd), 為相對路徑參考 |
| 84 | (B) Local Mode 以根目錄(/), 為相對路徑參考 |
| 85 | (C) Local Mode 以使用者家目錄(/home/$USER), 為相對路徑參考 |
| 86 | (D) Pseudo-Distributed Mode 以目前工作目錄(pwd), 為相對路徑參考 |
| 87 | (E) Pseudo-Distributed Mode 以根目錄(/), 為相對路徑參考 |
| 88 | (F) Pseudo-Distributed Mode 以使用者家目錄(/user/$USER), 為相對路徑參考 |
| 89 | }}} |