[ 
https://issues.apache.org/jira/browse/HIVE-15425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Naveen Gangam updated HIVE-15425:
---------------------------------
    Attachment: HIVE-15425.patch

Attaching a patch that will only print info about missing tables when there is 
an issue. Removed the message that will print the total number of expected 
tables vs found tables because there could be extra tables in the schema that 
we should have to worry about.

> Eliminate conflicting output from schematool's table validator.
> ---------------------------------------------------------------
>
>                 Key: HIVE-15425
>                 URL: https://issues.apache.org/jira/browse/HIVE-15425
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>    Affects Versions: 2.2.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Minor
>         Attachments: HIVE-15425.patch
>
>
> Running the schemaTool's validate command against Derby DB yields in the 
> following output.
> {code}
> 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
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to