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:
Thomas White 2007-04-06 21:09:28 +00:00
parent 948d0cdec4
commit 89af8294f4
1 changed files with 1 additions and 1 deletions

View File

@ -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);