Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-522

ZooKeeper configure script fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: service/zookeeper
    • Labels:
      None

      Description

      When trying to write an integration test for Solr, I get the following exception during the start phase

      2012-02-21 23:29:37,898 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Starting to run scripts on cluster for phase configure on instances: us-east-1/i-feb3b79b, us-east-1/i-fcb3b799
      2012-02-21 23:29:37,900 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (pool-4-thread-1) Running configure phase script on: us-east-1/i-feb3b79b
      2012-02-21 23:29:37,901 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (pool-4-thread-2) Running configure phase script on: us-east-1/i-fcb3b799
      2012-02-21 23:29:43,091 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (pool-4-thread-1) configure phase script run completed on: us-east-1/i-feb3b79b
      2012-02-21 23:29:43,091 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Successfully executed configure script: [output=, error=/tmp/configure-zookeeper_solr/configure-zookeeper_solr.sh: line 41: /etc/zookeeper/conf/zoo.cfg: No such file or directory
      /tmp/configure-zookeeper_solr/configure-zookeeper_solr.sh: line 63: /etc/zookeeper/conf/zoo.cfg: No such file or directory
      /tmp/configure-zookeeper_solr/configure-zookeeper_solr.sh: line 63: /etc/zookeeper/conf/zoo.cfg: No such file or directory
      /tmp/configure-zookeeper_solr/configure-zookeeper_solr.sh: line 71: /var/log/zookeeper/txlog/myid: No such file or directory
      , exitCode=0]
      2012-02-21 23:29:43,093 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (pool-4-thread-2) configure phase script run completed on: us-east-1/i-fcb3b799
      2012-02-21 23:29:43,093 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Successfully executed configure script: [output=, error=/tmp/configure-zookeeper_solr/configure-zookeeper_solr.sh: line 41: /etc/zookeeper/conf/zoo.cfg: No such file or directory
      /tmp/configure-zookeeper_solr/configure-zookeeper_solr.sh: line 63: /etc/zookeeper/conf/zoo.cfg: No such file or directory
      /tmp/configure-zookeeper_solr/configure-zookeeper_solr.sh: line 63: /etc/zookeeper/conf/zoo.cfg: No such file or directory
      /tmp/configure-zookeeper_solr/configure-zookeeper_solr.sh: line 71: /var/log/zookeeper/txlog/myid: No such file or directory
      , exitCode=0]
      2012-02-21 23:29:43,094 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Finished running configure phase scripts on all cluster instances
      2012-02-21 23:29:43,094 INFO  [org.apache.whirr.service.zookeeper.ZooKeeperClusterActionHandler] (main) Completed configuration of solr-itest-ec2-mumrah
      

      I am attempting to start up the cluster "2 zookeeper+solr". I have successfully started up clusters with this topology before, but now I'm consistently getting this error.

      On a separate note, shouldn't the config script return something non-zero when there is an error like this?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mumrah David Arthur
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: