Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HBase regions are moved on the same machine

Solved Go to solution

HBase regions are moved on the same machine

Champion Alumni

Hello,

 

 

I have several HBase tables (each with a bunch of regions), and I do not understand why, but Hbase tends to put all the regions of the same table on the same machine.

 

However, I already moved the regions in order to have regions from each table on all workers (with the move command), and the day after I saw that the regions were again on either less machines, either on one machine. 

 

I tried to do 'balance_switch false' but with no success (the regions were still moved on one machine..).

 

 

I do not want to have them on less machines, because if all the regions are on one machine, then only one machine is working...

 

Do I get it wrong? Should I let Hbase move the regions on one machine/less machines?

 

 

Thank you!

 

 

 

GHERMAN Alina
1 ACCEPTED SOLUTION

Accepted Solutions

Re: HBase regions are moved on the same machine

Champion Alumni

I found a partial answer to my question:

 

http://hadoop-hbase.blogspot.fr/2013/07/hbase-and-data-locality.html 

 

Since I am in DEV, I start and Stop the machines every day. Also, we do restart the service from time to time. 

 

 

GHERMAN Alina
2 REPLIES 2
Highlighted

Re: HBase regions are moved on the same machine

Champion Alumni
Hello, I also have a quick question.

On the HBase interface http://<hbase ip>:60010/table.jsp?name=table_name we can see where is each region located.

However, normally I have a replication of 3.
How is this done? For a region X, is the hole region duplicated on 2 other servers? How can I found out the 2 other servers on wich I can find this X region?
GHERMAN Alina

Re: HBase regions are moved on the same machine

Champion Alumni

I found a partial answer to my question:

 

http://hadoop-hbase.blogspot.fr/2013/07/hbase-and-data-locality.html 

 

Since I am in DEV, I start and Stop the machines every day. Also, we do restart the service from time to time. 

 

 

GHERMAN Alina
Don't have an account?
Coming from Hortonworks? Activate your account here