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

Add conf dir to CLASSPATH in compute-classpath.sh dependent on whether SPARK_CONF_DIR is set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: Deploy
    • Labels:
      None

      Description

      bin/load-spark-env.sh loads spark-env.sh from SPARK_CONF_DIR if it is set, or from "$parent_dir/conf" if it is not set.

      However, in compute-classpath.sh, the CLASSPATH adds "$FWDIR/conf" to the CLASSPATH regardless if SPARK_CONF_DIR is set.

      Attached patch fixes this. Pull request on github will also be sent.

        Attachments

        1. SPARK-1559.patch
          0.9 kB
          Albert Chu

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chu11 Albert Chu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: