Changes between Version 24 and Version 25 of LogParser
- Timestamp:
- Jul 8, 2008, 2:21:03 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LogParser
v24 v25 7 7 $ bin/hadoop dfs -put /var/log/apache2/ apache-log 8 8 }}} 9 2 Set the correct parameter "dir" in main contains the logs. 10 3 Filter or delete the exception contents as below manually, 9 2 Set the correct parameter "dir" in main contains the logs 10 3 Filter or delete the exception contents as below manually 11 11 12 {{{ 12 13 ::1 - - [29/Jun/2008:07:35:15 +0800] "GET / HTTP/1.0" 200 729 "... … … 51 52 !LogParserGo共宣告了以下幾個全域變數及方法: 52 53 53 1. HBaseConfiguration conf是Hbase中重要的設定參數 ,54 1. HBaseConfiguration conf是Hbase中重要的設定參數 54 55 2. 定義 TABLE 為 "table.name",table.name為 name property 55 56 3. String tableName 為資料表名稱