hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangjin Lee (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13052) ChecksumFileSystem mishandles crc file permissions
Date Wed, 14 Sep 2016 00:01:44 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-13052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Sangjin Lee updated HADOOP-13052:
    Fix Version/s: 2.6.5

Cherry-picked it to 2.6.5 (trivial).

> 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, 2.6.5, 3.0.0-alpha1
>         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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message