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

Hudson commented on HADOOP-13052:
---------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9657 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/9657/])
HADOOP-13052. ChecksumFileSystem mishandles crc file permissions. (kihwal: rev 
9dbdc8e12d009e76635b2d20ce940851725cb069)
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ChecksumFileSystem.java
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestChecksumFileSystem.java


> ChecksumFileSystem mishandles crc file permissions
> --------------------------------------------------
>
>                 Key: HADOOP-13052
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13052
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.7.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 2.7.3
>
>         Attachments: HADOOP-13052.patch
>
>
> CheckFileSystem does not override permission related calls to apply those 
> operations to the hidden crc files.  Clients may be unable to read the crcs 
> if the file is created with strict permissions and then relaxed.
> The checksum fs is designed to work with or w/o crcs present, so it silently 
> ignores FNF exceptions.  The java file stream apis unfortunately may only 
> throw FNF, so permission denied becomes FNF resulting in this bug going 
> silently unnoticed.
> (Problem discovered via public localizer.  Files are downloaded as 
> user-readonly and then relaxed to all-read.  The crc remains user-readonly)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to