brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesus arteche <chechu.li...@gmail.com>
Subject Re: Error on Wide Area Cassandra Cluster on Softlayer example
Date Sat, 28 Jun 2014 13:24:24 GMT
thanks Aled,

I got this from the Cassandra log in the node (well, all nodes failed :( ,
so I guess the error is the same on all):

INFO [main] 2014-06-26 18:41:31,577 CassandraDaemon.java (line 119) Logging
initialized

 INFO [main] 2014-06-26 18:41:31,596 CassandraDaemon.java (line 144) JVM
vendor/version: OpenJDK 64-Bit Server VM/1.7.0_55

 WARN [main] 2014-06-26 18:41:31,597 CassandraDaemon.java (line 149)
OpenJDK is not recommended. Please upgrade to the newest Oracle Java release

 INFO [main] 2014-06-26 18:41:31,597 CassandraDaemon.java (line 182) Heap
size: 508559360/509607936

 INFO [main] 2014-06-26 18:41:31,597 CassandraDaemon.java (line 183)
Classpath:
/root/brooklyn-managed-processes/apps/uoQlEEkk/entities/CassandraNode_d3g5BrUs/conf:./bin/../build$

 INFO [main] 2014-06-26 18:41:31,599 CLibrary.java (line 65) JNA not found.
Native methods will be disabled.

 INFO [main] 2014-06-26 18:41:31,613 DatabaseDescriptor.java (line 141)
Loading settings from
file:/root/brooklyn-managed-processes/apps/uoQlEEkk/entities/CassandraNode_d3g5BrUs/$

 INFO [main] 2014-06-26 18:41:32,239 DatabaseDescriptor.java (line 159)
Data files directories:
[/root/brooklyn-managed-processes/apps/uoQlEEkk/entities/CassandraNode_d3g5BrUs/da$

 INFO [main] 2014-06-26 18:41:32,240 DatabaseDescriptor.java (line 160)
Commit log directory:
/root/brooklyn-managed-processes/apps/uoQlEEkk/entities/CassandraNode_d3g5BrUs/commi$

 INFO [main] 2014-06-26 18:41:32,240 DatabaseDescriptor.java (line 200)
DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap

 INFO [main] 2014-06-26 18:41:32,240 DatabaseDescriptor.java (line 214)
disk_failure_policy is stop

 INFO [main] 2014-06-26 18:41:32,247 DatabaseDescriptor.java (line 290)
Global memtable threshold is enabled at 162MB

ERROR [main] 2014-06-26 18:41:32,411 DatabaseDescriptor.java (line 528)
Fatal configuration error

org.apache.cassandra.exceptions.ConfigurationException: Error instantiating
snitch class
'brooklyn.entity.nosql.cassandra.customsnitch.MultiCloudSnitch'.

        at
org.apache.cassandra.utils.FBUtilities.construct(FBUtilities.java:465)

        at
org.apache.cassandra.config.DatabaseDescriptor.createEndpointSnitch(DatabaseDescriptor.java:544)

        at
org.apache.cassandra.config.DatabaseDescriptor.loadYaml(DatabaseDescriptor.java:361)

        at
org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:132)

        at
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:216)

        at
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447)

        at
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490)

Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

        at
org.apache.cassandra.utils.FBUtilities.construct(FBUtilities.java:447)

        ... 6 more

Caused by: java.lang.NoSuchMethodError:
org.apache.cassandra.locator.TokenMetadata.invalidateCaches()V

        at
brooklyn.entity.nosql.cassandra.customsnitch.MultiCloudSnitch.reloadConfiguration(MultiCloudSnitch.java:138)

        at
brooklyn.entity.nosql.cassandra.customsnitch.MultiCloudSnitch.<init>(MultiCloudSnitch.java:78)

        ... 11 more


Thanks in advance


On Fri, Jun 27, 2014 at 3:17 PM, Aled Sage <aled.sage@gmail.com> wrote:

> Hi,
>
> The service-up is based on JMX connectivity to the cassandra node.
>
> You need to drill into the startup tasks, and the debug log, to see why it
> might have failed.
>
> In the Brooklyn web-console, you can select the failed CassandraNode
> entity in the tree (under "applications"), then click on the Activity tab
> and select the "start" row. You can then drill into the tasks performed to
> see the actual stdout/stdin/stderr of the ssh command for starting the
> Cassandra Node.
>
> In the brooklyn.debug.log file, you can look for any exceptions (as well
> as the stdout/stderr of the commands executed).
>
> If the failed CassandraNode has gone from the web-console then you'll want
> to turn on "quarantine", which tells Brooklyn to not terminate the node(s)
> that fail to start - see DynamicCluster.QUARANTINE_FAILED_ENTITIES.
> Add the configuration "dynamiccluster.quarantineFailedEntities" set to
> true in your blueprint.
>
> If it is not obvious from stdout/stdin/stderr what is wrong, then you'll
> want to login to the CassandraNode VM to see what is in the cassandra log
> file.
> The normal "cassandra.log" file will tell you why that particular node
> didn't startup.
> There is a "log.location" sensor on the CassandraNode that should give you
> the path of the log file on the VM.
>
> Aled
>
>
>
> On 27/06/2014 11:39, Jesus arteche wrote:
>
>> Hey guys,
>>
>> I'm trying to run the WideArea Cassandra cluster, deploying over 2
>> different DC on SoftLayer. The machines spun up in SoftLayer, but I got
>> this error :
>>
>> *Failure running task post-start (IthjWEwo)
>> <http://5.153.54.164:8081/#/v1/applications/uoQlEEkk/
>> entities/cnzhYNme/activities/subtask/IthjWEwo>:
>> *Software
>>
>> process entity CassandraNodeImpl{id=cnzhYNme} did not pass is-running
>> check
>> within the required 3m limit (3m 5s elapsed)
>>
>> Any idea?
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message