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

Vihang Karajgaonkar updated HIVE-17805:
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.0
                   3.0.0
           Status: Resolved  (was: Patch Available)

Patch committed to master and branch-2

> SchemaTool validate locations should not return exit 1
> ------------------------------------------------------
>
>                 Key: HIVE-17805
>                 URL: https://issues.apache.org/jira/browse/HIVE-17805
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>            Priority: Minor
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: HIVE-17805.01.patch
>
>
> {{HiveSchemaTool}} can be used by other applications to validate the 
> metastore schema. One of the validation check looks at the location URLs of 
> tables/DBs and returns {{false}} which causes HiveSchemaTool to exit 1 to the 
> calling script. Invalid locations although are a problem in some instances, 
> cannot be termed as catastrophic errors in the schema which should cause Hive 
> service failure/unusable. Ideally we should introduce warning levels and 
> error levels in schemaTool validations so the caller can take appropriate 
> action.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to