You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Naveen Gangam (JIRA)" <ji...@apache.org> on 2017/03/13 18:40:41 UTC

[jira] [Commented] (HIVE-16176) SchemaTool should exit with non-zero exit code when one or more validator's fail.

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

Naveen Gangam commented on HIVE-16176:
--------------------------------------

The attached patch returns a non-zero exit code for hive schematool when any of the metadata validators fail. This helps automating the usage of schema tool while using the exit code as a reliable measure for success. [~aihuaxu] Could you please review? Thanks

> SchemaTool should exit with non-zero exit code when one or more validator's fail.
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-16176
>                 URL: https://issues.apache.org/jira/browse/HIVE-16176
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>    Affects Versions: 2.2.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Minor
>         Attachments: HIVE-16176.patch
>
>
> Currently schematool exits with a code of 0 when one or more schema tool validation fail. Ideally, it should return a non-zero exit code when any of the validators fail.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)