[jira] [Commented] (HDFS-14605) Note missing on expunge command description for encrypted zones

2019-08-06 Thread Srinivasu Majeti (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-14605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900777#comment-16900777
 ] 

Srinivasu Majeti commented on HDFS-14605:
-

Fine [~jojochuang] . 

> 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: 2.7.3, 2.7.5, 3.0.0, 3.1.0
>
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-14605) Note missing on expunge command description for encrypted zones

2019-08-02 Thread Wei-Chiu Chuang (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-14605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899378#comment-16899378
 ] 

Wei-Chiu Chuang commented on HDFS-14605:


Please see my patch at HDFS-12484 and see if it makes sense. I'll resolve this 
one as a dup.

> 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: 2.7.3, 2.7.5, 3.0.0, 3.1.0
>
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org