HBASE-8408 Implement namespace; ADDENDUM
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1511587 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
46fb7c409d
commit
d5eebc6b02
|
@ -66,7 +66,7 @@ public class TestMergeTable {
|
||||||
*/
|
*/
|
||||||
@Test (timeout=300000) public void testMergeTable() throws Exception {
|
@Test (timeout=300000) public void testMergeTable() throws Exception {
|
||||||
// Table we are manually creating offline.
|
// Table we are manually creating offline.
|
||||||
HTableDescriptor desc = new HTableDescriptor(TableName.valueOf(Bytes.toBytes("test")));
|
HTableDescriptor desc = new HTableDescriptor(org.apache.hadoop.hbase.TableName.valueOf(Bytes.toBytes("test")));
|
||||||
desc.addFamily(new HColumnDescriptor(COLUMN_NAME));
|
desc.addFamily(new HColumnDescriptor(COLUMN_NAME));
|
||||||
|
|
||||||
// Set maximum regionsize down.
|
// Set maximum regionsize down.
|
||||||
|
|
|
@ -67,7 +67,7 @@ public class TestMergeTool extends HBaseTestCase {
|
||||||
this.conf.set("hbase.hstore.compactionThreshold", "2");
|
this.conf.set("hbase.hstore.compactionThreshold", "2");
|
||||||
|
|
||||||
// Create table description
|
// Create table description
|
||||||
this.desc = new HTableDescriptor(TableName.valueOf("TestMergeTool"));
|
this.desc = new HTableDescriptor(org.apache.hadoop.hbase.TableName.valueOf("TestMergeTool"));
|
||||||
this.desc.addFamily(new HColumnDescriptor(FAMILY));
|
this.desc.addFamily(new HColumnDescriptor(FAMILY));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -268,9 +268,9 @@ public class TestMergeTool extends HBaseTestCase {
|
||||||
+ System.currentTimeMillis();
|
+ System.currentTimeMillis();
|
||||||
LOG.info("Creating log " + logPath.toString() + "/" + logName);
|
LOG.info("Creating log " + logPath.toString() + "/" + logName);
|
||||||
|
|
||||||
HLog log = HLogFactory.createHLog(this.fs, logPath,
|
HLog log = HLogFactory.createHLog(this.fs, logPath,
|
||||||
logName, this.conf);
|
logName, this.conf);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Merge Region 0 and Region 1
|
// Merge Region 0 and Region 1
|
||||||
HRegion merged = mergeAndVerify("merging regions 0 and 1 ",
|
HRegion merged = mergeAndVerify("merging regions 0 and 1 ",
|
||||||
|
|
Loading…
Reference in New Issue