public class TestFSHDFSUtils extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestFSHDFSUtils.IsFileClosedDistributedFileSystem
Version of DFS that has HDFS-4525 in it.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.fs.Path |
FILE |
private org.apache.hadoop.hbase.util.FSHDFSUtils |
fsHDFSUtils |
private static HBaseTestingUtility |
HTU |
private static org.slf4j.Logger |
LOG |
(package private) long |
startTime |
Constructor and Description |
---|
TestFSHDFSUtils() |
Modifier and Type | Method and Description |
---|---|
void |
setup() |
void |
testIsFileClosed()
Test that isFileClosed makes us recover lease faster.
|
void |
testIsSameHdfs() |
(package private) void |
testIsSameHdfs(int nnport) |
void |
testRecoverLease()
Test recover lease eventually succeeding.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility HTU
private org.apache.hadoop.hbase.util.FSHDFSUtils fsHDFSUtils
private static org.apache.hadoop.fs.Path FILE
long startTime
public TestFSHDFSUtils()
public void setup()
public void testRecoverLease() throws IOException
IOException
public void testIsFileClosed() throws IOException
IOException
void testIsSameHdfs(int nnport) throws IOException
IOException
public void testIsSameHdfs() throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.