Ted Yu created HBASE-21238:
------------------------------

             Summary: 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


{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)

Reply via email to