+++++++++++++++++++++++++++++++++++++++++++
How to move a region from 1 RS to another Region server:-
+++++++++++++++++++++++++++++++++++++++++++
Example:-
In the Hbase master WebUI -> http://test:16010/table.jsp?name=TestTable
Tablename : TestTable
Sample Output(1 region):-
Name Region Server Start Key End Key Locality Requests
TestTable,00000000000000000000262648,1527980239389.b7becd909ed767e0678c0cf941f88470. test4.openstacklocal:16020 00000000000000000000262648 0000000000000000000052533 0.5169431 0
Table regions -- > TestTable,00000000000000000000262648,1527980239389.b7becd909ed767e0678c0cf941f88470.
Actual region name --> "b7becd909ed767e0678c0cf941f88470"
Command to move in "hbase shell":-
Once the region name is identified follow this command to move
hbase(main):003:0> move 'b7becd909ed767e0678c0cf941f88470','test1.openstacklocal,16020'
0 row(s) in 0.6940 seconds
Here I have re-assigned the region from "test4.openstacklocal:16020" to "test1.openstacklocal,16020"
You can refresh the master UI page and see if this got reflected.
Subscribe to:
Post Comments (Atom)
Boost Your Download Speed with lftp Segmentation
Looking for a faster way to download files via sftp to a Linux machine? Try using "lftp" instead. This tool offers segmented downl...
Other relevant topics
-
Hive metastore DB Connection verification from Command line:- You can run the following on any node where ambari agent installed on the ...
-
Using PIG to load into Hbase:- In this article we will see how to join 2 datasets in PIG and load the joined, filtered data into HBASE t...
-
+++++++++++++++++++++++++++++++++++++++++++ How to move a region from 1 RS to another Region server:- ++++++++++++++++++++++++++++++++++++...
No comments:
Post a Comment