[
https://issues.apache.org/jira/browse/HDFS-4276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13511042#comment-13511042
]
Ivan Mitic commented on HDFS-4276:
----------------------------------
This usually means that someone did not close a handle (stream) on the file.
The fix is to find a place where the stream is not closed. Native code only
helps with some concurrent scenarios, IIRC, if someone wanted to delete a file
while it is open (...not 100% sure though).
Hope this helps
> HDFS tests have multiple failures on Windows due to file locking conflict
> -------------------------------------------------------------------------
>
> Key: HDFS-4276
> URL: https://issues.apache.org/jira/browse/HDFS-4276
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
>
> Multiple HDFS tests fail on Windows due to "The process cannot access the
> file because another process has locked a portion of the file".
--
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