What exactly does this Hadoop command performed in the shell? -


i absolutly new in apache hadoop , following video course.

so have correctly installed hadoop 1.2.1 on linux ubuntu virtual machine.

after installation instructor perform command in shell:

bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+' 

to see hadoop working , correctly installed.

but command?

this command runs grep job defined inside hadoop examples jar file (containing map, reduce , driver code) input folder search specified in input folder in hdfs while output folder output after searching patter in file while dfs[a-z.]+ regular expression saying grep in input.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -