You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by ch huang <ju...@gmail.com> on 2013/06/26 10:33:44 UTC

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)

Re: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by ch huang <ju...@gmail.com>.
i modified /etc/hbase/conf/hbase-site.xml ,now it's work fine

On Wed, Jun 26, 2013 at 4:49 PM, ch huang <ju...@gmail.com> wrote:

> 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 <de...@huawei.com> 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)****
>>
>
>

Re: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by ch huang <ju...@gmail.com>.
i modified /etc/hbase/conf/hbase-site.xml ,now it's work fine

On Wed, Jun 26, 2013 at 4:49 PM, ch huang <ju...@gmail.com> wrote:

> 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 <de...@huawei.com> 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)****
>>
>
>

Re: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by ch huang <ju...@gmail.com>.
i modified /etc/hbase/conf/hbase-site.xml ,now it's work fine

On Wed, Jun 26, 2013 at 4:49 PM, ch huang <ju...@gmail.com> wrote:

> 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 <de...@huawei.com> 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)****
>>
>
>

Re: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by ch huang <ju...@gmail.com>.
i modified /etc/hbase/conf/hbase-site.xml ,now it's work fine

On Wed, Jun 26, 2013 at 4:49 PM, ch huang <ju...@gmail.com> wrote:

> 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 <de...@huawei.com> 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)****
>>
>
>

Re: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by ch huang <ju...@gmail.com>.
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 <de...@huawei.com> 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)****
>

Re: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by ch huang <ju...@gmail.com>.
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 <de...@huawei.com> 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)****
>

Re: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by ch huang <ju...@gmail.com>.
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 <de...@huawei.com> 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)****
>

Re: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by ch huang <ju...@gmail.com>.
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 <de...@huawei.com> 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)****
>

RE: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by Devaraj k <de...@huawei.com>.
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)

RE: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by Devaraj k <de...@huawei.com>.
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)

RE: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by Devaraj k <de...@huawei.com>.
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)

RE: eclipse connect problem in CDH3u4 Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch

Posted by Devaraj k <de...@huawei.com>.
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)