Support Questions

Find answers, ask questions, and share your expertise

Hbase Region Name

avatar
New Contributor

I'm looking at the Hbase Web UI and when I click on one of the region servers listed under base stats I see a list of region names.

 

Example:

 

img,0006943d-20150504220458043384375D00000002-00093,1527295748538.7b45a9f6f5584fc50b3152d41a5323a2.

 

My question is, what part of this is the actual region name.  My understanding is, img is the table name, 0006943d-20150504220458043384375D00000002-00093 is the beginning rowkey.  Is 1527295748538.7b45a9f6f5584fc50b3152d41a5323a2. the actual region name? 

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Hello @sfdragonstorm & @pacman 

 

In the Region Name "img,0006943d-20150504220458043384375D00000002-00093,1527295748538.7b45a9f6f5584fc50b3152d41a5323a2.", the Table Name is "img", StartKey is "0006943d-20150504220458043384375D00000002-00093", Timestamp is "1527295748538" & "7b45a9f6f5584fc50b3152d41a5323a2" is the Region ID. 

 

Under HBase Data Directory, each Table Directory would have Region-Level Directories as identified by Region ID ("7b45a9f6f5584fc50b3152d41a5323a2" in Example). The Region ID is an MD5 encoded string for the Region Name & generated by HBase itself. Refer [1], if your Team wish to review the same. 

 

Regards, Smarak

 

[1] https://hbase.apache.org/apidocs/src-html/org/apache/hadoop/hbase/client/RegionInfo.html#line.164

 

View solution in original post

4 REPLIES 4

avatar
Rising Star

Hi ,

 

       We say the entire entry as region name.

       The region name is formed by the table name, the start key, the timestamp, and the encoded region name.

 

       table name :- img

       start key     :-  0006943d-20150504220458043384375D00000002-00093

       Timestamp :-  1527295748538

       Encoded Region name :- 7b45a9f6f5584fc50b3152d41a5323a2

 

    Please let me know if you have any doubts.

 

Regards,

Ganesh

avatar
Rising Star

@CLDR what is this encoded region name, how is it formed?

avatar
Community Manager

@pacman, as this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Super Collaborator

Hello @sfdragonstorm & @pacman 

 

In the Region Name "img,0006943d-20150504220458043384375D00000002-00093,1527295748538.7b45a9f6f5584fc50b3152d41a5323a2.", the Table Name is "img", StartKey is "0006943d-20150504220458043384375D00000002-00093", Timestamp is "1527295748538" & "7b45a9f6f5584fc50b3152d41a5323a2" is the Region ID. 

 

Under HBase Data Directory, each Table Directory would have Region-Level Directories as identified by Region ID ("7b45a9f6f5584fc50b3152d41a5323a2" in Example). The Region ID is an MD5 encoded string for the Region Name & generated by HBase itself. Refer [1], if your Team wish to review the same. 

 

Regards, Smarak

 

[1] https://hbase.apache.org/apidocs/src-html/org/apache/hadoop/hbase/client/RegionInfo.html#line.164