Hadoop预装示例Jars [英] Hadoop preinstalled example Jars
本文介绍了Hadoop预装示例Jars的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
bin / hadoop jar hadoop - * - examples.jar
一旦我输入这个,我应该得到一个Hadoop示例的列表?但是我看到的只是这个错误信息:
不是有效的JAR:/ home / user / hadoop / hadoop - * - .jar
如何解决这个问题?这是一个简单的权限问题?
解决方案
你会发现在$ $ $ $ $ $ $ $ $ $ $ $ $ $ hadoop / mapreduce / hadoop - * - examples * .jar
I just successfully set up Hadoop on my local machines. I am following one of the examples in a popular book I just bought. I am trying to get a list of all hadoop examples that comes with installation. I type the following command to do so:
bin/hadoop jar hadoop-*-examples.jar
Once I enter this I am supposed to get a list of Hadoop examples right? However all I see is this error message:
Not a valid JAR: /home/user/hadoop/hadoop-*-examples.jar
How do I solve this problem? Is it just a simple permission issue?
解决方案
you will find the jar in $HADOOP_HOME/share/hadoop/mapreduce/hadoop-*-examples*.jar
这篇关于Hadoop预装示例Jars的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文