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 2013/06/04 00:58:20 UTC
[jira] [Assigned] (HBASE-8681) TestDriver#testDriver fails on
hadoop 2.0
[ https://issues.apache.org/jira/browse/HBASE-8681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu reassigned HBASE-8681:
-----------------------------
Assignee: Ted Yu
> TestDriver#testDriver fails on hadoop 2.0
> -----------------------------------------
>
> 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