Ethan Rose created HDDS-4431:
--------------------------------

             Summary: Improve output message for key/bucket list command
                 Key: HDDS-4431
                 URL: https://issues.apache.org/jira/browse/HDDS-4431
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
          Components: Ozone CLI
            Reporter: Ethan Rose
            Assignee: Ethan Rose


Currently when a user which doesn't have permission to list on a bucket, they 
get the following message on stderr:
{noformat}
$ ozone sh key list o3://ozone1/volume1/bucket1

PERMISSION_DENIED org.apache.hadoop.ozone.om.exceptions.OMException: User  
<user> doesn't have LIST permission to access bucket{noformat}
We should hide the  *org.apache.hadoop.ozone.om.exceptions.OMException:* from 
the error message so that it is consistent with other PERMISSION_DENIED 
messages we get with other commands where we don't have this Exception class 
shown.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to