You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "wangtao93 (JIRA)" <ji...@apache.org> on 2019/01/11 03:32:00 UTC

[jira] [Created] (SPARK-26598) Fix HiveThriftServer2 set hiveconf and hivevar in every sql

wangtao93 created SPARK-26598:
---------------------------------

             Summary: Fix HiveThriftServer2 set hiveconf and hivevar in every sql
                 Key: SPARK-26598
                 URL: https://issues.apache.org/jira/browse/SPARK-26598
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0, 2.3.0
            Reporter: wangtao93


[https://github.com/apache/spark/pull/17886,] this pr provide that hiveserver2 support --haveconf  and --hivevar。But it set hiveconf and hivevar in every sql in class SparkSQLOperationManager,i think this is not suitable。So i make a little modify to set --hiveconf and --hivevar in class SparkSQLSessionManager, it will only run once in open 

HiveServer2 session, instead of ervery sql to init --hiveconf and --hivevar



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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