配置好hadoop环境后的第一个demo
mkdir input
cp etc/hadoop/*.xml input
bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0-cdh5.14.2.jar grep /input /output ‘dfs[a-z.]+’
hdfs dfs -cat /output/part-r-00000

在网页中:


配置好hadoop环境后的第一个demo
mkdir input
cp etc/hadoop/*.xml input
bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0-cdh5.14.2.jar grep /input /output ‘dfs[a-z.]+’
hdfs dfs -cat /output/part-r-00000

在网页中:


1663
5311

被折叠的 条评论
为什么被折叠?