You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by aledsage <gi...@git.apache.org> on 2014/07/21 12:09:20 UTC

[GitHub] incubator-brooklyn pull request: cassandra v2 support

GitHub user aledsage opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/81

    cassandra v2 support

    Adds support for Cassandra v2, and for Cassandra 
    
    Note I'm having problems with `JAVA_HOME` which really should be addressed before merging.
    
    In `CassandraDatacenterLiveTest.testDatacenterWithVnodesVersion2` (running on CentOS on EC2), I had to add `.configure("shell.env", MutableMap.of("JAVA_HOME", "/etc/alternatives/java_sdk_1.7.0"))`. The VM had Java 1.6 installed already; brooklyn then installed `java-1.7.0-openjdk-devel`. At that point, `which java` reported 1.7. However, running Cassandra (with the remote `ssh` commands) still picked up 1.6 until I explicitly set `JAVA_HOME`. This could perhaps be an issue with `~/.profile` etc not being sourced for the `ssh` commands.
    
    @ahgittin @grkvlt any opinions on how to portably/reliably upgrade to Java 1.7 such that Cassandra picks it up?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aledsage/incubator-brooklyn feature/cassandra-v2-support

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-brooklyn/pull/81.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #81
    
----
commit 85d1ac083957279a0ad2e68b0e07364f20266a55
Author: Aled Sage <al...@gmail.com>
Date:   2014-07-16T14:39:42Z

    Support for cassandra v2 and vnodes
    
    - adds USE_VNODES config for v1.2 and v2
    - adds numTokensPerNode config
    - adds checkForAndInstllJava7or8
    - make AstyanaxSupport more robust for testing

