Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-3954

hbase.zookeeper.quorum changing inconsistently on hosts after adding ZookeeperServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.2
    • 1.4.2
    • ambari-web
    • None

    Description

      Issue 1:
      Steps followed:
      1. Install a 3-node cluster with Hbase and Zookeeper and 3 zookeeper servers.
      2. After installation on each host the property
      hbase.zookeeper.quorum in /etc/hbase/conf/hbase-site.xml has:

      <name>hbase.zookeeper.quorum</name>
          <value>c6401.ambari.apache.org,c6402.ambari.apache.org,c6403.ambari.apache.org</value>
      

      3. After adding a host with Hbase Region Server, and after that a ZookeeperServer to it, the property on the added c6404.ambari.apache.org host has the same value, as in 2.
      4. After restarting HBase master on c6401 (which is proposed by UI), the
      property value on c6401 becomes:

          <name>hbase.zookeeper.quorum</name>
          <value>c6401.ambari.apache.org</value>
      

      . On other hosts it remains unchanged.
      5. After restarting HbaseRegionServers on the rest of the hosts (not proposed by ui), the property changes too, to the same value, as in 4.

      __________________________________________________________
      Issue 2:
      Property templeton.zookeeper.hosts in /etc/hcatalog/conf/webhcat-site.xml
      Prior to adding a zookeeperServer on host c6404, config on WebHCat server lookes like:

      [root@c6402 vagrant]# cat /etc/hcatalog/conf/webhcat-site.xml |grep  templeton.zookeeper.hosts -C 2
        <configuration>
          <property>
          <name>templeton.zookeeper.hosts</name>
          <value>c6401.ambari.apache.org:2181,c6402.ambari.apache.org:2181,c6403.ambari.apache.org:2181</value>
        </property>
      

      After adding a ZookeeperServer on c6404 and restarting WebHCatServer on c6402:

      [root@c6402 vagrant]# cat /etc/hcatalog/conf/webhcat-site.xml |grep  templeton.zookeeper.hosts -C 2
        </property>
          <property>
          <name>templeton.zookeeper.hosts</name>
          <value>c6401.ambari.apache.org</value>
        </property>
      

      __________________________________________________________
      Issue 3.
      On a 3-node cluster with HA-enbaled, property ha.zookeeper.quorum in /etc/hadoop/conf/core-site.xml, has the same value on all hosts:

          <name>ha.zookeeper.quorum</name>    <value>c6401.ambari.apache.org:2181,c6402.ambari.apache.org:2181,c6403.ambari.apache.org:2181</value>
      

      It doesn't change on either of the hosts after adding c6404 to the cluster, installing ZookeeperServer on it and restarting HDFS.

      Attachments

        1. AMBARI-3954.patch
          5 kB
          Oleg Nechiporenko
        2. AMBARI-3954-1.4.2.patch
          5 kB
          Oleg Nechiporenko
        3. AMBARI-3954-1.4.2(2).patch
          2 kB
          Oleg Nechiporenko
        4. AMBARI-3954(2).patch
          2 kB
          Oleg Nechiporenko

        Activity

          People

            onechiporenko Oleg Nechiporenko
            onechiporenko Oleg Nechiporenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: