anuragp010 commented on PR #11951:
URL: https://github.com/apache/ozone/pull/11951#issuecomment-6734435953

   Thanks @devmadhuu .
   
   > Please test how CLI behaves if path is till bucket, should give proper 
message.
   
   This gives the following exception, followed by the Usage helper text:
   ```shell
   bash-5.1$ ozone admin storagepolicy check vol1/bucket1 --show-replicas
   Invalid value for positional parameter at index 0 (<value>): cannot convert 
'vol1/bucket1' to OzoneAddress 
(org.apache.hadoop.ozone.client.OzoneClientException: Key name is missing.)
   ```
   
   > In next follow up PR, create a separate JIRA where we can have CLI option 
with --mis-match flag and CLI accepts the valid path till bucket only and can 
just output only the list of keys with their full path in case of FSO as well 
which doesn't match with their respective key's container replica's storageType 
and volumeStorageType
   
   Sure, I have created 
[HDDS-17756](https://issues.apache.org/jira/browse/HDDS-17756) for the same.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to