hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14730) hasAcl property always set to false, regardless of FsPermission higher bit order
Date Mon, 07 Aug 2017 23:21:00 GMT

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

Chris Douglas updated HADOOP-14730:
    Attachment: HADOOP-14730.006.patch

bq. AdlFileStatus#AdlFileStatus() is not used.
Updated patch.

bq. AdlFileStatus#hashCode is probably ok not to involve hasAcl, don't you think equals should
return false when hasAcl are different in 2 objects?
{{FileStatus::equals}} only checks that the {{Path}} matches, so ignoring the {{hasAcl}} field
is consistent.

> hasAcl property always set to false, regardless of FsPermission higher bit order 
> ---------------------------------------------------------------------------------
>                 Key: HADOOP-14730
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14730
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0-beta1
>            Reporter: Vishwajeet Dusane
>            Assignee: Chris Douglas
>             Fix For: 3.0.0-beta1
>         Attachments: HADOOP-14730.001.patch, HADOOP-14730.002.patch, HADOOP-14730.003.patch,
HADOOP-14730.004.patch, HADOOP-14730.005.patch, HADOOP-14730.006.patch
> 2 Unit Test cases are failing  [Azure-data-lake Module |https://github.com/apache/hadoop/blob/4966a6e26e45d7dc36e0b270066ff7c87bcd00cc/hadoop-tools/hadoop-azure-datalake/src/test/java/org/apache/hadoop/fs/adl/TestGetFileStatus.java#L44-L44],
caused after HDFS-6984 commit.
> Issue seems to be {{hasAcl}} is hard coded to {{false}}. 
> {code:java}
> public FileStatus(long length, boolean isdir,
>                     int block_replication,
>                     long blocksize, long modification_time, long access_time,
>                     FsPermission permission, String owner, String group, 
>                     Path symlink,
>                     Path path) {
>     this(length, isdir, block_replication, blocksize, modification_time,
>         access_time, permission, owner, group, symlink, path,
>         false, false, false);
>   }
> {code}

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