Skip to content

Commit d107931

Browse files
HADOOP-19188. Fix TestHarFileSystem and TestFilterFileSystem failing after bulk delete API got added. (#6848)
Follow up to: HADOOP-18679 Add API for bulk/paged delete of files and objects Contributed by Mukund Thakur
1 parent ccb8ff4 commit d107931

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFilterFileSystem.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ public Token<?>[] addDelegationTokens(String renewer, Credentials creds)
148148

149149
FSDataOutputStream append(Path f, int bufferSize,
150150
Progressable progress, boolean appendToNewBlock) throws IOException;
151+
BulkDelete createBulkDelete(Path path) throws IllegalArgumentException, IOException;
151152
}
152153

153154
@Test

hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestHarFileSystem.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ FSDataOutputStream append(Path f, int bufferSize,
257257
Progressable progress, boolean appendToNewBlock) throws IOException;
258258

259259
Path getEnclosingRoot(Path path) throws IOException;
260+
261+
BulkDelete createBulkDelete(Path path) throws IllegalArgumentException, IOException;
260262
}
261263

262264
@Test

0 commit comments

Comments
 (0)