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

Wei-Chiu Chuang resolved HDFS-14605.
------------------------------------
    Resolution: Duplicate

> Note missing on expunge command description for encrypted zones
> ---------------------------------------------------------------
>
>                 Key: HDFS-14605
>                 URL: https://issues.apache.org/jira/browse/HDFS-14605
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    Affects Versions: 2.7.3, 2.7.5, 3.0.0, 3.1.0
>            Reporter: Srinivasu Majeti
>            Priority: Minor
>              Labels: documentation-update
>             Fix For: 3.1.0, 3.0.0, 2.7.5, 2.7.3
>
>
> expunge command is supported for both encrypted and non-encrypted hdfs paths 
> . This operation initially needs to discover/list all such paths. 
> Listing/Discovering encrypted zone paths is only supported by superuser and 
> expunge command misleads us by printing below message though its a warning . 
> We could add some message in the expunge command description saying that the 
> command supports encrypted zone paths only when run as superuser and it will 
> continue listing and performing the operation for all non encrypted hdfs 
> paths.
> 19/06/25 08:30:13 WARN hdfs.DFSClient: Cannot get all encrypted trash roots
> org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException):
>  Access denied for user ambari-qa. Superuser privilege is required
>       at 
> org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkSuperuserPrivilege(FSPermissionChecker.java:130)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to