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

Switch to Plain View
HBase >> mail # user >> Connection to two difference versions


+
Sebastian Bauer 2011-11-17, 10:24
Copy link to this message
-
Re: Connection to two difference versions
Short answer no, not from java. You have a class loader problem which may make it difficult to instantiate a connection and HBase objects in the second instance.

Longer answer... Let me think about it...

Of course having said that... I'm sure someone already has done this...

Sent from a remote device. Please excuse any typos...

Mike Segel

On Nov 17, 2011, at 4:24 AM, Sebastian Bauer <[EMAIL PROTECTED]> wrote:

> Hi. Is there any way to connect to two difference hbase versions?
> I try copytable mapreduce and i got:
>
> 11/11/17 11:19:28 WARN client.HConnectionManager$HConnectionImplementation: RemoteException connecting to RS
> org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.io.VersionMismatchException
>        at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:881)
>        at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:149)
>        at $Proxy7.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.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:228)
>        at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1197)
>
> --
>
> Pozdrawiam
> Sebastian Bauer
> -----------------------------------------------------
> http://tikecik.pl
>
>