You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2015/10/28 20:31:27 UTC

[jira] [Commented] (PHOENIX-2353) CsvBulkLoadTool exits with non-zero exit code on tool failure

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

Gabriel Reid commented on PHOENIX-2353:
---------------------------------------

Great catch [~laktech], thanks for that. I'll commit this.

> CsvBulkLoadTool exits with non-zero exit code on tool failure
> -------------------------------------------------------------
>
>                 Key: PHOENIX-2353
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2353
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Matt Kowalczyk
>         Attachments: PHOENIX-2353.patch
>
>
> The main method for CsvBulkLoadTool.java,
>     public static void main(String[] args) throws Exception {
>         ToolRunner.run(new CsvBulkLoadTool(), args);
>     }
> should expose the return value of ToolRunner#run to the OS. It's useful to know whether the job succeeded or failed.



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