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

[jira] [Updated] (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 ]

Yin Huai updated SPARK-8306:
----------------------------
    Summary: AddJar command needs to set the new class loader to the HiveConf inside executionHive.state.  (was: executionHive does not need to use switch class loader)

> 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
>
> We do not need to call {{Thread.currentThread().setContextClassLoader(getClass.getClassLoader)}} to switch classloader for executionHive since we are using the built-in hive and the class loader returned by {{getClass.getClassLoader}} may not have user jars in some use 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