Changes between Initial Version and Version 1 of waue/2011/0426_5


Ignore:
Timestamp:
Apr 25, 2011, 3:12:30 PM (13 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2011/0426_5

    v1 v1  
     1cp -rf Example/itri/ /tmp
     2bin/hadoop dfs -put /tmp/itri/income/ income
     3bin/hadoop jar ItriMenu.jar Itri1LoadFile
     4
     5{{{
     6#text
     7create new table: itri
     8Put data :"GunLong" to Table: itri's Detail:Name
     9Put data :"01" to Table: itri's Detail:Locate
     10Put data :"20" to Table: itri's Products:P1
     11Put data :"40" to Table: itri's Products:P2
     12Put data :"30" to Table: itri's Products:P3
     13Put data :"50" to Table: itri's Products:P4
     14
     15Put data :"Esing" to Table: itri's Detail:Name
     16Put data :"02" to Table: itri's Detail:Locate
     17Put data :"50" to Table: itri's Products:P1
     18
     19Put data :"SunDon" to Table: itri's Detail:Name
     20Put data :"03" to Table: itri's Detail:Locate
     21Put data :"40" to Table: itri's Products:P1
     22Put data :"30" to Table: itri's Products:P2
     23
     24Put data :"StarBucks" to Table: itri's Detail:Name
     25Put data :"04" to Table: itri's Detail:Locate
     26Put data :"50" to Table: itri's Products:P1
     27Put data :"50" to Table: itri's Products:P2
     28Put data :"20" to Table: itri's Products:P3
     29}}}
     30
     31bin/hadoop jar ItriMenu.jar Itri2Count
     32{{{
     33#!text
     3411/04/25 12:15:04 INFO input.FileInputFormat: Total input paths to process : 2
     3511/04/25 12:15:04 INFO mapred.JobClient: Running job: job_201104250959_0004
     3611/04/25 12:15:05 INFO mapred.JobClient:  map 0% reduce 0%
     3711/04/25 12:15:12 INFO mapred.JobClient:  map 100% reduce 0%
     3811/04/25 12:15:21 INFO mapred.JobClient:  map 100% reduce 100%
     39}}}
     40
     41bin/hadoop jar ItriMenu.jar Itri3CalculateM
     42{{{
     43#!text
     4411/04/25 12:16:18 INFO mapred.JobClient:  map 0% reduce 0%
     4511/04/25 12:16:27 INFO mapred.JobClient:  map 100% reduce 0%
     4611/04/25 12:16:36 INFO mapred.JobClient:  map 100% reduce 100%
     47}}}
     48
     49bin/hadoop jar ItriMenu.jar Itri4SortTurnover
     50
     51bin/hadoop jar ItriMenu.jar Itri5ShowReport 120
     52{{{
     53#!text
     54SunDon 's turnover is 120 $.
     55GunLong 's turnover is 140 $.
     56StarBucks 's turnover is 170 $.
     57}}}