Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-35

Zookeeper init script status, force-stop and force-reload commands are broken

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH3b3
    • Fix Version/s: CDH3u0
    • Component/s: Packaging, ZooKeeper
    • Labels:
      None

      Description

      http://getsatisfaction.com/cloudera/topics/zookeeper_init_script_status_force_stop_and_force_reload_commands_are_broken_in_cdh3_on_debian_ubuntu

      There are two issues causing the status, force-stop and force-reload commands to fail in the Zookeeper init script (/etc/init.d/hadoop-zookeeper-server) from the hadoop-zookeeper-server package:

      1) The PID_FILE variable is set to /var/run/zookeeper/zookeeper_server.pid when it should be /var/run/zookeeper/zookeeper-server.pid

      2) The hadoop_is_process_alive function is missing, copying a variant from the hadoop init scripts fixes this issue.

        Attachments

        1. 0001-partial-fix-for-DISTRO-35.patch
          2 kB
          Jeremy Hinegardner
        2. 0001-zkServer.sh-fix-for-DISTRO-35.patch
          0.7 kB
          Jeremy Hinegardner
        3. etc--init.d--hadoop-zookeeper.patch
          0.6 kB
          Marc Portier
        4. usr--lib--zookeeper--bin--zkServer.sh.patch
          0.4 kB
          Marc Portier

          Issue Links

            Activity

              People

              • Assignee:
                phunt Patrick Hunt
                Reporter:
                eli Eli Collins
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: