Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15206 Add a validation functionality to hiveSchemaTool
  3. HIVE-15425

Eliminate conflicting output from schematool's table validator.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • Hive
    • None

    Description

      Running the schemaTool's validate command against Derby DB yields in the following output.

      Validating tables in the schema for version 2.2.0
      Expected (from schema definition) 57 tables, Found (from HMS metastore) 58 tables
      Schema table validation successful
      

      The output above creates some confusion when there are extra tables (not part of hive schema) in the database. The intention was to report the total tables found and did not expect the schema namespace to contain additional tables. Even as the validation is successful, the output is confusing.

      Attachments

        1. HIVE-15425.patch
          1 kB
          Naveen Gangam
        2. HIVE-15425.patch
          1 kB
          Naveen Gangam

        Activity

          People

            ngangam Naveen Gangam
            ngangam Naveen Gangam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: