[ https://issues.apache.org/jira/browse/HBASE-21238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-21238: --------------------------- Labels: mapreduce (was: ) > 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 > Priority: Minor > Labels: mapreduce > > {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)