public class TestBlockReorderBlockLocation extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hdfs.MiniDFSCluster |
cluster |
private org.apache.hadoop.conf.Configuration |
conf |
private org.apache.hadoop.hdfs.DistributedFileSystem |
dfs |
private static String |
host1 |
private static String |
host2 |
private static String |
host3 |
private HBaseTestingUtility |
htu |
org.junit.rules.TestName |
name |
Constructor and Description |
---|
TestBlockReorderBlockLocation() |
Modifier and Type | Method and Description |
---|---|
private static org.apache.hadoop.hdfs.protocol.ClientProtocol |
getNamenode(org.apache.hadoop.hdfs.DFSClient dfsc) |
void |
setUp() |
void |
tearDownAfterClass() |
void |
testBlockLocation()
Test that the reorder algo works as we expect.
|
public static final HBaseClassTestRule CLASS_RULE
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.hdfs.MiniDFSCluster cluster
private HBaseTestingUtility htu
private org.apache.hadoop.hdfs.DistributedFileSystem dfs
private static final String host1
private static final String host2
private static final String host3
public org.junit.rules.TestName name
public TestBlockReorderBlockLocation()
public void tearDownAfterClass() throws Exception
Exception
private static org.apache.hadoop.hdfs.protocol.ClientProtocol getNamenode(org.apache.hadoop.hdfs.DFSClient dfsc) throws Exception
Exception
public void testBlockLocation() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.