ZooKeeper configure script fails
--------------------------------
Key: WHIRR-522
URL: https://issues.apache.org/jira/browse/WHIRR-522
Project: Whirr
Issue Type: Bug
Components: service/zookeeper
Affects Versions: 0.8.0
Reporter: David Arthur
Priority: Minor
When trying to write an integration test for Solr, I get the following
exception during the start phase
{code}
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
{code}
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?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira