Changes between Version 8 and Version 9 of waue/2010/0205-00
- Timestamp:
- Feb 5, 2010, 12:08:48 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2010/0205-00
v8 v9 8 8 }}} 9 9 [[PageOutline]] 10 11 = 事先準備 = 10 12 11 13 * 請先準備以下檔案 … … 42 44 }}} 43 45 46 [raw-attachment:wiki:NCHCCloudCourse100204:tsmcHBase_100204.jar 可用 tsmcHBase_100204.jar 作此範例測試] 44 47 45 48 == 假設: == … … 72 75 || T03 || Sun-Don || 03 || 40 || 30 || || || || 73 76 || T04 || Star Bucks || 04 || 50 || 50 || || || || 77 78 {{{ 79 $ /opt/hadoop/bin/hadoop jar tsmcHBase_100204.jar TSMC1LoadFile 80 }}} 74 81 75 82 {{{ … … 103 110 [wiki:waue/2010/0205-02 TSMC2Count.java] , 104 111 112 {{{ 113 $ /opt/hadoop/bin/hadoop jar tsmcHBase_100204.jar TSMC2Count 114 }}} 105 115 106 116 || || Detail ||Detail || Products || Products||Products || Products|| Turnover || Turnover || Turnover || Turnover || || … … 151 161 152 162 [wiki:waue/2010/0205-03 TSMC3CalculateMR.java], 163 164 {{{ 165 $ /opt/hadoop/bin/hadoop jar tsmcHBase_100204.jar TSMC3CalculateMR 166 }}} 153 167 154 168 || || Detail || Detail || Products || Products|| Products || Products || Turnover || Turnover || Turnover || Turnover || Turnover || … … 198 212 }}} 199 213 200 == 4. 產生最終報表 ==214 == 4. 建立索引資料表 == 201 215 [wiki:waue/2010/0205-04 TSMC4SortTurnover.java] 216 217 {{{ 218 $ /opt/hadoop/bin/hadoop jar tsmcHBase_100204.jar TSMC4SortTurnover 219 }}} 202 220 203 221 {{{ … … 216 234 }}} 217 235 236 == 4.b 產生最終報表 == 237 238 {{{ 239 $ /opt/hadoop/bin/hadoop jar tsmcHBase_100204.jar TSMC5ShowReport 130 240 }}} 241 242 {{{ 243 #!text 244 SunDon 's turnover is 120 $. 245 GunLong 's turnover is 140 $. 246 StarBucks 's turnover is 170 $. 247 }}}