[ https://issues.apache.org/jira/browse/HBASE-21238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650649#comment-16650649 ]
Ted Yu commented on HBASE-21238: -------------------------------- lgtm, pending QA > MapReduceHFileSplitterJob#run shouldn't call System.exit > -------------------------------------------------------- > > Key: HBASE-21238 > URL: https://issues.apache.org/jira/browse/HBASE-21238 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Artem Ervits > Priority: Minor > Labels: mapreduce > Attachments: HBASE-21238.v01.patch > > > {code} > if (args.length < 2) { > usage("Wrong number of arguments: " + args.length); > System.exit(-1); > {code} > Correct way of handling error condition is through return value of run method. -- This message was sent by Atlassian JIRA (v7.6.3#76005)