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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: Metastore
    • Labels:
      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.1.patch
          22 kB
          Aihua Xu
        2. HIVE-15392.2.patch
          23 kB
          Aihua Xu

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: