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

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

    [ https://issues.apache.org/jira/browse/SPARK-12963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112423#comment-15112423 ] 

Sean Owen commented on SPARK-12963:
-----------------------------------

Hm, how would the env setting from one machine affect another? I don't think spark-submit forwards them. Or -- have you set SPARK_LOCAL_IP appropriately on all machines? or do you need to set it at all? CC [~vanzin]

> 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