win7下運行的scala程式無法連接到Linux中的spark集群,老是報這樣的錯誤:
16/01/06 10:59:32 INFO AbstractConnector: Started [email protected]:4040
16/01/06 10:59:32 INFO Utils: Successfully started service 'SparkUI' on port 4040.
16/01/06 10:59:32 INFO SparkUI: Started SparkUI at http://Silence-PC:4040
16/01/06 10:59:32 INFO AppClient$ClientActor: Connecting to master akka.tcp://[email protected]:7077/user/Master...
16/01/06 10:59:33 WARN ReliableDeliverySupervisor: Association with remote system [akka.tcp://[email protected]:7077] has failed, address is now gated for [5000] ms. Reason is: [Disassociated].
16/01/06 10:59:52 INFO AppClient$ClientActor: Connecting to master akka.tcp://[email protected]:7077/user/Master...
16/01/06 10:59:52 WARN ReliableDeliverySupervisor: Association with remote system [akka.tcp://[email protected]:7077] has failed, address is now gated for [5000] ms. Reason is: [Disassociated].
16/01/06 11:00:12 INFO AppClient$ClientActor: Connecting to master akka.tcp://[email protected]:7077/user/Master...
16/01/06 11:00:12 WARN ReliableDeliverySupervisor: Association with remote system [akka.tcp://[email protected]:7077] has failed, address is now gated for [5000] ms. Reason is: [Disassociated].
16/01/06 11:00:32 ERROR SparkDeploySchedulerBackend: Application has been killed. Reason: All masters are unresponsive! Giving up.
16/01/06 11:00:32 WARN SparkDeploySchedulerBackend: Application ID is not initialized yet.
16/01/06 11:00:32 ERROR TaskSchedulerImpl: Exiting due to error from cluster scheduler: All masters are unresponsive! Giving up.
uj5u.com熱心網友回復:
我也遇到了這個問題,怎么解決呀?我的IDEA連接集群就報這個錯誤,uj5u.com熱心網友回復:
試試把$SPARK_HOME/conf/下,自己配置好的xml復制到專案的src/main/resources目錄下(如果你的專案是基于mave構建的)。轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/80074.html
標籤:Spark
