You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by sepideh <se...@gmail.com> on 2011/08/01 15:29:27 UTC

Re: ClientProtocol version mismatch. (client = 42, server = 41) error after upgrading from 0.89 to 0.90

Hi all,

I have the same problem while trying to run hbase on ubuntu 11.4 system. I have
installed hadoop-0.20.2 and run the wordcount example and It's working fine. But
I recieve this error message after starting hbase. I have read your answers and
the solution on http://hbase.apache.org/notsoquick.html#hadoop. But I have
trouble understanding what to do. Would you mind telling me what exactly to do
in a simple way please? I'd really appreciate it.
thanks in advance for your time and help. :)

sepideh




Re: ClientProtocol version mismatch. (client = 42, server = 41) error after upgrading from 0.89 to 0.90

Posted by sepideh <se...@gmail.com>.
Ted Yu <yu...@...> writes:

> 
> Remove hadoop-*.jar from $HBASE_HOME/lib.
> Copy hadoop-0.20.2 jar to hbase lib directory.
> 
> This needs to be done on every node in the cluster.

thanks for your reply. I'm testing it on a single cluster. I did that and
received this error:

2011-08-02 13:30:41,211 WARN org.apache.hadoop.hbase.master.AssignmentManager: 
Failed assignment of -ROOT-,,0.70236052 to serverName=localhost,33383,
1312275633773, load=(requests=0, regions=0, usedHeap=30, maxHeap=995), 
trying to assign elsewhere instead; retry=0
org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed setting up
proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface to 
/127.0.0.1:33383 after attempts=1
	at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:355)
	at org.apache.hadoop.hbase.client.
	HConnectionManager$HConnectionImplementation.getHRegionConnection
(HConnectionManager.java:957)
	at org.apache.hadoop.hbase.master.
ServerManager.getServerConnection(ServerManager.java:618)
	at org.apache.hadoop.hbase.master.
ServerManager.sendRegionOpen(ServerManager.java:553)
	at org.apache.hadoop.hbase.master.
AssignmentManager.assign(AssignmentManager.java:931)
	at org.apache.hadoop.hbase.master.
AssignmentManager.assign(AssignmentManager.java:746)
	at org.apache.hadoop.hbase.master.
AssignmentManager.assign(AssignmentManager.java:726)
	at org.apache.hadoop.hbase.master.
AssignmentManager.assignRoot(AssignmentManager.java:1200)
	at org.apache.hadoop.hbase.master.
HMaster.assignRootAndMeta(HMaster.java:432)
	at org.apache.hadoop.hbase.master.
HMaster.finishInitialization(HMaster.java:389)
	at org.apache.hadoop.hbase.master.
HMaster.run(HMaster.java:283)
	at org.apache.hadoop.hbase.master.
HMasterCommandLine$LocalHMaster.run
(HMasterCommandLine.java:193)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect
(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect
(SocketChannelImpl.java:567)
	at org.apache.hadoop.net.SocketIOWithTimeout.connect
(SocketIOWithTimeout.java:206)
	at org.apache.hadoop.net.NetUtils.connect
(NetUtils.java:404)
	at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.
setupIOstreams(HBaseClient.java:328)
	at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection
(HBaseClient.java:883)
	at org.apache.hadoop.hbase.ipc.HBaseClient.call
(HBaseClient.java:750)
	at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(
HBaseRPC.java:257)
	at $Proxy8.getProtocolVersion(Unknown Source)
	at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy
(HBaseRPC.java:419)
	at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy
(HBaseRPC.java:393)
	at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy
(HBaseRPC.java:444)
	at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy
(HBaseRPC.java:349)
	... 12 more


Re: ClientProtocol version mismatch. (client = 42, server = 41) error after upgrading from 0.89 to 0.90

Posted by Ted Yu <yu...@gmail.com>.
Remove hadoop-*.jar from $HBASE_HOME/lib.
Copy hadoop-0.20.2 jar to hbase lib directory.

This needs to be done on every node in the cluster.

On Mon, Aug 1, 2011 at 6:29 AM, sepideh <se...@gmail.com> wrote:

> Hi all,
>
> I have the same problem while trying to run hbase on ubuntu 11.4 system. I
> have
> installed hadoop-0.20.2 and run the wordcount example and It's working
> fine. But
> I recieve this error message after starting hbase. I have read your answers
> and
> the solution on http://hbase.apache.org/notsoquick.html#hadoop. But I have
> trouble understanding what to do. Would you mind telling me what exactly to
> do
> in a simple way please? I'd really appreciate it.
> thanks in advance for your time and help. :)
>
> sepideh
>
>
>
>