zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Nixon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2723) ConnectStringParser does not parse correctly if quorum string has znode path
Date Tue, 18 Apr 2017 20:46:41 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973457#comment-15973457
] 

Brian Nixon commented on ZOOKEEPER-2723:
----------------------------------------

I'm not seeing a reference to ConnectStringParser in the attached stack trace - it looks like
a DNS resolution problem. Can you add more detail?

> ConnectStringParser does not parse correctly if quorum string has znode path
> ----------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2723
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2723
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Vishal Khandelwal
>            Assignee: Vishal Khandelwal
>
> f2017-03-14 07:10:26,247 INFO [main] zookeeper.ZooKeeper - Initiating client connection,
connectString=x1-1-was.ops.sfdc.net:2181,x2-1-was.ops.sfdc.net:2181,x3-1-was.ops.sfdc.net:2181,x4-1-was.ops.sfdc.net:2181,x5-1-was.ops.sfdc.net:2181:/hbase
sessionTimeout=60000 watcher=org.apache.hadoop.hbase.zookeeper.PendingWatcher@6e16b8b5 2017-03-14
07:10:26,250 ERROR [main] client.StaticHostProvider - Unable to connect to server: x5-1-was.ops.sfdc.net:2181:2181
java.net.UnknownHostException: x5-1-was.ops.sfdc.net:2181: Name or service not known at java.net.Inet4AddressImpl.lookupAllHostAddr(Native
Method) at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getAllByName0(InetAddress.java:1276) at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126) at org.apache.zookeeper.client.StaticHostProvider.<init>(StaticHostProvider.java:60)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:446) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:380)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.checkZk(RecoverableZooKeeper.java:141)
at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.<init>(RecoverableZooKeeper.java:128)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.connect(ZKUtil.java:135) at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:173)
at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:147)
at org.apache.hadoop.hbase.client.ZooKeeperKeepAliveConnection.<init>(ZooKeeperKeepAliveConnection.java:43)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getKeepAliveZooKeeperWatcher(HConnectionManager.java:1875)
at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:82)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.retrieveClusterId(HConnectionManager.java:929)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:714)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:466)
at org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:445)
at org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:326)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message