Needed to change the zk port elsewhere too to make default 21818 rather than 21810

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022276 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-10-13 20:06:29 +00:00
parent 7c8411d06a
commit 1973b02b94
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ public class TestHQuorumPeer {
@Before public void setup() throws IOException {
// Set it to a non-standard port.
TEST_UTIL.getConfiguration().setInt("hbase.zookeeper.property.clientPort",
21810);
21818);
this.dataDir = HBaseTestingUtility.getTestDir(this.getClass().getName());
FileSystem fs = FileSystem.get(TEST_UTIL.getConfiguration());
if (fs.exists(this.dataDir)) {
@ -135,4 +135,4 @@ public class TestHQuorumPeer {
assertNotNull(p);
assertEquals(2181, p.get("hbase.zookeeper.property.clientPort"));
}
}
}

View File

@ -122,7 +122,7 @@
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>21810</value>
<value>21818</value>
<description>Property from ZooKeeper's config zoo.cfg.
The port at which the clients will connect.
</description>