GitHub user wangyum opened a pull request:

    https://github.com/apache/spark/pull/20898

    [SPARK-23789][SQL] Shouldn't set hive.metastore.uris before invoking 
HiveDelegationTokenProvider

    ## What changes were proposed in this pull request?
    
    `spark-sql` can't connect to metastore with a security Hadoop cluster after 
[SPARK-21428](https://issues.apache.org/jira/browse/SPARK-21428).
    
    `hive.metastore.uris` was `HiveConf.ConfVars.METASTOREURIS.defaultStrVal` 
here before SPARK-21428. 
    
    This pr revert `hive.metastore.uris` to 
`HiveConf.ConfVars.METASTOREURIS.defaultStrVal`.
    
    
    ## How was this patch tested?
    
    manual tests with a security Hadoop cluster


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wangyum/spark SPARK-23789

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/20898.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20898
    
----
commit a382aab4f3a9cabda10ab2aedbbb8d663737348f
Author: Yuming Wang <yumwang@...>
Date:   2018-03-24T07:19:25Z

    Shouldn't set hive.metastore.uris before invoking 
HiveDelegationTokenProvider

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to