hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Shaposhnik <...@apache.org>
Subject Running preliminary testing on HBase 0.92/Hadoop 0.22
Date Wed, 02 Nov 2011 17:18:45 GMT
I'm trying to run a few tests on the combination and I'm hitting a problem that
I haven't seen before in my setup. This could very well, be a configuration
issue, but at this point, I'm stuck and would love to hear what others
have to say.

Here's the deal: my test is doing this:

import org.apache.hadoop.hbase.HBaseConfiguration;

and is seeing the following exception:

11/11/02 12:32:20 DEBUG ipc.HBaseRPC: Using
org.apache.hadoop.hbase.ipc.WritableRpcEngine for
11/11/02 12:32:20 DEBUG ipc.HBaseClient: The ping interval is60000ms.
11/11/02 12:32:20 INFO
client.HConnectionManager$HConnectionImplementation: getMaster attempt
0 of 10 failed; retrying after sleep of 1000
java.net.UnknownHostException: unknown host: ip-10-118-254-245.ec2.internal
       at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.<init>(HBaseClient.java:232)
       at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:992)
       at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:854)
       at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:149)
       at $Proxy9.getProtocolVersion(Unknown Source)
       at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:182)
       at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:295)
       at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:272)
       at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:324)
       at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:594)
       at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:108)
       at org.apache.bigtop.itest.hbase.util.HBaseTestUtil.getAdmin(HBaseTestUtil.java:68)

The host ip-10-118-254-245.ec2.internal is a valid host name, it is
pingable and DNS lookup'able (I even added all the entries for
all the hosts in the cluster to each hosts' /etc/hosts).

On top of that a standalone hbase shell has no trouble creating tables
and putting data into them.

What can be going wrong?


View raw message