You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "David Arthur (Created) (JIRA)" <ji...@apache.org> on 2012/02/22 05:46:48 UTC

[jira] [Created] (WHIRR-522) ZooKeeper configure script fails

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

        

[jira] [Commented] (WHIRR-522) ZooKeeper configure script fails

Posted by "Andrei Savu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214366#comment-13214366 ] 

Andrei Savu commented on WHIRR-522:
-----------------------------------

Yes, 0.7.1 will fix this! Try making you own build from this branch: 
https://svn.apache.org/repos/asf/whirr/branches/branch-0.7 

by running "mvn package assembly:assembly" from project root. You should find the .tar.gz file in target/

Also make sure your recipe contains an entry like this if you are running inside amazon:

whirr.cluster-user=something != ec2-user OR root 
                
> 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

        

[jira] [Commented] (WHIRR-522) ZooKeeper configure script fails

Posted by "Andrei Savu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214505#comment-13214505 ] 

Andrei Savu commented on WHIRR-522:
-----------------------------------

bq. Could I retry now with trunk, or is this only fixed in branch-0.7?

Trunk should also work fine now. 
                
> 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

        

[jira] [Commented] (WHIRR-522) ZooKeeper configure script fails

Posted by "Eric Charles (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215399#comment-13215399 ] 

Eric Charles commented on WHIRR-522:
------------------------------------

(just to confirm that zk instances can now be started with trunk - I will also test with 0.7.1 candidate)
                
> 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

        

[jira] [Commented] (WHIRR-522) ZooKeeper configure script fails

Posted by "Eric Charles (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213426#comment-13213426 ] 

Eric Charles commented on WHIRR-522:
------------------------------------

I tried to run on EC2 the scripts described on http://whirr.apache.org/docs/0.7.0/whirr-in-5-minutes.html and also got
...
Successfully executed start script: [output=, error=/tmp/start-zookeeper/start-zookeeper.sh: line 38: /etc/init.d/zookeeper: No such file or directory, exitCode=0] 
...

The 3 EC2 instances were started, but no java zookeeper process was running.
Don't know if this is related to absent jdk (java -version give 1.6...) and if 0.7.1 will fix this?

                
> 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

        

[jira] [Commented] (WHIRR-522) ZooKeeper configure script fails

Posted by "Eric Charles (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214503#comment-13214503 ] 

Eric Charles commented on WHIRR-522:
------------------------------------

Great!
Btw, I tried a few days ago with a trunk assembly and it gave the same exception.
Could I retry now with trunk, or is this only fixed in branch-0.7?
Thx, Eric
                
> 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

        

[jira] [Commented] (WHIRR-522) ZooKeeper configure script fails

Posted by "Andrei Savu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213520#comment-13213520 ] 

Andrei Savu commented on WHIRR-522:
-----------------------------------

I am unable to replicate this - it seems to be working fine from my machine with Whirr trunk. Are the VMs still running? Can you collect the files in /tmp/logs?
                
> 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

        

[jira] [Commented] (WHIRR-522) ZooKeeper configure script fails

Posted by "Eric Charles (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214362#comment-13214362 ] 

Eric Charles commented on WHIRR-522:
------------------------------------

Hi Andrei, I replayed the test, and got the same message on the VM from which I launch whirr (the "whirrer" ?)
Successfully executed configure script: [output=, error=/tmp/configure-zookeeper/configure-zookeeper.sh: line 41: /etc/zookeeper/conf/zoo.cfg: No such file or directory
/tmp/configure-zookeeper/configure-zookeeper.sh: line 63: /etc/zookeeper/conf/zoo.cfg: No such file or directory
/tmp/configure-zookeeper/configure-zookeeper.sh: line 63: /etc/zookeeper/conf/zoo.cfg: No such file or directory
/tmp/configure-zookeeper/configure-zookeeper.sh: line 63: /etc/zookeeper/conf/zoo.cfg: No such file or directory
/tmp/configure-zookeeper/configure-zookeeper.sh: line 71: /var/log/zookeeper/txlog/myid: No such file or directory

Going to one of the 3 launched VM, in /tmp/log/stderr.log, I read:
...
Reading state information...
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

So it's related to the absence of JDK in EC2 (licence issue). If I understand well, 0.7.1 will fix this.
                
> 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

        

[jira] [Resolved] (WHIRR-522) ZooKeeper configure script fails

Posted by "Andrei Savu (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Savu resolved WHIRR-522.
-------------------------------

    Resolution: Not A Problem

I'm closing as not a problem. 
                
> 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