14/11/04 15:02:53 WARN cluster.YarnClientClusterScheduler: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory
昨天剛裝完vmware後,出現了vmnet8地址,然後跑spark就連到了vmnet8地址上了,需要重設如下:
需要在.bashrc中設置環境變量: 將其設爲本機的外網ip.
export SPARK_LOCAL_IP='10.223.1.1'