查看hadoop自带examples下所含有的程序

本文介绍如何进入/hadoop/share/hadoop/mapreduce目录,查看Hadoop自带的hadoop-mapreduce-examples-2.8.5.jar,该jar包包含多个MapReduce示例程序,供学习和参考。
摘要由CSDN通过智能技术生成

进入/hadoop/share/hadoop/mapreduce
根据你的路径来进入

root@kali:/usr/local/hadoop/share/hadoop/mapreduce# ls
hadoop-mapreduce-client-app-2.8.5.jar
hadoop-mapreduce-client-common-2.8.5.jar
hadoop-mapreduce-client-core-2.8.5.jar
hadoop-mapreduce-client-hs-2.8.5.jar
hadoop-mapreduce-client-hs-plugins-2.8.5.jar
hadoop-mapreduce-client-jobclient-2.8.5.jar
hadoop-mapreduce-client-jobclient-2.8.5-tests.jar
hadoop-mapreduce-client-shuffle-2.8.5.jar
hadoop-mapreduce-examples-2.8.5.jar
jdiff
lib
lib-examples
sources

自带的examples就在hadoop-mapreduce-examples-2.8.5.jar
然后输入hadoop jar hadoop-mapreduce-examples-2.8.5.jar

root@kali:/usr/local/hadoop/share/hadoop/mapreduce# hadoop jar hadoop-mapreduce-examples-2.8.5.jar
An example program must be given as the first argument.
Valid program names are:
  aggregatewordcount: An Aggregate based map/reduce program that counts the words in the input files.
  aggregatewordh
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值