Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - hbase 0.94.x and hadoop 2.2


Copy link to this message
-
Re: hbase 0.94.x and hadoop 2.2
Stack 2014-01-07, 21:12
See here in the refguide for setting up 0.94 on hadoop 2.2:
http://hbase.apache.org/book.html#ftn.d2907e640

St.Ack
On Mon, Jan 6, 2014 at 4:36 PM, Kim Chew <[EMAIL PROTECTED]> wrote:

> Hello all,
>
> Does hbase 0.94.x support hadoop 2.2?
>
> Because I got this exception when trying to connect to a table,
>
> Exception in thread "main" java.lang.NoSuchMethodError:
>
> org.apache.hadoop.net.NetUtils.getInputStream(Ljava/net/Socket;)Ljava/io/InputStream;
>     at
>
> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:437)
>     at
>
> org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1124)
>     at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:974)
>     at
>
> org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:86)
>     at com.sun.proxy.$Proxy7.getProtocolVersion(Unknown Source)
>     at
>
> org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:138)
>     at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:208)
>     at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1367)
>     at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1326)
>     at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1313)
>     at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1001)
>     at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:896)
>     at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:998)
>     at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:900)
>     at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:857)
>     at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:233)
>     at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:173)
>     at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:132)
>
> So I believe the answer is no. What version of HBase should I use then?
>
> Thanks.
>
> Kim
>