hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Kornacker (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1867) Fix intermittent failures in TestNegativeCliDriver/dyn_part_empty.q
Date Tue, 15 Mar 2011 00:30:29 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006743#comment-13006743
] 

Marcel Kornacker commented on HIVE-1867:
----------------------------------------

To provide some more context: Driver.execute() launches multiple tasks in parallel and ends
up calling Driver.taskCleanup() if any of them fails *and* there are still running tasks.
Driver.taskCleanup() calls System.exit(9). 

In this particular test, one of the tasks is meant to fail, and if it happens to finish while
there are other tasks still running, System.exit(9) is being called and the test fails.

> Fix intermittent failures in TestNegativeCliDriver/dyn_part_empty.q
> -------------------------------------------------------------------
>
>                 Key: HIVE-1867
>                 URL: https://issues.apache.org/jira/browse/HIVE-1867
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.7.0
>            Reporter: Carl Steinbach
>            Assignee: Marcel Kornacker
>         Attachments: HIVE-1867.1.patch
>
>
> {code}
> [junit] Begin query: dyn_part_empty.q
>     [junit] Running org.apache.hadoop.hive.cli.TestNegativeCliDriver
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] Test org.apache.hadoop.hive.cli.TestNegativeCliDriver FAILED (crashed)
> {code}
> dyn_part_empty.q has been intermittently failing on Hudson. I was able to reproduce locally,
> and with different versions of JUnit (3.8.1, 4.5, 4.8.2).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message