Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DBBEC4A2 for ; Wed, 26 Jun 2013 08:50:03 +0000 (UTC) Received: (qmail 87421 invoked by uid 500); 26 Jun 2013 08:49:56 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 87258 invoked by uid 500); 26 Jun 2013 08:49:55 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 87251 invoked by uid 99); 26 Jun 2013 08:49:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 08:49:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of justlooks@gmail.com designates 209.85.219.42 as permitted sender) Received: from [209.85.219.42] (HELO mail-oa0-f42.google.com) (209.85.219.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 08:49:49 +0000 Received: by mail-oa0-f42.google.com with SMTP id j6so5056067oag.1 for ; Wed, 26 Jun 2013 01:49:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=J2oxd1GV8HqT3JI1pV0cgEUXMQEqrjR6GZhRgrIzwhA=; b=StGb2Brx/y0edHYb8fqbzwFI3oZz1PJTSmQx43Krrta+XUkSqct5V3q+7cXAxeMlem 7s4nUxeQa8kSRBInvLdEGJB/tFiTXeudnEmIL31ztlvvhtxZdXftdLM4Mod4RRW6EoZa 5VRiABhaeq5Th19U+m15L94myfBKdrHnIkMvVoTAje3icKfVhghOIpx3l76L6hWt/oOc jfEUaYwybCwKLiITv4SnH9qTW+TbGSp4HZTUkbFdxNNu97ju9VSWPlQITTxOyvnnSp6z ZEIXnIu3jcbefAx/qipGUh+QZPvrdXSlyRkzoi4e0ZJgVoA7TcjCGwXZPyioqIUxUW51 8OWw== MIME-Version: 1.0 X-Received: by 10.182.148.100 with SMTP id tr4mr1206955obb.53.1372236569127; Wed, 26 Jun 2013 01:49:29 -0700 (PDT) Received: by 10.182.103.41 with HTTP; Wed, 26 Jun 2013 01:49:29 -0700 (PDT) In-Reply-To: <06006DDA5A27D541991944AC4117E7A96E1C9A62@szxeml560-mbx.china.huawei.com> References: <06006DDA5A27D541991944AC4117E7A96E1C9A62@szxeml560-mbx.china.huawei.com> Date: Wed, 26 Jun 2013 16:49:29 +0800 Message-ID: Subject: Re: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch From: ch huang To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0122ac804030c404e00ab9c3 X-Virus-Checked: Checked by ClamAV on apache.org --089e0122ac804030c404e00ab9c3 Content-Type: text/plain; charset=ISO-8859-1 i also test my hbase master node can not start, i change zookeeper client port from 2181 to 2281 2013-06-26 16:47:18,583 INFO org.apache.zookeeper.ZooKeeper: Client environment:user.home=/var/run/hbase 2013-06-26 16:47:18,583 INFO org.apache.zookeeper.ZooKeeper: Client environment:user.dir=/root 2013-06-26 16:47:18,584 INFO org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=CH22:2181 sessionTimeout=180000 watcher=master:60000 2013-06-26 16:47:18,594 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/0:0:0:0:0:0:0:1:2181 2013-06-26 16:47:18,599 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143) 2013-06-26 16:47:19,631 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/192.168.10.22:2181 2013-06-26 16:47:19,632 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143) 2013-06-26 16:47:21,385 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/0:0:0:0:0:0:0:1:2181 2013-06-26 16:47:21,385 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143) 2013-06-26 16:47:22,378 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/192.168.10.22:2181 2013-06-26 16:47:22,379 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143) 2013-06-26 16:47:24,097 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/0:0:0:0:0:0:0:1:2181 2013-06-26 16:47:24,097 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143) 2013-06-26 16:47:24,441 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/192.168.10.22:2181 2013-06-26 16:47:24,442 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143) On Wed, Jun 26, 2013 at 4:38 PM, Devaraj k wrote: > You need to update the jars in client side with the jars which server > uses. **** > > ** ** > > Thanks**** > > Devaraj k**** > > ** ** > > *From:* ch huang [mailto:justlooks@gmail.com] > *Sent:* 26 June 2013 14:04 > *To:* user@hadoop.apache.org > *Subject:* eclipse connect problem in CDH3u4 Protocol > ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch**** > > ** ** > > i already test eclispe connnect apache HDFS,is ok,**** > > but i connect CDH3u4 HDFS, it get error (i use same library)**** > > Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch > (client=61,server=63)**** > --089e0122ac804030c404e00ab9c3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
i also test my hbase master node can not start, i change zookeeper cli= ent port from 2181 to 2281
=C2=A0
2013-06-26 16:47:18,583 INFO org.apache.zookeeper.ZooKeeper: Client en= vironment:user.home=3D/var/run/hbase
2013-06-26 16:47:18,583 INFO org.ap= ache.zookeeper.ZooKeeper: Client environment:user.dir=3D/root
2013-06-26= 16:47:18,584 INFO org.apache.zookeeper.ZooKeeper: Initiating client connec= tion, connectString=3DCH22:2181 sessionTimeout=3D180000 watcher=3Dmaster:60= 000
2013-06-26 16:47:18,594 INFO org.apache.zookeeper.ClientCnxn: Opening socke= t connection to server CH22/0:0:0:0:0:0:0:1:2181
2013-06-26 16:47:18,599= WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpec= ted error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Meth= od)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChann= elImpl.finishConnect(SocketChannelImpl.java:599)
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 at org.apache.zookeeper.ClientCnxn$SendThread.run(Cli= entCnxn.java:1143)
2013-06-26 16:47:19,631 INFO org.apache.zookeeper.ClientCnxn: Opening socke= t connection to server CH22/192.168.1= 0.22:2181
2013-06-26 16:47:19,632 WARN org.apache.zookeeper.ClientCn= xn: Session 0x0 for server null, unexpected error, closing socket connectio= n and attempting reconnect
java.net.ConnectException: Connection refused
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Meth= od)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChann= elImpl.finishConnect(SocketChannelImpl.java:599)
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 at org.apache.zookeeper.ClientCnxn$SendThread.run(Cli= entCnxn.java:1143)
2013-06-26 16:47:21,385 INFO org.apache.zookeeper.ClientCnxn: Opening socke= t connection to server CH22/0:0:0:0:0:0:0:1:2181
2013-06-26 16:47:21,385= WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpec= ted error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Meth= od)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChann= elImpl.finishConnect(SocketChannelImpl.java:599)
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 at org.apache.zookeeper.ClientCnxn$SendThread.run(Cli= entCnxn.java:1143)
2013-06-26 16:47:22,378 INFO org.apache.zookeeper.ClientCnxn: Opening socke= t connection to server CH22/192.168.1= 0.22:2181
2013-06-26 16:47:22,379 WARN org.apache.zookeeper.ClientCn= xn: Session 0x0 for server null, unexpected error, closing socket connectio= n and attempting reconnect
java.net.ConnectException: Connection refused
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Meth= od)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChann= elImpl.finishConnect(SocketChannelImpl.java:599)
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 at org.apache.zookeeper.ClientCnxn$SendThread.run(Cli= entCnxn.java:1143)
2013-06-26 16:47:24,097 INFO org.apache.zookeeper.ClientCnxn: Opening socke= t connection to server CH22/0:0:0:0:0:0:0:1:2181
2013-06-26 16:47:24,097= WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpec= ted error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Meth= od)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChann= elImpl.finishConnect(SocketChannelImpl.java:599)
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 at org.apache.zookeeper.ClientCnxn$SendThread.run(Cli= entCnxn.java:1143)
2013-06-26 16:47:24,441 INFO org.apache.zookeeper.ClientCnxn: Opening socke= t connection to server CH22/192.168.1= 0.22:2181
2013-06-26 16:47:24,442 WARN org.apache.zookeeper.ClientCn= xn: Session 0x0 for server null, unexpected error, closing socket connectio= n and attempting reconnect
java.net.ConnectException: Connection refused
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Meth= od)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at sun.nio.ch.SocketChann= elImpl.finishConnect(SocketChannelImpl.java:599)
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 at org.apache.zookeeper.ClientCnxn$SendThread.run(Cli= entCnxn.java:1143)


On Wed, Jun 26, 2013 at 4:38 PM, Devaraj k <= devaraj.k@huawei.com> wrote:

You need to update the jars in = client side with the jars which server uses.

=C2=A0

Thanks

Devaraj k<= /p>

=C2=A0

From: ch huang [mailto:justlooks@gmail.com]
Sent: 26 June 2013 14:04
To:
user@hadoop.apache.org
Subject: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protoca= l.ClientProtocol version mismatch

=C2=A0

i already test eclispe connnect apache HDFS,is ok,

but i connect=C2=A0 CDH3u4 HDFS, it get error=C2=A0 = (i use same library)

Proto= col ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch (client= =3D61,server=3D63)


--089e0122ac804030c404e00ab9c3--