Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3272

Hive Metastore not Initialized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.0, 1.2.1, 1.3.0
    • None
    • hive
    • None
      • Debian 9 (stretch)
      • Bigtop 1.4.0 (also 1.3.1)

       

       

    Description

      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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            warrensmith Warren Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: