hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6326) WebHdfs ACL compatibility is broken
Date Thu, 15 May 2014 00:02:31 GMT

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

Chris Nauroth updated HDFS-6326:

    Attachment: HDFS-6326-branch-2.4.patch

I have committed this to trunk and branch-2.  I ran into a merge conflict on branch-2.4, so
I need to apply a slightly different patch, which I have attached.  [~kihwal], would you please
also review and +1 the branch-2.4 patch?  The differences from trunk are:
# {{FSAclBaseTest#testSetPermissionCannotSetAclBit}} needed to make a slightly different call
to get the {{INode}} to check, taking a hop through {{FSDirectory#getRoot}}.
# The web UI code is structured differently, so you'll see changes in src/main/webapps/hdfs/explorer.html
and src/main/webapps/hdfs/explorer.js.
# The web UI code for {{helper_to_acl_bit}} is slightly different, because the branch-2.4
code is following a different pattern.

> WebHdfs ACL compatibility is broken
> -----------------------------------
>                 Key: HDFS-6326
>                 URL: https://issues.apache.org/jira/browse/HDFS-6326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Daryn Sharp
>            Assignee: Chris Nauroth
>            Priority: Blocker
>         Attachments: HDFS-6326-branch-2.4.patch, HDFS-6326.1.patch, HDFS-6326.2.patch,
HDFS-6326.3.patch, HDFS-6326.4.patch, HDFS-6326.5.patch, HDFS-6326.6.patch, aclfsperm.example
> 2.4 ACL support is completely incompatible with <2.4 webhdfs servers.  The NN throws
an {{IllegalArgumentException}} exception.
> {code}
> hadoop fs -ls webhdfs://nn/
> Found 21 items
> ls: Invalid value for webhdfs parameter "op": No enum constant org.apache.hadoop.hdfs.web.resources.GetOpParam.Op.GETACLSTATUS
> [... 20 more times...]
> {code}

This message was sent by Atlassian JIRA

View raw message