GitHub user yhuai opened a pull request:

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

    [SPARK-15959] [SQL] Add the support of hive.metastore.warehouse.dir back

    ## What changes were proposed in this pull request?
    This PR adds the support of conf `hive.metastore.warehouse.dir` back. With 
this patch, the way of setting the warehouse dir is described as follows:
    * If `spark.sql.warehouse.dir` is set, `hive.metastore.warehouse.dir` will 
be automatically set to the value of `spark.sql.warehouse.dir`. The warehouse 
dir is effectively set to the value of `spark.sql.warehouse.dir`. 
    * If `spark.sql.warehouse.dir` is not set but 
`hive.metastore.warehouse.dir` is set, `spark.sql.warehouse.dir` will be 
automatically set to the value of `hive.metastore.warehouse.dir`. The warehouse 
dir is effectively set to the value of `hive.metastore.warehouse.dir`.
    * If neither `spark.sql.warehouse.dir` nor `hive.metastore.warehouse.dir` 
is set, `hive.metastore.warehouse.dir` will be automatically set to the default 
value of `spark.sql.warehouse.dir`. The warehouse dir is effectively set to the 
default value of `spark.sql.warehouse.dir`. 
    
    
    ## How was this patch tested?
    `set hive.metastore.warehouse.dir` in `HiveSparkSubmitSuite`.
    
    JIRA: https://issues.apache.org/jira/browse/SPARK-15959

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

    $ git pull https://github.com/yhuai/spark hiveWarehouseDir

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

    https://github.com/apache/spark/pull/13679.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 #13679
    
----
commit f3528014fb589cbad0c14f69e299e77b3929ea7c
Author: Yin Huai <[email protected]>
Date:   2016-06-15T05:53:07Z

    test

commit 751ecccacd4fadf1a029326d6089acde07a7adfc
Author: Yin Huai <[email protected]>
Date:   2016-06-15T05:53:11Z

    [SPARK-15959] [SQL] Add the support of hive.metastore.warehouse.dir back
    
    jira: https://issues.apache.org/jira/browse/SPARK-15959

commit bc22e61af50e8555f8d4640268526742fcbdbff6
Author: Yin Huai <[email protected]>
Date:   2016-06-15T05:55:41Z

    Rename

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to