File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1919package org .apache .hadoop .hdfs ;
2020
2121
22+ import org .apache .hadoop .security .AccessControlException ;
2223import org .apache .hadoop .thirdparty .com .google .common .annotations .VisibleForTesting ;
2324import org .apache .hadoop .thirdparty .com .google .common .base .Preconditions ;
2425import org .apache .hadoop .thirdparty .com .google .common .collect .Lists ;
@@ -2146,7 +2147,7 @@ private void checkTrashRootAndRemoveIfEmpty(final Path p) throws IOException {
21462147 trashRoot + ". Rename or delete it, then try again." );
21472148 }
21482149 }
2149- } catch (FileNotFoundException ignored ) {
2150+ } catch (FileNotFoundException | AccessControlException ignored ) {
21502151 }
21512152 }
21522153
You can’t perform that action at this time.
0 commit comments