wiki:waue/2010/0205-00

Version 2 (modified by waue, 14 years ago) (diff)

--

案例

假設:目前有四間商店進駐TSMC餐廳,分別為位在 第1區的GunLong,品項4項單價為<20,40,30,50> 第2區的ESing,品項1項單價為<50> 第3區的SunDon,品項2項單價為<40,30> 第4區的StarBucks,品項3項單價為<50,50,20>

  • 請先準備以下檔案

  • /tmp/tsmc/store.txt
  • 請準備以下檔案,並將 income 資料夾上傳到hdfs
  • /tmp/tsmc/income/0203.txt
  • /tmp/tsmc/income/0202.txt

act1,

Detail Products
Name Locate P1 P2 P3
T01 Gun-Long 01 20 40 30
T02 ESing 02 50
T03 Sun-Don 03 40 30

act2 ,

act3,

act4