Created 12-16-2015 12:30 PM
Hi,
I need to copy an exiting table from one cluster to another. I will be using the
hbase org.apache.hadoop.hbase.mapreduce.CopyTable
command to achieve this operation however i need to know a parameter which I should pass along with it i.e peer.adr. Do any body has got any clue on how to get this information from Hbase?
Created 12-16-2015 12:34 PM
Example n1, n2 , n3 = zk address
hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=n1,n2,n3:2181:/hbase table
Created 12-16-2015 12:34 PM
Created 12-17-2015 05:57 AM
Thanks for your response, Neeraj. I have already been through the example however my question is on how to find the peer address of the HBase cluster. Is there any command or should I be looking into any config file to get the address? I can talk with my devops if you have any clue.
Much appreciate your time.
Created 12-17-2015 09:03 AM
@Alex Raj you can find the right value for peer.adr in your HBASE configuration (hbase-site.xml). The config is called hbase.zookeeper.quorum
Created 12-17-2015 10:12 AM
Jonas. Thanks a lot for the information. I am gonna try that one now.
Your guys are really swift in helping. Much appreciated.