You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ag...@apache.org on 2023/06/16 05:22:43 UTC

[ozone] branch master updated: HDDS-8857. [snapshot] UnsupportedOperationException for snapshot distcp operation (#4907)

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

agupta 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 5306f65603 HDDS-8857. [snapshot] UnsupportedOperationException for snapshot distcp operation (#4907)
5306f65603 is described below

commit 5306f65603f86839995182b7aa53e86d480028f3
Author: Sadanand Shenoy <sa...@gmail.com>
AuthorDate: Fri Jun 16 10:52:38 2023 +0530

    HDDS-8857. [snapshot] UnsupportedOperationException for snapshot distcp operation (#4907)
---
 .../src/main/java/org/apache/hadoop/fs/ozone/OzonePathCapabilities.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/OzonePathCapabilities.java b/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/OzonePathCapabilities.java
index 214641fd09..5668ff281a 100644
--- a/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/OzonePathCapabilities.java
+++ b/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/OzonePathCapabilities.java
@@ -43,6 +43,7 @@ public final class OzonePathCapabilities {
     switch (validatePathCapabilityArgs(path, capability)) {
     case CommonPathCapabilities.FS_ACLS:
     case CommonPathCapabilities.FS_CHECKSUMS:
+    case CommonPathCapabilities.FS_SNAPSHOTS:
       return true;
     default:
       return false;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org