[
https://issues.apache.org/jira/browse/HIVE-15392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aihua Xu updated HIVE-15392:
----------------------------
Status: Patch Available (was: Open)
patch-1: updated the output to make it more consistent.
{noformat}
Starting metastore validation
Validating schema version
Succeeded in schema version validation.
Validating sequence number for SEQUENCE_TABLE
Succeeded in schema version validation
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
Validating database/table/partition locations
Succeeded in database/table/partition location validation
Validating columns for incorrect NULL values
Succeeded in column validation for incorrect NULL values
Done with metastore validation
schemaTool completed
{noformat}
> 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
> 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)