GitHub user gatorsmile opened a pull request:

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

    [SPARK-15396] [SQL] [DOC] It can't connect hive metastore database

    #### What changes were proposed in this pull request?
    The `hive.metastore.warehouse.dir` property in hive-site.xml is deprecated 
since Spark 2.0.0. Users might not be able to connect to the existing metastore 
if they do not use the new conf parameter `spark.sql.warehouse.dir`. 
    
    This PR is to update the document and example for explaining the latest 
changes in the configuration of default location of database. 
    
    Below is the screenshot of the latest generated docs:
    
    <img width="681" alt="screenshot 2016-05-20 08 38 10" 
src="https://cloud.githubusercontent.com/assets/11567269/15433296/a05c4ace-1e66-11e6-8d2b-73682b32e9c2.png";>
    
    <img width="789" alt="screenshot 2016-05-20 08 53 26" 
src="https://cloud.githubusercontent.com/assets/11567269/15433734/645dc42e-1e68-11e6-9476-effc9f8721bb.png";>
    
    <img width="789" alt="screenshot 2016-05-20 08 53 37" 
src="https://cloud.githubusercontent.com/assets/11567269/15433738/68569f92-1e68-11e6-83d3-ef5bb221a8d8.png";>
    
    No change is made in the R's example.
    
    <img width="860" alt="screenshot 2016-05-20 08 54 38" 
src="https://cloud.githubusercontent.com/assets/11567269/15433779/965b8312-1e68-11e6-8bc4-53c88ceacde2.png";>
    
    #### How was this patch tested?
    N/A

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

    $ git pull https://github.com/gatorsmile/spark document

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

    https://github.com/apache/spark/pull/13225.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 #13225
    
----
commit f4247d9aa4cc7a4cc11c4ea5735eba96eed93cd9
Author: gatorsmile <[email protected]>
Date:   2016-05-19T19:47:01Z

    initial fix.

commit 11d99b10b61aa623e2e5f8152d19de9f662435dd
Author: gatorsmile <[email protected]>
Date:   2016-05-20T05:52:28Z

    fix.

commit da9f09c02376b9cac0c684961345800abc646033
Author: gatorsmile <[email protected]>
Date:   2016-05-20T15:36:52Z

    fix.

----


---
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