You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/07/17 19:14:22 UTC

[GitHub] [hadoop-ozone] smengcl opened a new pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

smengcl opened a new pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215


   ## What changes were proposed in this pull request?
   
   A proper server-side trash cleanup solution (HDDS-3915) might not land any time soon.
   
   This jira aims to completely disable "move to trash" when a client is deleting files and {{fs.trash.interval > 0}} by intercepting the deprecated {{fs.rename(src, dst, option)}} call used by {{TrashPolicyDefault#moveToTrash}}.
   
   This should be reverted when trash cleanup is implemented.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-3982
   
   ## How was this patch tested?
   
   Tested manually:
   
   ```
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] umamaheswararao edited a comment on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
umamaheswararao edited a comment on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-660398646


   @smengcl Thank you for working on it.
   This is a good idea.
   
   - But the below log message from could confuse people?
   ```
    fs.rename(path, trashPath,
               Rename.TO_TRASH);
           LOG.info("Moved: '" + path + "' to trash at: " + trashPath);
   ```
   I don't see a way to avoid though. :-(
   Probably we will say: A generic statement in previous log  "We will not retain any data in trash. This may just reduce confusion that, they will think data moved but deleted immediately. :-) 
   
   Probably your logs will looks like:
   INFO ozone.BasicOzoneFileSystem: Move to trash is disabled for o3fs, deleting instead: o3fs://bucket2.volume1.om/dir3/key5.
                                                                 Files/dirs will not be retained in Trash.
   INFO fs.TrashPolicyDefault: Moved: 'o3fs://bucket2.volume1.om/dir3/key5' to trash at: /.Trash/hadoop/Current/dir3/key5
   I am not this is confusing more. Think about some generic message to convey that next message is just fake.
   
   - I think we need to add test case to make sure no files moving under trash folder.
   
   
   One another thought could be that: ( I am not proposing it to do it now, just for discussion):
   Currently in Hadoop side, the trash policy config is common for all kinds of fs.
   ```
    Class<? extends TrashPolicy> trashClass = conf.getClass(
           "fs.trash.classname", TrashPolicyDefault.class, TrashPolicy.class);
       TrashPolicy trash = ReflectionUtils.newInstance(trashClass, conf);
       trash.initialize(conf, fs); // initialize TrashPolicy
       return trash
   ```
   If user wants different policies based on their FS behaviors, that's not possible. Probably if we have confg like fs.<scheme>.trash.classname and by default we can use TrashPolicyDefault.class. if user wants, they can configure per fs specific policy. 
   So, If config was defined this way, our life would have been easier now. In our case we could have configured our own policy and simply delete the files in it. 
   Anyway what we are doing is temporary until we have proper cleanup. So, this option will not help as we need changes in Hadoop side.
   
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] umamaheswararao commented on a change in pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
umamaheswararao commented on a change in pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#discussion_r457671805



##########
File path: hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneFileSystem.java
##########
@@ -372,6 +373,34 @@ public boolean rename(Path src, Path dst) throws IOException {
     return result;
   }
 
+  /**
+   * Intercept rename to trash calls from TrashPolicyDefault,
+   * convert them to delete calls instead.
+   */
+  @Deprecated
+  protected void rename(final Path src, final Path dst,
+      final Options.Rename... options) throws IOException {
+    boolean hasMoveToTrash = false;
+    if (options != null) {
+      for (Options.Rename option : options) {
+        if (option == Options.Rename.TO_TRASH) {
+          hasMoveToTrash = true;
+          break;
+        }
+      }
+    }
+    if (!hasMoveToTrash) {
+      // if doesn't have TO_TRASH option, just pass the call to super
+      super.rename(src, dst, options);
+    } else {
+      // intercept when TO_TRASH is found
+      LOG.info("Move to trash is disabled for ofs, deleting instead: {}. "
+          + "Files or directories will NOT be retained in trash. "
+          + "Ignore the following TrashPolicyDefault message, if any.", src);

Review comment:
       One last thing: Currently we are straight a way deleting files. Since users coming from Hadoop shell, there could be assumptions that files may move to trash if no -skipTrash flag. But we will be deleting instead of trashing them.
   User may realize after looking at this log message, but by this time already things happened.
   There should be a way to shout out this behavior to users. One way is documenting and any other better way?
   




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] smengcl commented on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
smengcl commented on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-661298148


   Tests added.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] umamaheswararao commented on a change in pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
umamaheswararao commented on a change in pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#discussion_r456730693



##########
File path: hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicOzoneFileSystem.java
##########
@@ -397,6 +398,32 @@ public boolean rename(Path src, Path dst) throws IOException {
     return result;
   }
 
+  /**
+   * Intercept rename to trash calls from TrashPolicyDefault,
+   * convert them to delete calls instead.
+   */
+  @Deprecated
+  protected void rename(final Path src, final Path dst,
+      final Rename... options) throws IOException {
+    boolean hasMoveToTrash = false;
+    if (options != null) {
+      for (Rename option : options) {
+        if (option == Rename.TO_TRASH) {
+          hasMoveToTrash = true;
+          break;
+        }
+      }
+    }
+    if (!hasMoveToTrash) {
+      // if doesn't have TO_TRASH option, just pass the call to super
+      super.rename(src, dst, options);
+    } else {
+      // intercept when TO_TRASH is found

Review comment:
       Please check my above comment.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] smengcl commented on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
smengcl commented on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-661602953


   Merged to master. Thanks @umamaheswararao  for reviewing.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] umamaheswararao edited a comment on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
umamaheswararao edited a comment on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-660398646


   @smengcl Thank you for working on it.
   This is a good idea.
   
   - But the below log message from could confuse people?
   ```
    fs.rename(path, trashPath,
               Rename.TO_TRASH);
           LOG.info("Moved: '" + path + "' to trash at: " + trashPath);
   ```
   I don't see a way to avoid though. :-(
   Probably we will say: A generic statement in previous log  "We will not retain any data in trash. This may just reduce confusion that, they will think data moved but deleted immediately. :-) 
   
   Probably your logs will looks like:
   INFO ozone.BasicOzoneFileSystem: Move to trash is disabled for o3fs, deleting instead: o3fs://bucket2.volume1.om/dir3/key5.
                                                                 Files/dirs will not be retained in Trash.
   INFO fs.TrashPolicyDefault: Moved: 'o3fs://bucket2.volume1.om/dir3/key5' to trash at: /.Trash/hadoop/Current/dir3/key5
   I am not this is confusing more. Think about some generic message to convey that next message is just fake.
   
   - I think we need to add test case to make sure no files moving under trash folder.
   
   
   One another thought could be that: ( I am not proposing it to do it now, just for discussion):
   Currently in Hadoop side, the trash policy config is common for all kinds of fs.
   ```
    Class<? extends TrashPolicy> trashClass = conf.getClass(
           "fs.trash.classname", TrashPolicyDefault.class, TrashPolicy.class);
       TrashPolicy trash = ReflectionUtils.newInstance(trashClass, conf);
       trash.initialize(conf, fs); // initialize TrashPolicy
       return trash
   ```
   If user wants different policies based on their FS behaviors, that's not possible. Probably if we have confg like 
   
   > `fs.<scheme>.trash.classname`
   
    and by default we can use TrashPolicyDefault.class. if user wants, they can configure per fs specific policy. 
   So, If config was defined this way, our life would have been easier now. In our case we could have configured our own policy and simply delete the files in it. 
   Anyway what we are doing is temporary until we have proper cleanup. So, this option will not help as we need changes in Hadoop side.
   
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] umamaheswararao edited a comment on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
umamaheswararao edited a comment on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-660448738


   @smengcl yes, fs.trash.classname configuration is for all HCFS.
   If we wanted to have different impls for HCFSs, we may need to introduce new advanced config, that should be like 
   'fs.SCHEME.trash.classname'.
   
   The impl can be something like below:
     ```
   public static TrashPolicy getInstance(Configuration conf, FileSystem fs) {
       Class<? extends TrashPolicy> defaultTrashClass = conf.getClass(
           "fs.trash.classname", TrashPolicyDefault.class, TrashPolicy.class);
       Class<? extends TrashPolicy>  trashClass = conf.getClass(String.format(
           "fs.%s.trash.classname",
           fs.getScheme()), defaultTrashClass, TrashPolicy.class);
       TrashPolicy trash = ReflectionUtils.newInstance(trashClass, conf);
       trash.initialize(conf, fs); // initialize TrashPolicy
       return trash;
     }
   ```
   
   ```
   @Test
     public void testPluggableFileSystemSpecificTrash() throws IOException {
       Configuration conf = new Configuration();
       // Test plugged TrashPolicy
       conf.setClass("fs.file.trash.classname", TestTrashPolicy.class, TrashPolicy.class);
       Trash trash = new Trash(conf);
       assertTrue(trash.getTrashPolicy().getClass().equals(TestTrashPolicy.class));
     }
   ```
   
   So, by no change in behavior. If some one wants to override the behaviors for a specific fs, provide your TrashClass name in config. Ex: if you want to provide a trashPolicy for ofs separately, then configure like:
   fs.ofs.trash.classname = OfsTrashPolicyDefault.class.getName();
   Otherwise same TrashPolicyDefault.class will be used.
   
     


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] umamaheswararao commented on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
umamaheswararao commented on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-660398646


   This is a good idea.
   
   - But the below log message from could confuse people?
   ```
    fs.rename(path, trashPath,
               Rename.TO_TRASH);
           LOG.info("Moved: '" + path + "' to trash at: " + trashPath);
   ```
   I don't see a way to avoid though. :-(
   Probably we will say: A generic statement in previous log  "We will not retain any data in trash. This may just reduce confusion that, they will think data moved but deleted immediately. :-) 
   
   Probably your logs will looks like:
   INFO ozone.BasicOzoneFileSystem: Move to trash is disabled for o3fs, deleting instead: o3fs://bucket2.volume1.om/dir3/key5.
                                                                 Files/dirs will not be retained in Trash.
   INFO fs.TrashPolicyDefault: Moved: 'o3fs://bucket2.volume1.om/dir3/key5' to trash at: /.Trash/hadoop/Current/dir3/key5
   I am not this is confusing more. Think about some generic message to convey that next message is just fake.
   
   - I think we need to add test case to make sure no files moving under trash folder.
   
   
   One another thought could be that: ( I am not proposing it to do it now, just for discussion):
   Currently in Hadoop side, the trash policy config is common for all kinds of fs.
   ```
    Class<? extends TrashPolicy> trashClass = conf.getClass(
           "fs.trash.classname", TrashPolicyDefault.class, TrashPolicy.class);
       TrashPolicy trash = ReflectionUtils.newInstance(trashClass, conf);
       trash.initialize(conf, fs); // initialize TrashPolicy
       return trash
   ```
   If user wants different policies based on their FS behaviors, that's not possible. Probably if we have confg like fs.<scheme>.trash.classname and by default we can use TrashPolicyDefault.class. if user wants, they can configure per fs specific policy. 
   So, If config was defined this way, our life would have been easier now. In our case we could have configured our own policy and simply delete the files in it. 
   Anyway what we are doing is temporary until we have proper cleanup. So, this option will not help as we need changes in Hadoop side.
   
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] umamaheswararao commented on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
umamaheswararao commented on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-660448738


   @smengcl yes, fs.trash.classname configuration is for all HCFS.
   If we wanted to have different impls for HCFSs, we may need to introduce new advanced config, that should be like fs.<scheme>.trash.classname.
   
   The impl can be something like below:
     ```
   public static TrashPolicy getInstance(Configuration conf, FileSystem fs) {
       Class<? extends TrashPolicy> defaultTrashClass = conf.getClass(
           "fs.trash.classname", TrashPolicyDefault.class, TrashPolicy.class);
       Class<? extends TrashPolicy>  trashClass = conf.getClass(String.format(
           "fs.%s.trash.classname",
           fs.getScheme()), defaultTrashClass, TrashPolicy.class);
       TrashPolicy trash = ReflectionUtils.newInstance(trashClass, conf);
       trash.initialize(conf, fs); // initialize TrashPolicy
       return trash;
     }
   ```
   
   ```
   @Test
     public void testPluggableFileSystemSpecificTrash() throws IOException {
       Configuration conf = new Configuration();
       // Test plugged TrashPolicy
       conf.setClass("fs.file.trash.classname", TestTrashPolicy.class, TrashPolicy.class);
       Trash trash = new Trash(conf);
       assertTrue(trash.getTrashPolicy().getClass().equals(TestTrashPolicy.class));
     }
   ```
   
   So, by no change in behavior. If some one wants to override the behaviors for a specific fs, provide your TrashClass name in config. Ex: if you want to provide a trashPolicy for ofs separately, then configure like:
   fs.ofs.trash.classname = OfsTrashPolicyDefault.class.getName();
   Otherwise same TrashPolicyDefault.class will be used.
   
     


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] umamaheswararao commented on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
umamaheswararao commented on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-661344290


   Changes looks good to me. +1
   Pending CI-Checks.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] smengcl edited a comment on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
smengcl edited a comment on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-660403477


   @umamaheswararao  Thanks for the review.
   
   One question about the `fs.trash.classname` though: I actually thought about overriding it. But once this is configured to a custom class on the client it seems it will use that Trash Policy class for ALL HCFS? In this case we need to implement different `moveToTrash` behavior for o3fs/OFS and other HCFSes.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] smengcl edited a comment on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
smengcl edited a comment on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-660403477


   @umamaheswararao  Thanks for the review.
   
   One question about the `fs.trash.classname` though: I actually thought about overriding it. But once this is configured to a custom class on the client it seems it will use that Trash Policy class for ALL HCFS? In this case we need to implement different `moveToTrash` behavior for o3fs/OFS and other HCFSes which the client will access.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] smengcl commented on a change in pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
smengcl commented on a change in pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#discussion_r457595248



##########
File path: hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicOzoneFileSystem.java
##########
@@ -397,6 +398,32 @@ public boolean rename(Path src, Path dst) throws IOException {
     return result;
   }
 
+  /**
+   * Intercept rename to trash calls from TrashPolicyDefault,
+   * convert them to delete calls instead.
+   */
+  @Deprecated
+  protected void rename(final Path src, final Path dst,
+      final Rename... options) throws IOException {
+    boolean hasMoveToTrash = false;
+    if (options != null) {
+      for (Rename option : options) {
+        if (option == Rename.TO_TRASH) {
+          hasMoveToTrash = true;
+          break;
+        }
+      }
+    }
+    if (!hasMoveToTrash) {
+      // if doesn't have TO_TRASH option, just pass the call to super
+      super.rename(src, dst, options);
+    } else {
+      // intercept when TO_TRASH is found

Review comment:
       done in https://github.com/apache/hadoop-ozone/pull/1215/commits/a929357c62a60bdfccfb48f1c65f5adf47c30069




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] smengcl merged pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
smengcl merged pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] smengcl commented on pull request #1215: HDDS-3982. Disable moveToTrash in o3fs and ofs temporarily

Posted by GitBox <gi...@apache.org>.
smengcl commented on pull request #1215:
URL: https://github.com/apache/hadoop-ozone/pull/1215#issuecomment-660403477


   @umamaheswararao  Thanks for the review.
   
   One question about the `fs.trash.classname` though: I actually thought about overriding it. But once this is configured to a custom class on the client it seems it will use that Trash Policy class for ALL HCFS?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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