I believe that it is possible but you need to modify the config to point at 
different ports / directories for each component.  To make sure that you get 
all of the ports/directories, you will have to go through the hbase-default.xml 
file and copy each variable that defines a port or directory into your 
hbase-site.xml file.  Each cluster is going to have a separate hbase-site.xml.

Some of the config variables to look for:
Hbase home: the HDFS location of hbase (default is /hbase)
Hbase port: default is 60000 (also look for 60010 and 60030 as those are also 
used)

If you don't want to share zookeeper, you would have to also update all of the 
zookeeper directories and ports.  However, you should be able to share 
zookeeper as long as you update the zookeeper path that hbase uses (usually 
/hbase)

Good luck,
Dave


-----Original Message-----
From: seven garfee [mailto:[email protected]] 
Sent: Monday, July 25, 2011 2:09 AM
To: [email protected]
Subject: run multiple cluster on same nodes

hi,all
   I set up one hbase cluster on 8 nodes successfully.Each node has a
RegionServer on it.
   For some reason,i need set up another hbase cluster on the same 8 nodes.
   But when a start up hbase,and run 'status' on hbase shell, something
strange happened!!!
   The new hbase cluster claim that,it has 16 RegionServer,that means the
First Cluster's RegionServer is under Second Cluster.

   Can Mulitple Cluster be deployed on the same Nodes?

   I use Hbase-0.90.3 and ZK is managed by Hbase.

Reply via email to