Changes between Version 1 and Version 2 of III120825/Lab11
- Timestamp:
- Aug 26, 2012, 4:46:08 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
III120825/Lab11
v1 v2 18 18 19 19 {{{ 20 ~$ wget http://hadoop.nchc.org.tw/excite-small.log20 ~$ cp /opt/pig/tutorial/data/excite-small.log . 21 21 ~$ pig -x local 22 22 grunt> log = LOAD 'excite-small.log' AS (user, timestamp, query); … … 25 25 grunt> STORE cntd INTO 'lab8_out1'; 26 26 grunt> quit 27 ~$ head lab8_out127 ~$ cat lab8_out1/part-r-00000 28 28 }}} 29 29 … … 38 38 grunt> STORE fltrd INTO 'lab8_out2'; 39 39 grunt> quit 40 ~$ head lab8_out240 ~$ cat lab8_out2/part-r-00000 41 41 }}} 42 42 … … 52 52 grunt> STORE srtd INTO 'lab8_out3'; 53 53 grunt> quit 54 ~$ head lab8_out354 ~$ cat lab8_out3/part-r-00000 55 55 }}} 56 56