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

Siyao Meng commented on HDDS-6610:
----------------------------------

This should either be fixed on the client side, which could involve changing 
hadoop common code, or on the server side, which would be asking the OM to 
return an empty list instead of throwing an exception.

While the latter might be easier for Ozone, it could mislead the user into 
thinking the bucket is empty.

Maybe there is a third solution?

> Recursive list/delete fails with Bucket types OBS
> -------------------------------------------------
>
>                 Key: HDDS-6610
>                 URL: https://issues.apache.org/jira/browse/HDDS-6610
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Manager
>    Affects Versions: 1.3.0
>            Reporter: Soumitra Sulav
>            Priority: Major
>
> With the new bucket layout feature, recursive delete fails on a volume with 
> buckets created with OBJECT_STORE layout.
> The command fails with below message and the usage guide.
> {code:java}
> bash-4.2$ ozone fs -rm -R -skipTrash /vol*
> -rm: Bucket: bucket-0-72747 has layout: OBJECT_STORE, which does not support 
> file system semantics. Bucket Layout must be FILE_SYSTEM_OPTIMIZED or LEGACY.
> Usage: ozone fs [generic options]
>     [-appendToFile <localsrc> ... <dst>]{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to