Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2027

Error "connection timed out" occurs when zookeeper's port is set in hbase.zookeeper.quorum of hbase-site.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • v1.5.4
    • v1.6.0
    • Storage - HBase

    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.

      Attachments

        1. KYLIN-2027.patch
          1 kB
          nichunen

        Activity

          People

            nichunen nichunen
            nichunen nichunen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: