| 13 | | |
| 14 | | Excercise: |
| 15 | | (1) What is the result of Path.CUR_DIR ? |
| 16 | | (2) In local mode, which class is srcFs object ? |
| 17 | | (3) In full distributed mode, which class is srcFs object ? |
| 18 | | (4) Which classes are updated in hadoop-core-*.jar according to the difference between two jar files? |
| 19 | | (5) Please observe the source code architecture in ${HOME}/hadoop/src/core/org/apache/hadoop/fs. |
| 20 | | Which File Systems are supported by Hadoop 1.0.4? |
| 21 | | (A) HDFS (hdfs://namenode:port) |
| 22 | | (B) Amazon S3 (s3:// , s3n://) |
| 23 | | (C) KFS |
| 24 | | (D) Local File System (file:///) |
| 25 | | (F) FTP (ftp://user:passwd@ftp-server:port) |
| 26 | | (G) RAMFS (ramfs://) |
| 27 | | (H) HAR (Hadoop Archive Filesystem, har://underlyingfsscheme-host:port/archivepath or har:///archivepath ) |
| 52 | | <問題 1> 在全分散模式下, |
| | 37 | <問題 1> 試回答的 lab003 執行後,回傳的 Path.CUR_DIR 結果 |
| | 38 | <問題 2> 在單機模式,srcFs 物件是哪一個 Java 類別 |
| | 39 | <問題 3> 在全分散模式,srcFs 物件是哪一個 Java 類別 |
| | 40 | <問題 4> 根據 ${HOME}/hadoop/src/core/org/apache/hadoop/fs 目錄的內容,試猜測 Hadoop 1.0.4 支援哪幾種檔案系統: |
| | 41 | {{{ |
| | 42 | #!text |
| | 43 | (A) HDFS (hdfs://namenode:port) |
| | 44 | (B) Amazon S3 (s3:// , s3n://) |
| | 45 | (C) KFS |
| | 46 | (D) Local File System (file:///) |
| | 47 | (F) FTP (ftp://user:passwd@ftp-server:port) |
| | 48 | (G) RAMFS (ramfs://) |
| | 49 | (H) HAR (Hadoop Archive Filesystem, har://underlyingfsscheme-host:port/archivepath or har:///archivepath ) |
| | 50 | }}} |
| | 51 | |
| | 52 | 在全分散模式下, |