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

spark-shell automatically set MASTER fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0, 0.8.1
    • 0.9.1, 1.0.0
    • Spark Core

    Description

      spark-shell intends to set MASTER automatically if we do not provide the option when we start the shell , but there's a problem.
      The condition is "if [[ "x" != "x$SPARK_MASTER_IP" && "y" != "y$SPARK_MASTER_PORT" ]];" we sure will set SPARK_MASTER_IP explicitly, the SPARK_MASTER_PORT option, however, we probably do not set just using spark default port 7077. So if we do not set SPARK_MASTER_PORT, the condition will never be true. We should just use default port if users do not set port explicitly I think.

      Attachments

        Activity

          People

            Unassigned Unassigned
            crazyjvm Chen Chao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: