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.

Where and how can I find the peer.adr value in HBase?

SOLVED Go to solution
Highlighted

Where and how can I find the peer.adr value in HBase?

Expert Contributor

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Where and how can I find the peer.adr value in HBase?

@Alex Raj

Example n1, n2 , n3 = zk address

hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=n1,n2,n3:2181:/hbase table

4 REPLIES 4

Re: Where and how can I find the peer.adr value in HBase?

@Alex Raj

Example n1, n2 , n3 = zk address

hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=n1,n2,n3:2181:/hbase table

Re: Where and how can I find the peer.adr value in HBase?

Expert Contributor

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.

Re: Where and how can I find the peer.adr value in HBase?

@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

Re: Where and how can I find the peer.adr value in HBase?

Expert Contributor

Jonas. Thanks a lot for the information. I am gonna try that one now.

Your guys are really swift in helping. Much appreciated.