You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "lichenglin (JIRA)" <ji...@apache.org> on 2016/01/22 08:27:39 UTC

[jira] [Created] (SPARK-12963) In cluster mode,spark_local_ip will cause driver exception:Service 'Driver' failed after 16 retries!

lichenglin created SPARK-12963:
----------------------------------

             Summary: In cluster mode,spark_local_ip will cause driver exception:Service 'Driver' failed  after 16 retries!
                 Key: SPARK-12963
                 URL: https://issues.apache.org/jira/browse/SPARK-12963
             Project: Spark
          Issue Type: Bug
          Components: Deploy
    Affects Versions: 1.6.0
            Reporter: lichenglin
            Priority: Critical


I have 3 node cluster:namenode second and data1;
I use this shell to submit job on namenode:
bin/spark-submit   --deploy-mode cluster --class com.bjdv.spark.job.Abc  --total-executor-cores 5  --master spark://namenode:6066    hdfs://namenode:9000/sparkjars/spark.jar

The Driver may be started on the other node such as data1.
The problem is :
when I set SPARK_LOCAL_IP in conf/spark-env.sh on namenode
the driver will be started with this param such as 
SPARK_LOCAL_IP=namenode
but the driver will start at data1,
the dirver will try to binding the ip 'namenode' on data1.
so driver will throw exception like this:
 Service 'Driver' failed  after 16 retries!






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org