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

AddJar command needs to set the new class loader to the HiveConf inside executionHive.state.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.1, 1.5.0
    • Component/s: SQL
    • Labels:
      None

      Description

      In AddJar command, we are using org.apache.hadoop.hive.ql.metadata.Hive.get().getConf().setClassLoader(newClassLoader). However, the conf returned by Hive.get().getConf() is not necessary the one set in executionHive.state. Thus, we may fail to set the correct class loader to executionHive in some cases.

        Attachments

          Activity

            People

            • Assignee:
              yhuai Yin Huai
              Reporter:
              yhuai Yin Huai
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: