hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4831) QTestUtil based test exiting abnormally on windows fails startup of other QTestUtil tests
Date Mon, 15 Jul 2013 17:40:52 GMT

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

Brock Noland commented on HIVE-4831:
------------------------------------

Hi,

As opposed to choosing a random directory, I think we should have a little utility method
that ensures we are creating a directory which does not exist. Guava's Files.createTmpDir()
is google example.

Brock
                
> QTestUtil based test exiting abnormally on windows fails startup of other QTestUtil tests
> -----------------------------------------------------------------------------------------
>
>                 Key: HIVE-4831
>                 URL: https://issues.apache.org/jira/browse/HIVE-4831
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>    Affects Versions: 0.11.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-4831.1.patch
>
>
> QTestUtil tests start mini zookeeper cluster. If it exits abnormally (eg timeout), it
fails to stop the zookeeper mini cluster. On Windows when the process is still running the
files can't be deleted, and as a result the new zookeeper cluster started by a new QFileUtil
based test case fails to start.

--
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