You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/06/18 00:18:00 UTC

[jira] [Resolved] (SPARK-8306) AddJar command needs to set the new class loader to the HiveConf inside executionHive.state.

     [ https://issues.apache.org/jira/browse/SPARK-8306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Armbrust resolved SPARK-8306.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0
                   1.4.1

> AddJar command needs to set the new class loader to the HiveConf inside executionHive.state.
> --------------------------------------------------------------------------------------------
>
>                 Key: SPARK-8306
>                 URL: https://issues.apache.org/jira/browse/SPARK-8306
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.4.0
>            Reporter: Yin Huai
>            Assignee: Yin Huai
>             Fix For: 1.4.1, 1.5.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org