[英]running a jar example file with hadoop
Please go easy on me. 请对我好一点。 I just started linux and hadoop at the same time.
我刚刚同时启动linux和hadoop。 I have almost zero experience with linux and a complete beginner with hadoop.
我对Linux几乎没有零经验,而对于hadoop则是一个完整的初学者。
I downloaded the file hadoop-1.1.1-bin.tar.gz
from here: 我从这里下载文件
hadoop-1.1.1-bin.tar.gz
:
http://www.motorlogy.com/apache/hadoop/common/hadoop-1.1.1/ http://www.motorlogy.com/apache/hadoop/common/hadoop-1.1.1/
I was able to unpack it. 我能够打开它的包装。
I am following a tutorial that tells me to run: 我正在遵循一个告诉我运行的教程:
bin/hadoop jar hadoop-*-examples.jar
I am getting this error: 我收到此错误:
agordon@Ubuntu32:/hadoop/hadoop-1.1.1$ bin/hadoop jar hadoop-*-examples-1.0.3.jar
Exception in thread "main" java.io.IOException: Error opening job jar: hadoop-*-examples-1.0.3.jar
at org.apache.hadoop.util.RunJar.main(RunJar.java:90)
Caused by: java.io.FileNotFoundException: hadoop-*-examples-1.0.3.jar (No such file or directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:214)
at java.util.zip.ZipFile.<init>(ZipFile.java:144)
at java.util.jar.JarFile.<init>(JarFile.java:152)
at java.util.jar.JarFile.<init>(JarFile.java:89)
at org.apache.hadoop.util.RunJar.main(RunJar.java:88)
What am i doing wrong? 我究竟做错了什么? thank you for your guidance.
感谢您的指导。
代替hadoop-*-examples.jar使用jar文件的全名。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.