Hi

We are running two standalone instances of HBase on our developer nodes (one
for the application and another one for integration tests). 

I am new to Zookeeper and therefore just want to make sure if I configured
everything correctly. Can someone tell me if this is ok ? Basically I just
changed the identifier strings, temporary directories and ports of all
services - Below is my configuration.

Thanks in advance!

Instance #1 runs with HBase default configuration - the only changes I made
to the configuration is

hbase-env.sh:
export HBASE_IDENT_STRING=$USER-dev-0.20.1

hbase-site.xml
<property>
        <name>hbase.rootdir</name>
        <value>file:///Users/${user.name}/hbase-data/dev</value>
</property>
<property>
        <name>hbase.tmp.dir</name>
        <value>/tmp/hbase-${user.name}-dev</value>
</property>
 
Instance #2 runs with the following configuration: 

hbase-env.sh
export HBASE_IDENT_STRING=$USER-xtest-0.20.1

hbase-size-xml
 <property>
   <name>hbase.master.port</name>
   <value>60001</value>
 </property>
<property>
        <name>hbase.rootdir</name>
        <value>file:///Users/${user.name}/hbase-data/xtest</value>
</property>
<property>
        <name>hbase.master.info.port</name>
        <value>60011</value>
</property>
<property>
        <name>hbase.regionserver.port</name>
        <value>60020</value>
</property>
<property>
        <name>hbase.regionserver.info.port</name>
        <value>60031</value>
</property>
<property>
        <name>hbase.tmp.dir</name>
        <value>/tmp/hbase-${user.name}-xtest</value>
</property>
<property>
        <name>hbase.zookeeper.peerport</name>
        <value>2889</value>
</property>
<property>
        <name>hbase.zookeeper.leaderport</name>
        <value>3889</value>
</property>
<property>
        <name>hbase.zookeeper.property.clientPort</name>
        <value>2182</value>
</property>
-- 
View this message in context: 
http://old.nabble.com/Running-two-instances-of-Hbase-on-a-single-node-tp26298939p26298939.html
Sent from the HBase User mailing list archive at Nabble.com.

Reply via email to