You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Warren Smith (Jira)" <ji...@apache.org> on 2019/11/14 17:22:00 UTC

[jira] [Created] (BIGTOP-3272) Hive Metastore not Initialized

Warren Smith created BIGTOP-3272:
------------------------------------

             Summary: Hive Metastore not Initialized
                 Key: BIGTOP-3272
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3272
             Project: Bigtop
          Issue Type: Bug
          Components: hive
    Affects Versions: 1.3.0, 1.2.1, 1.2.0
         Environment: * Debian 9 (stretch)
 * Bigtop 1.4.0 (also 1.3.1)

 

 
            Reporter: Warren Smith


The Hive metastore is not initialized when derby (default) is used. Was unable to test with other metastore connectors.

There is no evidence of hive's schematool being executed in any puppet script nor in any script attached to the hive-metastore package (hive-metastore_2.3.3-1_all.deb).

Can be worked around by post-processing and removing `/var/lib/hive/metastore/metastore_db`, which is contains an empty database, and running

`sudo -u hive /usr/lib/hive/bin/schematool -dbType derby -initSchema`

 

EMR (is that a bad word here?) has a blurb to instantiate the schema before hiverserver kicks off that runs the schematool.

 



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