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

Can not get user config when calling SparkHadoopUtil.get.conf in other places, such as DataSourceStrategy

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 2.0.0
    • Component/s: YARN
    • Labels:
    • Target Version/s:

      Description

      Fix bugs for "Can not get user config when calling SparkHadoopUtil.get.conf in other places".

      The `SparkHadoopUtil` singleton was instantiated before `ApplicationMaster`, So the `sparkConf` and `conf` in the `SparkHadoopUtil` singleton didn't include user's configuration.

      see https://github.com/apache/spark/pull/14088

        Attachments

          Activity

            People

            • Assignee:
              sharkd sharkd tu
              Reporter:
              sharkd sharkd tu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: