HBASE-11616 TestNamespaceUpgrade fails in trunk

This commit is contained in:
Jimmy Xiang 2014-07-30 13:24:12 -07:00
parent 22445d0ebb
commit f1c5741f9b
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ public class TestNamespaceUpgrade {
File untar = untar(new File(testdir.toString()));
// Now copy the untar up into hdfs so when we start hbase, we'll run from it.
Configuration conf = TEST_UTIL.getConfiguration();
conf.setBoolean("hbase.assignment.usezk", true);
FsShell shell = new FsShell(conf);
FileSystem fs = FileSystem.get(conf);
// find where hbase will root itself, so we can copy filesystem there