[
https://issues.apache.org/jira/browse/HADOOP-10328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HADOOP-10328:
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.4.0
3.0.0
Status: Resolved (was: Patch Available)
I committed this to trunk, branch-2 and branch-2.4. Thanks again, Haohui.
> loadGenerator exit code is not reliable
> ---------------------------------------
>
> Key: HADOOP-10328
> URL: https://issues.apache.org/jira/browse/HADOOP-10328
> Project: Hadoop Common
> Issue Type: Bug
> Components: tools
> Affects Versions: 2.2.0
> Reporter: Arpit Gupta
> Assignee: Haohui Mai
> Fix For: 3.0.0, 2.4.0
>
> Attachments: HADOOP-10328.000.patch, HADOOP-10328.001.patch,
> HADOOP-10328.002.patch
>
>
> LoadGenerator exit code is determined using the following logic
> {code}
> int exitCode = init(args);
> if (exitCode != 0) {
> return exitCode;
> }
> {code}
> At the end of the run we just return the exitCode. So essentially if you are
> arguments are correct you will always get 0 back.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)