hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Gangam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17805) SchemaTool validate locations should not return exit 1
Date Thu, 19 Oct 2017 14:32:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-17805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211127#comment-16211127
] 

Naveen Gangam commented on HIVE-17805:
--------------------------------------

I had reviewed the patch before it was committed. I just forgot to +1 it before it got committed.
Thanks for pushing this thru [~vihangk1]

> 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)

Mime
View raw message