Kshitij Tiwari created HIVE-22223:
-------------------------------------

             Summary: Setup Documentation unclear regarding metastore creation
                 Key: HIVE-22223
                 URL: https://issues.apache.org/jira/browse/HIVE-22223
             Project: Hive
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 3.1.2
         Environment: OS : Linux 4.19, x64

Distro: Manjaro XFCE 18.0.4

Hardware: Virtualbox

 
            Reporter: Kshitij Tiwari
         Attachments: image-2019-09-20-21-56-12-752.png, 
image-2019-09-20-21-56-33-366.png, image-2019-09-20-21-56-46-679.png

[The official setup 
documentation|https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-RunningHiveCLI]
 does not mention that running Hive CLI (even on failure) leads to the creation 
of a metastore.

Any attempts to initialize the db schema will hence fail due to inconsistent 
metastore state.

This is mainly due to the fact that the hive CLI command has been given before 
the init dbschema command and is not preceded with any information regarding 
metastore creation.

!image-2019-09-20-21-56-46-679.png!

*Possible Solution*

Keep the schema initialization command before the Hive CLI command, which 
should resolve any issues faced.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to