2016-07-22 59 views
0

我正在使用通过Azure ACS安装的dcos,并通过dcos工具使用默认选项安装hdfs和spark。新的Spark StreamingContext与hdfs错误失败

创建SparkStreamingContext给出:

16/07/22 01:51:04 WARN DFSUtil: Namenode for hdfs remains unresolved for ID nn1. Check your hdfs-site.xml file to ensure namenodes are configured properly. 
16/07/22 01:51:04 WARN DFSUtil: Namenode for hdfs remains unresolved for ID nn2. Check your hdfs-site.xml file to ensure namenodes are configured properly. 
Exception in thread "main" java.lang.IllegalArgumentException: 
java.net.UnknownHostException: namenode1.hdfs.mesos 

我希望我重新部署火花包dcos package install与-options =,但不能找出hdfs.config-url应该是什么。 https://docs.mesosphere.com/1.7/usage/service-guides/spark/install/#hdfs文档似乎已过时。

回答