简体   繁体   English

bin/hadoop jar hadoop-0.20.0-examples.jar wordcount /tmp/gutenberg 古腾堡输出

[英]bin/hadoop jar hadoop-0.20.0-examples.jar wordcount /tmp/gutenberg gutenberg-output

I'm testing the Hadoop following this "Running Hadoop On Ubuntu Linux (Single-Node Cluster)" tutorial.我正在按照“在 Ubuntu Linux(单节点集群)上运行 Hadoop”教程来测试 Hadoop。

There is no output after running this command:运行此命令后没有输出:

bin/hadoop jar hadoop-0.20.0-examples.jar wordcount /tmp/gutenberg gutenberg-output

If there is an error I will see something, however I see nothing.如果有错误,我会看到一些东西,但是我什么也看不到。 So, what should I do?所以我该怎么做?

Is it an error, or something wrong with configuration?是错误还是配置有问题?

Please give me your suggestion.请给我你的建议。

From the Wiki it looks like the second parameter gutenberg-output is the output file.Wiki看来,第二个参数 Gutenberg-output 是输出文件。 Have you checked the contents of this file?你检查过这个文件的内容吗? The example is given in a file rather than output to the console.该示例在文件中给出,而不是输出到控制台。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM