Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-12963

In cluster mode,spark_local_ip will cause driver exception:Service 'Driver' failed after 16 retries!

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.6.0
    • Fix Version/s: None
    • Component/s: Deploy
    • Labels:
      None

      Description

      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!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              licl lichenglin
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: