Created on 10-30-2019 06:45 AM - last edited on 10-30-2019 11:23 AM by ask_bill_brooks
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?
Created 11-21-2022 02:24 AM
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
Created 10-30-2019 09:32 PM
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
Created 11-20-2022 11:43 PM
@CLDR what is this encoded region name, how is it formed?
Created 11-21-2022 01:34 AM
@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,Created 11-21-2022 02:24 AM
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