HADOOP-1203. Change UpgradeUtilities used by DFS tests to use MiniDFSCluster to start and stop NameNode/DataNodes. Contributed by Nigel Daley.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@526281 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
948d0cdec4
commit
89af8294f4
|
@ -109,7 +109,7 @@ public class TestHRegion extends TestCase {
|
|||
Logger.getLogger("org.apache.hadoop.hbase").setLevel(Environment.logLevel);
|
||||
}
|
||||
|
||||
cluster = new MiniDFSCluster(65312, conf, 2, false);
|
||||
cluster = new MiniDFSCluster(conf, 2, true, null);
|
||||
fs = cluster.getFileSystem();
|
||||
parentdir = new Path("/hbase");
|
||||
fs.mkdirs(parentdir);
|
||||
|
|
Loading…
Reference in New Issue