[
https://issues.apache.org/jira/browse/HBASE-21238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu updated HBASE-21238:
---------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 3.0.0
Status: Resolved (was: Patch Available)
Thanks for the patch, Artem.
> 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
> Fix For: 3.0.0
>
> 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)