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

Refactoring the validate function of HiveSchemaTool to make the output consistent

    XMLWordPrintableJSON

Details

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

    Description

      The validate output is not consistent. Make it more consistent.

      Starting metastore validationValidating schema version
      Succeeded in schema version validation.
      Validating sequence number for SEQUENCE_TABLE
      Metastore connection URL:	 jdbc:derby:;databaseName=metastore_db;create=true
      Metastore Connection Driver :	 org.apache.derby.jdbc.EmbeddedDriver
      Metastore connection User:	 APP
      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
      Metastore connection URL:	 jdbc:derby:;databaseName=metastore_db;create=true
      Metastore Connection Driver :	 org.apache.derby.jdbc.EmbeddedDriver
      Metastore connection User:	 APP
      Metastore connection URL:	 jdbc:derby:;databaseName=metastore_db;create=true
      Metastore Connection Driver :	 org.apache.derby.jdbc.EmbeddedDriver
      Metastore connection User:	 APP
      Metastore connection URL:	 jdbc:derby:;databaseName=metastore_db;create=true
      Metastore Connection Driver :	 org.apache.derby.jdbc.EmbeddedDriver
      Metastore connection User:	 APP
      Validating columns for incorrect NULL values
      Metastore connection URL:	 jdbc:derby:;databaseName=metastore_db;create=true
      Metastore Connection Driver :	 org.apache.derby.jdbc.EmbeddedDriver
      Metastore connection User:	 APP
      Done with metastore validationschemaTool completed
      

      Attachments

        1. HIVE-15392.2.patch
          23 kB
          Aihua Xu
        2. HIVE-15392.1.patch
          22 kB
          Aihua Xu

        Activity

          People

            aihuaxu Aihua Xu
            aihuaxu Aihua Xu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: