HBASE-1529 prevent aborts due to missing zoo.cfg

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@785850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-06-17 23:02:18 +00:00
parent 4a65f06f71
commit d7005e1d4d
3 changed files with 16 additions and 0 deletions

View File

@ -357,6 +357,7 @@ Release 0.20.0 - Unreleased
come up (Jonathan Gray via Stack)
HBASE-1538 Up zookeeper timeout from 10 seconds to 30 seconds to cut down
on hbase-user traffic
HBASE-1539 prevent aborts due to missing zoo.cfg
OPTIMIZATIONS
HBASE-1412 Change values for delete column and column family in KeyValue

View File

@ -165,6 +165,7 @@
<jar jarfile="${jarfile}"
basedir="${build.classes}" >
<fileset file="${basedir}/conf/hbase-default.xml"/>
<fileset file="${basedir}/conf/zoo.cfg"/>
<zipfileset dir="${build.webapps}" prefix="webapps"/>
<manifest>
<attribute name="Main-Class" value="org/apache/hadoop/hbase/mapred/Driver" />

14
src/test/zoo.cfg Normal file
View File

@ -0,0 +1,14 @@
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
dataDir=${hbase.tmp.dir}/zookeeper
# the port at which the clients will connect
clientPort=2181
server.0=localhost:2888:3888