[
https://issues.apache.org/jira/browse/HBASE-8681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675388#comment-13675388
]
Ted Yu commented on HBASE-8681:
-------------------------------
2.1.0-beta is not released yet.
Before we switch to 2.1.0-beta, build on hadoop-2.0.x would be broken.
> TestDriver#testDriver fails on hadoop 2.0.x
> -------------------------------------------
>
> Key: HBASE-8681
> URL: https://issues.apache.org/jira/browse/HBASE-8681
> Project: HBase
> Issue Type: Test
> Reporter: Ted Yu
> Assignee: Ted Yu
> Attachments: 8681-v1.txt
>
>
> TestDriver#testDriver relies on System.exit() call from
> ProgramDriver#driver() because LauncherSecurityManager latches onto
> checkExit().
> In hadoop 2.0, ProgramDriver#driver() has the following code:
> {code}
> public void driver(String[] argv) throws Throwable {
> if (run(argv) == -1) {
> System.exit(-1);
> }
> }
> {code}
> Meaning, if the execution is successful, System.exit() call would be bypassed.
> This leads to test failure such as the following:
> https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/552/testReport/org.apache.hadoop.hbase.mapreduce/TestDriver/testDriver/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira