52 | | |
53 | | 1 HBaseConfiguration conf為重要的控制設定參數,其定義了很多方法可以設定或取得map reduce程式運作所需要的值 |
54 | | 2 定義 TABLE 為 "table.name",table.name為 name property |
55 | | 3 string !tableName 為資料表名稱 |
56 | | 4 Htable table 在定義一個HBase的操作變數 |
57 | | 5 class !MapClass 為實做map的一個內部類別 |
58 | | 6 Path[] !listPaths 是個可以列出指定路徑下的檔案和目錄,原本0.16 API即宣告 Deprecated,因此為了解決warning在此實做 |
59 | | 7 void !runMapReduce(String table, String dir) 跑MapReduce的程序 |
60 | | 8 void !creatTable(String table) 建立hbase的資料表 |
61 | | 9 void main(String[] args) main 函數 |
| 52 | 1. Item 1 |
| 53 | a. Item 1.a |
| 54 | a. Item 1.b |
| 55 | i. Item 1.b.i |
| 56 | i. Item 1.b.ii |
| 57 | 1. Item 2 |
| 58 | And numbered lists can also be given an explicit number: |
| 59 | 3. Item 3 |
| 60 | 1. HBaseConfiguration conf為重要的控制設定參數,其定義了很多方法可以設定或取得map reduce程式運作所需要的值 |
| 61 | 2. 定義 TABLE 為 "table.name",table.name為 name property |
| 62 | 3. String !tableName 為資料表名稱 |
| 63 | 4. Htable table 在定義一個HBase的操作變數 |
| 64 | 5. class !MapClass 為實做map的一個內部類別 |
| 65 | 6. Path[] !listPaths 是個可以列出指定路徑下的檔案和目錄,原本0.16 API即宣告 Deprecated,因此為了解決warning在此實做 |
| 66 | 7. void !runMapReduce(String table, String dir) 跑MapReduce的程序 |
| 67 | 8. void !creatTable(String table) 建立hbase的資料表 |
| 68 | 9. void main(String[] args) main 函數 |