Uploaded image for project: 'Cookbooks'
  1. Cookbooks
  2. COOK-105

Zookeeper init script is not working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: hadoop
    • Labels:
    • Rank:
      1|hzzhcv:

      Description

      This may not be specific to zookeeper. The /etc/init.d/zookeeper-server script does not seem to work correctly:

      [root@host ~]# /etc/init.d/zookeeper-server stop
      Stopping ZooKeeper Server (zookeeper-server):              [  OK  ]
      [root@host ~]# /etc/init.d/zookeeper-server status
      Checking for service ZooKeeper Server: zookeeper-server is [FAILED]ing
      [root@host ~]# ps -ef | grep zookeeper | grep -v cdap.service
      498      30118     1  0 19:10 ?        00:00:09 /usr/lib/jvm/java/bin/java -Dzookeeper.log.dir=/data/logs/zookeeper -Dzookeeper.log.file=zookeeper-zookeeper-server-bugsmash-boo11687-1000.dev.continuuity.net.log -Dzookeeper.root.logger=INFO,ROLLINGFILE -cp /usr/hdp/2.3.4.7-4/zookeeper/bin/../build/classes:/usr/hdp/2.3.4.7-4/zookeeper/bin/../build/lib/*.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/xercesMinimal-1.9.6.2.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/wagon-provider-api-2.4.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/wagon-http-shared4-2.4.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/wagon-http-shared-1.0-beta-6.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/wagon-http-lightweight-1.0-beta-6.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/wagon-http-2.4.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/wagon-file-1.0-beta-6.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/slf4j-log4j12-1.6.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/slf4j-api-1.6.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/plexus-utils-3.0.8.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/plexus-interpolation-1.11.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/plexus-container-default-1.0-alpha-9-stable-1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/netty-3.7.0.Final.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/nekohtml-1.9.6.2.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/maven-settings-2.2.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/maven-repository-metadata-2.2.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/maven-project-2.2.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/maven-profile-2.2.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/maven-plugin-registry-2.2.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/maven-model-2.2.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/maven-error-diagnostics-2.2.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/maven-artifact-manager-2.2.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/maven-artifact-2.2.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/maven-ant-tasks-2.1.3.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/log4j-1.2.16.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/jsoup-1.7.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/jline-0.9.94.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/httpcore-4.2.3.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/httpclient-4.2.3.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/commons-logging-1.1.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/commons-io-2.2.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/commons-codec-1.6.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/classworlds-1.1-alpha-2.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/backport-util-concurrent-3.1.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/ant-launcher-1.8.0.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../lib/ant-1.8.0.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../zookeeper-3.4.6.2.3.4.7-4.jar:/usr/hdp/2.3.4.7-4/zookeeper/bin/../src/java/lib/*.jar:/etc/zookeeper/conf.chef::/usr/hdp/2.3.4.7-4/zookeeper/conf:/usr/hdp/2.3.4.7-4/zookeeper/*:/usr/hdp/2.3.4.7-4/zookeeper/lib/* -Xmx256m -Dzookeeper.log.threshold=INFO -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false org.apache.zookeeper.server.quorum.QuorumPeerMain /etc/zookeeper/conf.chef/zoo.cfg
      

        Attachments

          Activity

            People

            • Assignee:
              chris Chris Gianelloni
              Reporter:
              bhooshan Bhooshan Mogal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: