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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.1, 1.5.0
    • SQL
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: