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

Unable to start Zookeeper Server after RPM is installed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Looks like a fresh install of 2.2.6.0 does not have the issue.

      If I uninstall zookeeper manually and then use Ambari to install Zoookeeper then I run into the issue.

      Looks like there is some pre-condition to the ZK rpm post-install script due to which a re-install does not create zookeeper-server symlink. Interestingly zookeeper-client symlink gets created properly.

      On my machine -
      rpm -qa | grep zook
      zookeeper_2_2_6_0_2800-3.4.6.2.2.6.0-2800

      This is from the log when I removed:
      2015-08-25 00:52:53 <1> samsuse-1(23137) [zypper:req++] SolverRequester.cc(remove):267 Marking for deletion: I_s(5682)zookeeper_2_2_6_0_2800-3.4.6.2.2.6.0-2800.noarch(@System)
      2015-08-25 00:52:53 <1> samsuse-1(23137) [zypp] SATResolver.cc(resolvePool):716 Delete I_Tu_(5682)zookeeper_2_2_6_0_2800-3.4.6.2.2.6.0-2800.noarch(@System)
      2015-08-25 00:52:53 <1> samsuse-1(23137) [satsolver] PoolImpl.cc(logSat):101 job: erase zookeeper_2_2_6_0_2800-3.4.6.2.2.6.0-2800.noarch
      2015-08-25 00:52:53 <1> samsuse-1(23137) [satsolver] PoolImpl.cc(logSat):101 !zookeeper_2_2_6_0_2800-3.4.6.2.2.6.0-2800.noarch [387] (w1)
      2015-08-25 00:52:53 <1> samsuse-1(23137) [satsolver] PoolImpl.cc(logSat):101 !zookeeper_2_2_6_0_2800-3.4.6.2.2.6.0-2800.noarch [5682]I (w1)
      2015-08-25 00:52:53 <1> samsuse-1(23137) [zypper++] Summary.cc(readPool):133 <uninstall> I_Tu_(5682)zookeeper_2_2_6_0_2800-3.4.6.2.2.6.0-2800.noarch(@System)
      2015-08-25 00:52:58 <1> samsuse-1(23137) [zypp] RpmDb.cc(doRemovePackage):1899 RpmDb::doRemovePackage(zookeeper_2_2_6_0_2800-3.4.6.2.2.6.0-2800.noarch,0x00000008)
      2015-08-25 00:52:58 <1> samsuse-1(23137) [zypp++] ExternalProgram.cc(start_program):229 Executing 'rpm' '-root' '/' 'dbpath' '/var/lib/rpm' '-e' 'allmatches' 'nodeps' '-' 'zookeeper_2_2_6_0_2800-3.4.6.2.2.6.0-2800.noarch'

      Attachments

        1. AMBARI-12874.patch
          1 kB
          Sumit Mohanty

        Issue Links

          Activity

            People

              sumitmohanty Sumit Mohanty
              vijikarthi Vijay Srinivasaraghavan
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: