|
@@ -19,6 +19,7 @@
|
|
package org.apache.hadoop.hdfs;
|
|
package org.apache.hadoop.hdfs;
|
|
|
|
|
|
|
|
|
|
|
|
+import org.apache.hadoop.security.AccessControlException;
|
|
import org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting;
|
|
import org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting;
|
|
import org.apache.hadoop.thirdparty.com.google.common.base.Preconditions;
|
|
import org.apache.hadoop.thirdparty.com.google.common.base.Preconditions;
|
|
import org.apache.hadoop.thirdparty.com.google.common.collect.Lists;
|
|
import org.apache.hadoop.thirdparty.com.google.common.collect.Lists;
|
|
@@ -2146,7 +2147,7 @@ public class DistributedFileSystem extends FileSystem
|
|
trashRoot + ". Rename or delete it, then try again.");
|
|
trashRoot + ". Rename or delete it, then try again.");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- } catch (FileNotFoundException ignored) {
|
|
|
|
|
|
+ } catch (FileNotFoundException | AccessControlException ignored) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|