Changes between Version 8 and Version 9 of waue/2010/0205-00


Ignore:
Timestamp:
Feb 5, 2010, 12:08:48 AM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2010/0205-00

    v8 v9  
    88}}}
    99[[PageOutline]]
     10
     11 = 事先準備 =
    1012
    1113 * 請先準備以下檔案
     
    4244}}}
    4345
     46[raw-attachment:wiki:NCHCCloudCourse100204:tsmcHBase_100204.jar 可用 tsmcHBase_100204.jar 作此範例測試]
    4447
    4548 ==  假設: ==
     
    7275 || T03  || Sun-Don  || 03  || 40 || 30 || || ||  ||
    7376 || T04  || Star Bucks  || 04 || 50 || 50 || || ||  ||
     77
     78{{{
     79$ /opt/hadoop/bin/hadoop jar tsmcHBase_100204.jar TSMC1LoadFile
     80}}}
    7481
    7582{{{
     
    103110 [wiki:waue/2010/0205-02 TSMC2Count.java] ,
    104111
     112{{{
     113$ /opt/hadoop/bin/hadoop jar tsmcHBase_100204.jar TSMC2Count
     114}}}
    105115
    106116 ||   || Detail  ||Detail  ||  Products || Products||Products || Products||  Turnover   ||  Turnover    ||  Turnover     ||  Turnover   ||   ||
     
    151161
    152162 [wiki:waue/2010/0205-03 TSMC3CalculateMR.java],
     163
     164{{{
     165$ /opt/hadoop/bin/hadoop jar tsmcHBase_100204.jar TSMC3CalculateMR
     166}}}
    153167
    154168 ||   || Detail  || Detail ||  Products ||  Products|| Products || Products ||  Turnover   ||   Turnover   ||   Turnover    ||  Turnover   ||  Turnover   ||
     
    198212}}}
    199213
    200  == 4. 產生最終報表 ==
     214 == 4. 建立索引資料表 ==
    201215 [wiki:waue/2010/0205-04 TSMC4SortTurnover.java]
     216
     217{{{
     218$ /opt/hadoop/bin/hadoop jar tsmcHBase_100204.jar TSMC4SortTurnover
     219}}}
    202220
    203221{{{
     
    216234}}}
    217235
     236 == 4.b 產生最終報表 ==
     237
     238{{{
     239$ /opt/hadoop/bin/hadoop jar tsmcHBase_100204.jar TSMC5ShowReport 130
     240}}}
     241
     242{{{
     243#!text
     244SunDon 's turnover is 120 $.
     245GunLong 's turnover is 140 $.
     246StarBucks 's turnover is 170 $.
     247}}}