hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8681) TestDriver#testDriver fails on hadoop 2.0
Date Mon, 03 Jun 2013 22:58:20 GMT

     [ https://issues.apache.org/jira/browse/HBASE-8681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated HBASE-8681:
--------------------------

    Status: Patch Available  (was: Open)
    
> 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

Mime
View raw message