Skip to content

Commit

Permalink
HDDS-10166. Fix Path import
Browse files Browse the repository at this point in the history
Signed-off-by: Rishabh Patel <ptlrshb@gmail.com>
  • Loading branch information
ptlrs committed Nov 7, 2024
1 parent 072d63d commit 234173d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
*/
public class TestHadoopDirTreeGenerator {
@TempDir
private Path path;
private java.nio.file.Path path;
private OzoneConfiguration conf = null;
private MiniOzoneCluster cluster = null;
private ObjectStore store = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public class TestOzoneShellHA {

private static final String DEFAULT_ENCODING = UTF_8.name();
@TempDir
private static Path path;
private static java.nio.file.Path path;
@TempDir
private static File kmsDir;
private static File testFile;
Expand Down Expand Up @@ -174,7 +174,6 @@ public static void init() throws Exception {
}

protected static void startKMS() throws Exception {
assertTrue(kmsDir.mkdirs());
MiniKMS.Builder miniKMSBuilder = new MiniKMS.Builder();
miniKMS = miniKMSBuilder.setKmsConfDir(kmsDir).build();
miniKMS.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import com.google.common.base.Strings;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hdds.cli.GenericCli;
import org.apache.hadoop.hdds.conf.OzoneConfiguration;
import org.apache.hadoop.io.retry.RetryInvocationHandler;
Expand Down Expand Up @@ -55,6 +54,7 @@
import java.io.IOException;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
import java.nio.file.Path;
import java.security.PrivilegedExceptionAction;
import java.util.Arrays;
import java.util.List;
Expand Down

0 comments on commit 234173d

Please sign in to comment.