<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HBase replication to Amazon AWS: &amp;quot;Unknown Host&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/28634#M6296</link>
    <description>Check your VPC configuration and ensure "DNS resolution" is turned on.&lt;BR /&gt;There's no need to restart the instances.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 17 Jun 2015 19:12:48 GMT</pubDate>
    <dc:creator>GautamG</dc:creator>
    <dc:date>2015-06-17T19:12:48Z</dc:date>
    <item>
      <title>HBase replication to Amazon AWS: "Unknown Host"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/28633#M6295</link>
      <description>&lt;P&gt;We are currently trying to set up HBase replication from a&amp;nbsp;cluster on our own hardware, to a new one on our VPC on Amazon&amp;nbsp;AWS&lt;/P&gt;&lt;P&gt;(for disaster recovery).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Amazon nodes have Private DNS like: ip-10-3-1-61.us-west-2.compute.internal and Private IPs like 10.3.1.61&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All nodes on our hardware can ping, ssh, telnet etc to the Amazon nodes (using the IP or FQDN), and vice versa. There are entries in the&lt;/P&gt;&lt;P&gt;/etc/hosts files on all servers on&amp;nbsp;&lt;SPAN&gt;both sides to ensure resolution. Our servers are running Ubuntu 12.04, the AWS ones are Red Hat 6.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both clusters are running HBase 0.98.6, both have replication set to true. The tables we want replicated have replication_scope set to 1. I've&lt;/P&gt;&lt;P&gt;added the peer entry in hbase shell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So everything seems good. However, when I start replication I see this in the Hbase logs on the master side:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2015-06-16 12:37:15,643 WARN org.apache.hadoop.hbase.replication.regionserver.ReplicationSource: Can't replicate because of a local or network error: &lt;/SPAN&gt;&lt;BR /&gt;java.net&lt;SPAN&gt;.UnknownHostException: unknown host: &lt;/SPAN&gt;ip-10-3-1-62.us&lt;SPAN&gt;-west-2.compute.internal &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.ipc.RpcClient$Connection.&amp;lt;init&amp;gt;(RpcClient.java:385) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.ipc.RpcClient.createConnection(RpcClient.java:351) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.ipc.RpcClient.getConnection(RpcClient.java:1530) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.ipc.RpcClient.call(RpcClient.java:1442) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.ipc.RpcClient.callBlockingMethod(RpcClient.java:1661) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.ipc.RpcClient$BlockingRpcChannelImplementation.callBlockingMethod(RpcClient.java:1719) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$BlockingStub.replicateWALEntry(AdminProtos.java:21036) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.protobuf.ReplicationProtbufUtil.replicateWALEntry(ReplicationProtbufUtil.java:65) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.shipEdits(ReplicationSource.java:730) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.run(ReplicationSource.java:388) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I understand the error, I just don't understand how it's getting it. What process is not able to resolve the hostname?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:31:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/28633#M6295</guid>
      <dc:creator>hurryUpHarry</dc:creator>
      <dc:date>2022-09-16T09:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: HBase replication to Amazon AWS: "Unknown Host"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/28634#M6296</link>
      <description>Check your VPC configuration and ensure "DNS resolution" is turned on.&lt;BR /&gt;There's no need to restart the instances.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2015 19:12:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/28634#M6296</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2015-06-17T19:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: HBase replication to Amazon AWS: "Unknown Host"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/28636#M6297</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;Gautam,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes both 'DNS Resolution' and 'DNS Hostnames' are set to YES for the VPC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 19:18:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/28636#M6297</guid>
      <dc:creator>hurryUpHarry</dc:creator>
      <dc:date>2015-06-17T19:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: HBase replication to Amazon AWS: "Unknown Host"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/28645#M6298</link>
      <description>&lt;P&gt;I realised the problem. My /etc/hosts file on the AWS cluster nodes needed to contain references to each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had added references to the source cluster nodes, but the AWS nodes needed to be in there too.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 21:00:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/28645#M6298</guid>
      <dc:creator>hurryUpHarry</dc:creator>
      <dc:date>2015-06-17T21:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: HBase replication to Amazon AWS: "Unknown Host"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/78360#M6299</link>
      <description>&lt;P&gt;please, could you put, your hosts file example?&lt;BR /&gt;what did you put there?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 11:37:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-replication-to-Amazon-AWS-quot-Unknown-Host-quot/m-p/78360#M6299</guid>
      <dc:creator>arsooo</dc:creator>
      <dc:date>2018-08-11T11:37:21Z</dc:date>
    </item>
  </channel>
</rss>

