我正在尝试按照以下说明在Windows 8.1 PC上设置HDInsight模拟器:https://azure.microsoft.com/en-us/documentation/articles/hdinsight-hadoop-emulator-get-started/
尝试运行MapReduce作业时,出现连接错误。
如何解决或进一步调查此问题?
详情如下。
先决条件:
问题:
尝试运行第一个示例时,出现以下错误:
16/01/11 10:36:39 INFO mapreduce.Job: Job job_1452503376359_0003 failed with state FAILED due to: Application application_1452503376359_0003 failed 2 times due to AM Container for appattempt_1452503376359_0003_000002 exited with exitCode: -1000 due to: Call From EH3HOST/192.168.56.1 to EH3HOST:8020 failed on connection exception: java.net.ConnectException: Connection refused: no further information; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
.Failing this attempt.. Failing the application.
16/01/11 10:36:39 INFO mapreduce.Job: Counters: 0
答案 0 :(得分:1)
以下对我有用:
在<your own host name>:8020
文件夹中搜索包含c:\hdp\hdp-<Version Number>\etc\hadoop\
的XML文件。 (例如EH3HOST:8020
)
你应该至少找到
使用127.0.0.1:8020
替换这些文件中的所有匹配项。