public class TestBlockReorderMultiBlocks 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 |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
Constructor and Description |
---|
TestBlockReorderMultiBlocks() |
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() |
private void |
testFromDFS(org.apache.hadoop.hdfs.DistributedFileSystem dfs,
String src,
int repCount,
String localhost) |
void |
testHBaseCluster()
Test that the hook works within HBase, including when there are multiple blocks.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
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 TestBlockReorderMultiBlocks()
public void tearDownAfterClass() throws Exception
Exception
public void testHBaseCluster() throws Exception
Exception
private void testFromDFS(org.apache.hadoop.hdfs.DistributedFileSystem dfs, String src, int repCount, String localhost) throws Exception
Exception
private static org.apache.hadoop.hdfs.protocol.ClientProtocol getNamenode(org.apache.hadoop.hdfs.DFSClient dfsc) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.