Description
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
Attachments
Attachments
Issue Links
- is part of
-
HADOOP-8079 Proposal for enhancements to Hadoop for Windows Server and Windows Azure development and runtime environments
- Resolved