[ 
https://issues.apache.org/jira/browse/KYLIN-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nichunen updated KYLIN-2027:
----------------------------
    Description: 
In our hadoop cluster, we specified ports of zk servers in 
hbase.zookeeper.quorum of hbase-site.xml like 
  <property>
    <name>hbase.zookeeper.quorum</name>
    <value>hadoop1:2181,hadoop2:2181,hadoop3:2181</value>
  </property>
And we get the error "ERROR [Thread-12] curator.ConnectionState:201 : 
Connection timed out for connection string 
(hadoop1:2181:2181,hadoop2:2181:2181,hadoop3:2181:2181) and timeout (15000) / 
elapsed (15214)"

I think org.apache.kylin.storage.hbase.util.ZookeeperJobLock#getZKConnectString 
should check whether it ends with a port before adding a port to the string.

Attached is the patch.

  was:In our hadoop cluster, we specified ports of zk servers in 


> Error "connection timed out" occurs when zookeeper's port is set in 
> hbase.zookeeper.quorum of hbase-site.xml
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-2027
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2027
>             Project: Kylin
>          Issue Type: Bug
>          Components: Storage - HBase
>    Affects Versions: v1.5.4
>            Reporter: nichunen
>            Assignee: nichunen
>            Priority: Minor
>              Labels: patch
>             Fix For: v1.6.0
>
>
> In our hadoop cluster, we specified ports of zk servers in 
> hbase.zookeeper.quorum of hbase-site.xml like 
>   <property>
>     <name>hbase.zookeeper.quorum</name>
>     <value>hadoop1:2181,hadoop2:2181,hadoop3:2181</value>
>   </property>
> And we get the error "ERROR [Thread-12] curator.ConnectionState:201 : 
> Connection timed out for connection string 
> (hadoop1:2181:2181,hadoop2:2181:2181,hadoop3:2181:2181) and timeout (15000) / 
> elapsed (15214)"
> I think 
> org.apache.kylin.storage.hbase.util.ZookeeperJobLock#getZKConnectString 
> should check whether it ends with a port before adding a port to the string.
> Attached is the patch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to