[ https://issues.apache.org/jira/browse/HIVE-15392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aihua Xu updated HIVE-15392: ---------------------------- Resolution: Fixed Fix Version/s: 2.2.0 Status: Resolved (was: Patch Available) Pushed to master. Thanks Chaoyu for reviewing. > Refactoring the validate function of HiveSchemaTool to make the output > consistent > --------------------------------------------------------------------------------- > > Key: HIVE-15392 > URL: https://issues.apache.org/jira/browse/HIVE-15392 > Project: Hive > Issue Type: Sub-task > Components: Metastore > Affects Versions: 2.2.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > Priority: Minor > Fix For: 2.2.0 > > Attachments: HIVE-15392.1.patch > > > The validate output is not consistent. Make it more consistent. > {noformat} > 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 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)