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文檔似乎已過時。