Srinivasu Majeti created HDFS-14605:
---------------------------------------
Summary: 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: 3.1.0, 3.0.0, 2.7.5, 2.7.3
Reporter: Srinivasu Majeti
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.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]