You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by fuyou001 <fu...@gmail.com> on 2012/06/18 05:54:38 UTC

Re: fail connect to zookeeper

Caused by: java.net.UnknownHostException: zk01t 
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) 
        at java.net.InetAddresslookupAllHostAddr(InetAddress.java:850) 
        at
java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201) 
        at java.net.InetAddress.getAllByName0(InetAddress.java:1154) 
        at java.net.InetAddress.getAllByName(InetAddress.java:1084) 
        at java.net.InetAddress.getAllByName(InetAddress.java:1020) 
        at org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:386) 
        at org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:331) 
        at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:377) 
        at org.I0Itec.zkclient.ZkConnection.connect(ZkConnection.java:61) 


  check the zk01t  host is normal ,you can ping zk01t for test

--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/fail-connect-to-zookeeper-tp7572649p7577589.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

Re: fail connect to zookeeper

Posted by nileader <ni...@gmail.com>.
So,now,what's the problem. @Yosef Arraf

Maybe https://issues.apache.org/jira/browse/ZOOKEEPER-1480, the issue will
help you

*
*



2012/6/18 fuyou001 <fu...@gmail.com>

> Caused by: java.net.UnknownHostException: zk01t
>         at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
>         at java.net.InetAddresslookupAllHostAddr(InetAddress.java:850)
>         at
> java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
>         at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
>         at java.net.InetAddress.getAllByName(InetAddress.java:1084)
>         at java.net.InetAddress.getAllByName(InetAddress.java:1020)
>         at org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:386)
>         at org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:331)
>         at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:377)
>         at org.I0Itec.zkclient.ZkConnection.connect(ZkConnection.java:61)
>
>
>   check the zk01t  host is normal ,you can ping zk01t for test
>
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/fail-connect-to-zookeeper-tp7572649p7577589.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.
>