Changes between Version 5 and Version 6 of III110813/Lab6


Ignore:
Timestamp:
Dec 17, 2011, 5:12:03 PM (12 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • III110813/Lab6

    v5 v6  
    4444 * grep 這個命令是擷取文件裡面特定的字元,在Hadoop example中此指令可以擷取文件中有此指定文字的字串,並作計數統計[[BR]]grep is a command to extract specific characters in documents. In hadoop examples, you can use this command to extract strings match the regular expression and count for matched strings.
    4545{{{
    46 $ hadoop fs -put /etc/hadoop/conf lab5_input
    4746$ hadoop fs -ls lab5_input
    4847$ hadoop jar hadoop-examples.jar grep lab5_input lab5_out3 'dfs[a-z.]+'