我正尝试按照以下说明在windows 8.1 pc上安装hdinsight仿真器:https://azure.microsoft.com/en-us/documentation/articles/hdinsight-hadoop-emulator-get-started/
尝试运行mapreduce作业时,出现连接错误。
如何解决或进一步调查这个问题?
详情如下。
先决条件:
已为vs 2015安装azure powershell和azure sdk
已安装适用于azure的hdinsight emulator,包括hortonworks数据平台
已启动本地hdp服务(13个服务正在运行)
已将visual studio连接到emulator(必须遵循故障排除第2点:由于动态ip,将core-site.xml中的ip地址替换为“*”)
按建议创建目录并复制文本文件
问题:
尝试运行第一个示例时,出现以下错误:
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
1条答案
按热度按时间ifmq2ha21#
以下几点对我有用:
搜索包含
<your own host name>:8020
内部c:\hdp\hdp-<Version Number>\etc\hadoop\
文件夹(例如。EH3HOST:8020
)你至少应该找到
mapred-site.xml文件
core-site.xml文件
yarn-site.xml文件
将这些文件中的所有引用替换为
127.0.0.1:8020
.