hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8973) DiskChecker cannot reliably detect an inaccessible disk on Windows with NTFS ACLs
Date Wed, 24 Oct 2012 21:02:12 GMT

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

Chris Nauroth commented on HADOOP-8973:
---------------------------------------

Here is the JVM bug report:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6203387

This was closed as Won't Fix with suggestions to code work-arounds that involve actually attempting
file system operations or using JNI to call a Windows API.  The bug report also says that
the new file APIs in JDK7 will address this.

The problem is visible when running TestDiskChecker, which fails on Windows.  I suspect no
one noticed the problem on branch-1-win, because that version of the code does not have a
test suite for DiskChecker.

                
> DiskChecker cannot reliably detect an inaccessible disk on Windows with NTFS ACLs
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-8973
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8973
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>
> DiskChecker.checkDir uses File.canRead, File.canWrite, and File.canExecute to check if
a directory is inaccessible.  These APIs are not reliable on Windows with NTFS ACLs due to
a known JVM bug.

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