Azure HDInsight Emulator未在Windows上运行/连接异常

Azure HDInsight Emulator未在Windows上运行/连接异常,azure,hadoop,azure-hdinsight,Azure,Hadoop,Azure Hdinsight,我正在尝试按照以下说明在Windows 8.1 PC上设置HDInsight emulator: 尝试运行MapReduce作业时,出现连接错误 如何解决或进一步调查此问题 详情如下 先决条件: 已为VS 2015安装Azure Powershell和Azure SDK 已安装适用于Azure(包括Hortonworks数据平台)的HDInsight Emulator 已启动本地hdp服务(13个服务正在运行) 已将Visual Studio连接到Emulator(必须遵循疑难解答第2点:由于

我正在尝试按照以下说明在Windows 8.1 PC上设置HDInsight emulator:

尝试运行MapReduce作业时,出现连接错误

如何解决或进一步调查此问题

详情如下

先决条件:

  • 已为VS 2015安装Azure Powershell和Azure SDK
  • 已安装适用于Azure(包括Hortonworks数据平台)的HDInsight Emulator
  • 已启动本地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

以下几点对我很有用:

c:\hdp\hdp-\etc\hadoop\
文件夹中搜索包含
:8020
的XML文件。(例如,
EH3HOST:8020

你至少应该找到

  • mapred-site.xml
  • core-site.xml
  • web-site.xml
将这些文件中的所有引用替换为
127.0.0.1:8020