我得到了一个cloudera虚拟机来学习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
core-site.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>
暂无答案!
目前还没有任何答案,快来回答吧!