hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-12484) hdfs dfs -expunge requires superuser permission after 2.8
Date Mon, 18 Sep 2017 22:33:00 GMT
Wei-Chiu Chuang created HDFS-12484:
--------------------------------------

             Summary: hdfs dfs -expunge requires superuser permission after 2.8
                 Key: HDFS-12484
                 URL: https://issues.apache.org/jira/browse/HDFS-12484
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: fs
    Affects Versions: 3.0.0-alpha1, 2.8.0
            Reporter: Wei-Chiu Chuang
            Assignee: Wei-Chiu Chuang


Hadoop 2.8 added a feature to support trash inside encryption zones.

However, it breaks the existing -expunge semantics because now a user must have superuser
permission in order to -expunge. The reason behind that is that -expunge gets all encryption
zone paths using DFSClient#listEncryptionZones, which requires super user permission.

Not sure what's the best way to address this, so file this jira to invite comments.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message