export HADOOP_HOME=/root/hadoop/hadoop-3.0.0-alpha1
/opt/java/hadoop-3.0.0-alpha1/bin/hadoop jar \/opt/java/hadoop-3.0.0-alpha1/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.0.0-alpha1.jar \grep input output 'dfs[a-z.]+'
本文共 276 字,大约阅读时间需要 1 分钟。
export HADOOP_HOME=/root/hadoop/hadoop-3.0.0-alpha1
/opt/java/hadoop-3.0.0-alpha1/bin/hadoop jar \/opt/java/hadoop-3.0.0-alpha1/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.0.0-alpha1.jar \grep input output 'dfs[a-z.]+'
转载于:https://my.oschina.net/innovation/blog/808609