hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11511) Output the message of orcfiledump when ORC files are not specified
Date Mon, 10 Aug 2015 21:56:45 GMT

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

Alan Gates commented on HIVE-11511:
-----------------------------------

In general looks good.  We should avoid the System.exit call and use return instead.  We keep
the System.exits out in case we're called by another tool.  I can just change that in the
patch when I commit it.

> Output the message of orcfiledump when ORC files are not specified
> ------------------------------------------------------------------
>
>                 Key: HIVE-11511
>                 URL: https://issues.apache.org/jira/browse/HIVE-11511
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Shinichi Yamashita
>            Assignee: Shinichi Yamashita
>              Labels: orcfile
>         Attachments: HIVE-11511.1.patch
>
>
> When I execute the orcfiledump command without specifying a ORC file, any message is
not output and return value is 0.
> {code}
> [root@hive hive]# /usr/local/hive/bin/hive --orcfiledump
> [root@hive hive]# echo $?
> 0
> {code}
> For this behavior, I will be modified to output a error message.



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

Mime
View raw message