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)

Reply via email to