HDInsight 模拟器在 Windows 上未 运行/连接异常
HDInsight Emulator not running on Windows / connection exception
我正尝试按照以下说明在 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 模拟器,包括。 Hortonworks 数据平台
- 已启动本地 hdp 服务(13 个服务 运行ning)
- 已连接 Visual Studio 仿真器(必须遵循故障排除点 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
以下对我有用:
在 c:\hdp\hdp-<Version Number>\etc\hadoop\
文件夹中搜索包含 <your own host name>:8020
的 XML 文件。 (例如 EH3HOST:8020
)
你至少应该找到
- mapred-site.xml
- core-site.xml
- yarn-site.xml
将这些文件中出现的所有内容替换为 127.0.0.1:8020
。
我正尝试按照以下说明在 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 模拟器,包括。 Hortonworks 数据平台
- 已启动本地 hdp 服务(13 个服务 运行ning)
- 已连接 Visual Studio 仿真器(必须遵循故障排除点 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
以下对我有用:
在 c:\hdp\hdp-<Version Number>\etc\hadoop\
文件夹中搜索包含 <your own host name>:8020
的 XML 文件。 (例如 EH3HOST:8020
)
你至少应该找到
- mapred-site.xml
- core-site.xml
- yarn-site.xml
将这些文件中出现的所有内容替换为 127.0.0.1:8020
。