commit 6ea80b3d5895061f00868cb20164590ba09ef7ea
Author: Aled Sage <al...@gmail.com>
Date:   2014-07-18T13:46:11Z

    Adds JmxHelper.terminate()
    
    - important for entity stop(), if a connect attempt is taking a very
      long time to timeout and there are other jobs backing up.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by aledsage <gi...@git.apache.org>.
Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#discussion_r15459436
  
    --- Diff: software/nosql/src/main/java/brooklyn/entity/nosql/cassandra/CassandraNodeImpl.java ---
    @@ -84,6 +90,21 @@
         public CassandraNodeImpl() {
         }
         
    +    @Override
    +    public void init() {
    +        super.init();
    +        
    +        getMutableEntityType().addEffector(EXECUTE_SCRIPT, new EffectorBody<String>() {
    --- End diff --
    
    No good reason in my opinion - just makes the code harder to understand when there's no need for it to be dynamic. This code was already there, and is a bit fiddly to change because it's reusing `CassandraDatacenter.EXECUTE_SCRIPT` which reuses `DatastoreMixins.EXECUTE_SCRIPT`, both of which are built as "abstract" effectors.
    
    Will leave this as-is for this PR.
    
    I believe @ahgittin wrote this - Alex is keenest on dynamic effectors.
    
    My view is they have their place when there is a need for it to be dynamic, but is just unnecessary indirection when a static `@Effector` annotation would do.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by aledsage <gi...@git.apache.org>.
Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#discussion_r15459220
  
    --- Diff: software/nosql/src/main/java/brooklyn/entity/nosql/cassandra/CassandraNodeImpl.java ---
    @@ -157,12 +196,41 @@ protected void preStart() {
             return token;
         }
         
    +    @Override public Set<BigInteger> getTokens() {
    +        Set<BigInteger> tokens = getAttribute(CassandraNode.TOKENS);
    +        if (tokens == null) {
    +            BigInteger token = getAttribute(CassandraNode.TOKEN);
    +            if (token != null) {
    +                tokens = ImmutableSet.of(token);
    +            }
    +        }
    +        if (tokens == null) {
    +            tokens = getAttribute(CassandraNode.TOKENS);
    --- End diff --
    
    Well spotted; latter should have been getConfig. Also added comment explaining.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by aledsage <gi...@git.apache.org>.
Github user aledsage commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#issuecomment-50465189
  
    Incorporated @Nakomis 's comments, and rebased against master. Any more comments or is this good to merge?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-brooklyn/pull/81


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by Nakomis <gi...@git.apache.org>.
Github user Nakomis commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#discussion_r15164607
  
    --- Diff: utils/common/src/main/java/brooklyn/util/math/MathPredicates.java ---
    @@ -0,0 +1,58 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing,
    + * software distributed under the License is distributed on an
    + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    + * KIND, either express or implied.  See the License for the
    + * specific language governing permissions and limitations
    + * under the License.
    + */
    +package brooklyn.util.math;
    +
    +import javax.annotation.Nullable;
    +
    +import com.google.common.base.Predicate;
    +
    +public class MathPredicates {
    +
    +    public static Predicate<Number> greaterThan(final double val) {
    +        return new Predicate<Number>() {
    +            public boolean apply(@Nullable Number input) {
    +                return (input == null) ? false : input.doubleValue() > val;
    --- End diff --
    
    Javadoc stating behaviour on null val would be a nice-to-have (ditto other methods in class)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by Nakomis <gi...@git.apache.org>.
Github user Nakomis commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#issuecomment-50869365
  
    The two tests mentioned above now pass. No other comments, looks good to merge


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by Nakomis <gi...@git.apache.org>.
Github user Nakomis commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#issuecomment-49726435
  
    A couple of failing tests, but other than that, just a couple of minor comments


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by Nakomis <gi...@git.apache.org>.
Github user Nakomis commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#issuecomment-49626933
  
    CassandraDatacenterLiveTest.testDatacenterWithVnodes is failing with the following error (possibly due to change from getAstyanaxContextForKeyspace to newAstyanaxContextForKeyspace, although AstyanaxSupport.writeData is calling context.shutdown()):
    
    brooklyn.util.exceptions.PropagatedRuntimeException: com.netflix.astyanax.connectionpool.exceptions.BadRequestException: BadRequestException: [host=ec2-79-125-101-77.eu-west-1.compute.amazonaws.com(79.125.101.77):9160, latency=47(47), attempts=1]InvalidRequestException(why:Keyspace names must be case-insensitively unique ("BrooklynIntegrationTest" conflicts with "BrooklynIntegrationTest"))



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by Nakomis <gi...@git.apache.org>.
Github user Nakomis commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#discussion_r15163505
  
    --- Diff: software/nosql/src/main/java/brooklyn/entity/nosql/cassandra/CassandraNodeImpl.java ---
    @@ -157,12 +196,41 @@ protected void preStart() {
             return token;
         }
         
    +    @Override public Set<BigInteger> getTokens() {
    +        Set<BigInteger> tokens = getAttribute(CassandraNode.TOKENS);
    +        if (tokens == null) {
    +            BigInteger token = getAttribute(CassandraNode.TOKEN);
    +            if (token != null) {
    +                tokens = ImmutableSet.of(token);
    +            }
    +        }
    +        if (tokens == null) {
    +            tokens = getAttribute(CassandraNode.TOKENS);
    --- End diff --
    
    The logic of this is unclear, it seems redundant


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by Nakomis <gi...@git.apache.org>.
Github user Nakomis commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#discussion_r15163597
  
    --- Diff: software/nosql/src/main/java/brooklyn/entity/nosql/cassandra/CassandraNodeImpl.java ---
    @@ -84,6 +90,21 @@
         public CassandraNodeImpl() {
         }
         
    +    @Override
    +    public void init() {
    +        super.init();
    +        
    +        getMutableEntityType().addEffector(EXECUTE_SCRIPT, new EffectorBody<String>() {
    --- End diff --
    
    Is there any reason the effector is being added programmatically, rather than being defined on the interface?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by sjcorbett <gi...@git.apache.org>.
Github user sjcorbett commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#discussion_r15224206
  
    --- Diff: software/base/src/main/java/brooklyn/entity/java/JavaSoftwareProcessSshDriver.java ---
    @@ -274,7 +274,7 @@ public String getJmxContext() {
          */
         protected boolean checkForAndInstallJava6or7() {
             Optional<String> version = getCurrentJavaVersion();
    -        if (version.isPresent() && (version.get().startsWith("1.7") || version.get().startsWith("1.6"))) {
    +        if (version.isPresent() && (version.get().startsWith("1.8") || version.get().startsWith("1.7") || version.get().startsWith("1.6"))) {
    --- End diff --
    
    Probably shouldn't install Java 8 from a call to a method named 'install Java 6 or 7'. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by aledsage <gi...@git.apache.org>.
Github user aledsage commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#issuecomment-51256605
  
    Rebased against master. Merging.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-brooklyn pull request: cassandra v2 support

Posted by Nakomis <gi...@git.apache.org>.
Github user Nakomis commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/81#issuecomment-49627182
  
    CassandraDatacenterLiveTest.testDatacenterWithVnodesVersion2 is failing with the following error (VM had been released before I had a chance to investigate): 
    
    brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at Application[Npvb4Onl]: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.management.internal.EffectorUtils.handleEffectorException(EffectorUtils.java:251)
    	at brooklyn.management.internal.EffectorUtils.invokeMethodEffector(EffectorUtils.java:243)
    	at brooklyn.entity.proxying.EntityProxyImpl.invoke(EntityProxyImpl.java:102)
    	at $Proxy97.start(Unknown Source)
    	at brooklyn.entity.nosql.cassandra.CassandraDatacenterLiveTest.runCluster(CassandraDatacenterLiveTest.java:141)
    	at brooklyn.entity.nosql.cassandra.CassandraDatacenterLiveTest.testDatacenterWithVnodesVersion2(CassandraDatacenterLiveTest.java:121)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	at org.testng.TestRunner.privateRun(TestRunner.java:767)
    	at org.testng.TestRunner.run(TestRunner.java:617)
    	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
    	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
    	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
    	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
    	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
    	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
    	at org.testng.TestNG.run(TestNG.java:1057)
    	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
    	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
    	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
    Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:278)
    	at brooklyn.management.internal.EffectorUtils.invokeMethodEffector(EffectorUtils.java:238)
    	... 28 more
    Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    	at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:63)
    	at brooklyn.util.task.BasicTask.get(BasicTask.java:322)
    	at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:272)
    	... 29 more
    Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:89)
    	at brooklyn.util.task.BasicTask.getUnchecked(BasicTask.java:333)
    	at brooklyn.entity.trait.StartableMethods.start(StartableMethods.java:53)
    	at brooklyn.entity.basic.AbstractApplication.doStart(AbstractApplication.java:153)
    	at brooklyn.entity.basic.AbstractApplication.start(AbstractApplication.java:130)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
    	at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
    	at groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown Source)
    	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
    	at groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown Source)
    	at brooklyn.util.GroovyJavaMethods.invokeMethodOnMetaClass(GroovyJavaMethods.groovy:143)
    	at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodLocal(AbstractManagementContext.java:251)
    	at brooklyn.management.internal.AbstractManagementContext$2.call(AbstractManagementContext.java:270)
    	at brooklyn.util.task.BasicExecutionManager$3.call(BasicExecutionManager.java:371)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    	at java.lang.Thread.run(Thread.java:680)
    Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    	at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:63)
    	at brooklyn.util.task.BasicTask.get(BasicTask.java:322)
    	at brooklyn.util.task.BasicTask.getUnchecked(BasicTask.java:331)
    	... 24 more
    Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:89)
    	at brooklyn.util.task.ParallelTask.runJobs(ParallelTask.java:76)
    	at brooklyn.util.task.CompoundTask$1.call(CompoundTask.java:82)
    	at brooklyn.util.task.CompoundTask$1.call(CompoundTask.java:1)
    	... 6 more
    Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at CassandraDatacenterImpl{id=d4lazaAg}: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    	at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:63)
    	at brooklyn.util.task.BasicTask.get(BasicTask.java:322)
    	at brooklyn.util.task.ParallelTask.runJobs(ParallelTask.java:63)
    	... 8 more
    Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at CassandraDatacenterImpl{id=d4lazaAg}: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.management.internal.EffectorUtils.handleEffectorException(EffectorUtils.java:251)
    	at brooklyn.entity.effector.EffectorTasks$EffectorBodyTaskFactory$2.handleException(EffectorTasks.java:89)
    	at brooklyn.util.task.DynamicSequentialTask.handleException(DynamicSequentialTask.java:412)
    	at brooklyn.util.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:364)
    	... 6 more
    Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at CassandraDatacenterImpl{id=d4lazaAg}: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.management.internal.EffectorUtils.handleEffectorException(EffectorUtils.java:251)
    	at brooklyn.management.internal.EffectorUtils.invokeMethodEffector(EffectorUtils.java:243)
    	at brooklyn.entity.basic.MethodEffector.call(MethodEffector.java:149)
    	at brooklyn.entity.trait.Startable$StartEffectorBody.call(Startable.java:54)
    	at brooklyn.entity.trait.Startable$StartEffectorBody.call(Startable.java:1)
    	at brooklyn.entity.effector.EffectorTasks$EffectorBodyTaskFactory$1.call(EffectorTasks.java:81)
    	at brooklyn.util.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:314)
    	... 6 more
    Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:278)
    	at brooklyn.management.internal.EffectorUtils.invokeMethodEffector(EffectorUtils.java:238)
    	... 11 more
    Caused by: java.lang.IllegalStateException: Node in cluster CassandraDatacenterImpl{id=d4lazaAg} failed: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.entity.group.DynamicClusterImpl.start(DynamicClusterImpl.java:292)
    	at brooklyn.entity.nosql.cassandra.CassandraDatacenterImpl.start(CassandraDatacenterImpl.java:336)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
    	at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
    	at groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown Source)
    	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
    	at groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown Source)
    	at brooklyn.util.GroovyJavaMethods.invokeMethodOnMetaClass(GroovyJavaMethods.groovy:143)
    	at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodLocal(AbstractManagementContext.java:251)
    	at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:274)
    	... 12 more
    Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.CompoundRuntimeException: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    	at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:63)
    	at brooklyn.util.task.BasicTask.get(BasicTask.java:322)
    	at brooklyn.util.task.Tasks.getError(Tasks.java:398)
    	at brooklyn.entity.group.DynamicClusterImpl.start(DynamicClusterImpl.java:285)
    	... 28 more
    Caused by: brooklyn.util.exceptions.CompoundRuntimeException: 2 of 2 parallel child tasks failed, including: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:202)
    	at brooklyn.util.task.ParallelTask.runJobs(ParallelTask.java:77)
    	at brooklyn.util.task.CompoundTask$1.call(CompoundTask.java:82)
    	at brooklyn.util.task.CompoundTask$1.call(CompoundTask.java:1)
    	... 6 more
    Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at CassandraNodeImpl{id=PFYPmSws}: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    	at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:63)
    	at brooklyn.util.task.BasicTask.get(BasicTask.java:322)
    	at brooklyn.util.task.ParallelTask.runJobs(ParallelTask.java:63)
    	... 8 more
    Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at CassandraNodeImpl{id=PFYPmSws}: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.management.internal.EffectorUtils.handleEffectorException(EffectorUtils.java:251)
    	at brooklyn.entity.effector.EffectorTasks$EffectorBodyTaskFactory$2.handleException(EffectorTasks.java:89)
    	at brooklyn.util.task.DynamicSequentialTask.handleException(DynamicSequentialTask.java:412)
    	at brooklyn.util.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:364)
    	... 6 more
    Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at CassandraNodeImpl{id=PFYPmSws}: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.management.internal.EffectorUtils.handleEffectorException(EffectorUtils.java:251)
    	at brooklyn.management.internal.EffectorUtils.invokeMethodEffector(EffectorUtils.java:243)
    	at brooklyn.entity.basic.MethodEffector.call(MethodEffector.java:149)
    	at brooklyn.entity.trait.Startable$StartEffectorBody.call(Startable.java:54)
    	at brooklyn.entity.trait.Startable$StartEffectorBody.call(Startable.java:1)
    	at brooklyn.entity.effector.EffectorTasks$EffectorBodyTaskFactory$1.call(EffectorTasks.java:81)
    	at brooklyn.util.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:314)
    	... 6 more
    Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:278)
    	at brooklyn.management.internal.EffectorUtils.invokeMethodEffector(EffectorUtils.java:238)
    	... 11 more
    Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:89)
    	at brooklyn.util.task.BasicTask.getUnchecked(BasicTask.java:333)
    	at brooklyn.util.task.DynamicSequentialTask.drain(DynamicSequentialTask.java:442)
    	at brooklyn.util.task.DynamicTasks.drain(DynamicTasks.java:299)
    	at brooklyn.util.task.DynamicTasks.waitForLast(DynamicTasks.java:288)
    	at brooklyn.entity.software.MachineLifecycleEffectorTasks.start(MachineLifecycleEffectorTasks.java:199)
    	at brooklyn.entity.basic.SoftwareProcessImpl.doStart(SoftwareProcessImpl.java:454)
    	at brooklyn.entity.basic.SoftwareProcessImpl.start(SoftwareProcessImpl.java:408)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
    	at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:149)
    	at groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown Source)
    	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
    	at groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown Source)
    	at brooklyn.util.GroovyJavaMethods.invokeMethodOnMetaClass(GroovyJavaMethods.groovy:143)
    	at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodLocal(AbstractManagementContext.java:251)
    	at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:274)
    	... 12 more
    Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    	at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    	at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:63)
    	at brooklyn.util.task.BasicTask.get(BasicTask.java:322)
    	at brooklyn.util.task.BasicTask.getUnchecked(BasicTask.java:331)
    	... 33 more
    Caused by: java.lang.IllegalStateException: Software process entity CassandraNodeImpl{id=PFYPmSws} did not pass is-running check within the required 5m limit (5m 4s elapsed)
    	at brooklyn.entity.basic.SoftwareProcessImpl.waitForEntityStart(SoftwareProcessImpl.java:398)
    	at brooklyn.entity.basic.SoftwareProcessImpl.postDriverStart(SoftwareProcessImpl.java:128)
    	at brooklyn.entity.basic.SoftwareProcessDriverLifecycleEffectorTasks.postStartCustom(SoftwareProcessDriverLifecycleEffectorTasks.java:134)
    	at brooklyn.entity.software.MachineLifecycleEffectorTasks$7.run(MachineLifecycleEffectorTasks.java:385)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    	... 7 more
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---