You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/09/26 15:18:00 UTC

[jira] [Created] (HBASE-21238) MapReduceHFileSplitterJob#run shouldn't call System.exit

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)