You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2017/03/15 02:02:41 UTC

[jira] [Resolved] (SPARK-17277) Set hive conf failed

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

Dongjoon Hyun resolved SPARK-17277.
-----------------------------------
    Resolution: Won't Fix

As mentioned in the related issue [comment|https://github.com/apache/spark/pull/17223#issuecomment-286608743], we will not set hive conf dynamically in order to keep session isolation.
{quote}
Since hive client is shared among all sessions, we can't set hive conf dynamically, to keep session isolation. I think we should treat hive conf as static sql conf, and throw exception when users try to change them.
{quote}

I'll close this issue as WON'T FIX, too.

> Set hive conf failed
> --------------------
>
>                 Key: SPARK-17277
>                 URL: https://issues.apache.org/jira/browse/SPARK-17277
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Weizhong
>            Priority: Minor
>
> Now we can't use "SET k=v" to set Hive conf, for example: run below SQL in spark-sql
> {noformat}
> set hive.exec.max.dynamic.partitions = 2000
> {noformat}
> but actually the value is 1000(default value), this is because after merge SPARK-15012, we don't call runSqlHive("SET k=v") when set Hive conf.
> Only those conf we will use directly on Spark is OK, like hive.exec.dynamic.partition.mode etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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