[
https://issues.apache.org/jira/browse/HADOOP-7818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414676#comment-13414676
]
Hudson commented on HADOOP-7818:
--------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #2538 (See
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2538/])
HADOOP-7818. DiskChecker#checkDir should fail if the directory is not
executable. Contributed by Madhukara Phatak. (harsh) (Revision 1361717)
Result = SUCCESS
harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1361717
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DiskChecker.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestDiskChecker.java
> DiskChecker#checkDir should fail if the directory is not executable
> -------------------------------------------------------------------
>
> Key: HADOOP-7818
> URL: https://issues.apache.org/jira/browse/HADOOP-7818
> Project: Hadoop Common
> Issue Type: Bug
> Components: util
> Affects Versions: 2.0.0-alpha
> Reporter: Eli Collins
> Assignee: madhukara phatak
> Priority: Minor
> Fix For: 2.0.1-alpha
>
> Attachments: HADOOP-7818-1.patch, HADOOP-7818-2.patch,
> HADOOP-7818-3.patch, HADOOP-7818-4.patch, HADOOP-7818.patch
>
>
> DiskChecker#checkDir fails if a directory can't be created, read, or written
> but does not fail if the directory exists and is not executable. This causes
> subsequent code to think the directory is OK but later fail due to an
> inability to access the directory (eg see MAPREDUCE-2921). I propose checkDir
> fails if the directory is not executable. Looking at the uses, this should be
> fine, I think it was ignored because checkDir is often used to create
> directories and it creates executable directories.
--
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