0

我已经获得了一个 Cloudera VM 用于学习 Hadoop。我在 java 中创建了一个基本的 wordcount 程序并将其导出到一个 jar 文件。我试图运行 jar 文件,但我得到了这个:

INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)

...

它一直持续到达到 10 次。我以前从未使用过 Hadoop,所以我很新,不知道我在用这个做什么。任何帮助表示赞赏。

其他一些信息:

whereis hadoop

hadoop: /usr/bin/hadoop /etc/hadoop /usr/lib/hadoop /usr/share/man/man1/hadoop.1.gz

核心站点.xml:

<property>
    <name>fs.defaultFS</name>
    <value>hdfs://quickstart.cloudera:8020</value>
</property>

hdfs-site.xml:

 <property>
    <name>dfs.replication</name>
    <value>1</value>
 </property>
4

0 回答 0