diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestHarFileSystem.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestHarFileSystem.java index 6fc777b984005..e1d49f20cf6fa 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestHarFileSystem.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestHarFileSystem.java @@ -19,6 +19,7 @@ package org.apache.hadoop.fs; import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.fs.impl.OpenFileParameters; import org.apache.hadoop.fs.permission.AclEntry; import org.apache.hadoop.fs.permission.AclStatus; import org.apache.hadoop.fs.permission.FsAction; @@ -246,15 +247,11 @@ FutureDataInputStreamBuilder openFile(PathHandle pathHandle) CompletableFuture openFileWithOptions( PathHandle pathHandle, - Set mandatoryKeys, - Configuration options, - int bufferSize) throws IOException; + OpenFileParameters parameters) throws IOException; CompletableFuture openFileWithOptions( Path path, - Set mandatoryKeys, - Configuration options, - int bufferSize) throws IOException; + OpenFileParameters parameters) throws IOException; } @Test