This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 316eade978 HDDS-10716. Remove skipTrash option from IOException 
message in OFS recursive volume delete (#6559)
316eade978 is described below

commit 316eade9784e35e1336931f714cba8648c716d6b
Author: Ashish Kumar <[email protected]>
AuthorDate: Sun Apr 21 22:02:56 2024 +0530

    HDDS-10716. Remove skipTrash option from IOException message in OFS 
recursive volume delete (#6559)
---
 .../java/org/apache/hadoop/fs/ozone/BasicRootedOzoneFileSystem.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneFileSystem.java
 
b/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneFileSystem.java
index 3ba291ae0f..8ad50058f1 100644
--- 
a/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneFileSystem.java
+++ 
b/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneFileSystem.java
@@ -719,7 +719,7 @@ public class BasicRootedOzoneFileSystem extends FileSystem {
         LOG.warn("Recursive volume delete using ofs is not supported");
         throw new IOException("Recursive volume delete using " +
             "ofs is not supported. " +
-            "Instead use 'ozone sh volume delete -r -skipTrash " +
+            "Instead use 'ozone sh volume delete -r " +
             "-id <OM_SERVICE_ID> <Volume_URI>' command");
       }
       return deleteVolume(f, ofsPath);


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

Reply via email to