hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bikas Saha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8534) TestQueueManagerForJobKillAndJobPriority and TestQueueManagerForJobKillAndNonDefaultQueue fail on Windows
Date Wed, 27 Jun 2012 19:05:44 GMT

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

Bikas Saha commented on HADOOP-8534:
------------------------------------

I was just saying that the code doing the same thing in other places uses BufferedStreams.
So there is a precedent for using it.
                
> TestQueueManagerForJobKillAndJobPriority and TestQueueManagerForJobKillAndNonDefaultQueue
fail on Windows
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8534
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8534
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>         Attachments: HADOOP-8534-branch-1-win_Parser.patch
>
>
> Java xml parser keeps file locked after SAXException, causing the following tests to
fail:
>  - TestQueueManagerForJobKillAndJobPriority
>  - TestQueueManagerForJobKillAndNonDefaultQueue
> {{TestQueueManagerForJobKillAndJobPriority#testQueueAclRefreshWithInvalidConfFile()}}
is creating a temp config file with incorrect syntax. Later, the test tries to delete/cleanup
this file and this operation fails on Windows (as the file is still open). From this point
on, all subsequent tests fail because they try to use the incorrect config file.
> Forum references on the problem and the fix:
> http://www.linuxquestions.org/questions/programming-9/java-xml-parser-keeps-file-locked-after-saxexception-768613/
> https://forums.oracle.com/forums/thread.jspa?threadID=2046505&start=0&tstart=0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message