cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sandeep thakur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10649) Cassandra 2.1 start failed with exception:Exception encountered during startup
Date Thu, 05 Nov 2015 05:30:28 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991157#comment-14991157
] 

sandeep thakur commented on CASSANDRA-10649:
--------------------------------------------

If I follow what you've mentioned that it is also throwing error as mentioned below:
++++++
0240; truncate_request_timeout_in_ms=60000; write_request_timeout_in_ms=2000]
ERROR 15:17:59 Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties
[enabled] from your cassandra.yaml
        at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check(YamlConfigurationLoader.java:162)
~[apache-cassandra-2.1.11.jar:2.1.11]
        at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:115)
~[apache-cassandra-2.1.11.jar:2.1.11]
        at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:84)
~[apache-cassandra-2.1.11.jar:2.1.11]
        at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:161)
~[apache-cassandra-2.1.11.jar:2.1.11]
        at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:136)
~[apache-cassandra-2.1.11.jar:2.1.11]
        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:168) [apache-cassandra-2.1.11.jar:2.1.11]
        at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:562)
[apache-cassandra-2.1.11.jar:2.1.11]
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:651) [apache-cassandra-2.1.11.jar:2.1.11]
Invalid yaml. Please remove properties [enabled] from your cassandra.yaml
Fatal configuration error; unable to start. See log for stacktrace.
++++++

It is asking to remove property "enabled".

> Cassandra 2.1 start failed with exception:Exception encountered during startup
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10649
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10649
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Configuration
>         Environment: Linux: Fedora-16 64 bit
>            Reporter: sandeep thakur
>             Fix For: 2.1.x
>
>         Attachments: cassandra.yaml
>
>
> I am trying to setup cassandra single node cluster. i've downloaded below build:
> apache-cassandra-2.1.11-bin.tar.gz
> I've upgraded Java to 1.8 as well, as earlier it was throwing errors related to Java
version.
> {code}
> [root@localhost cassandra]# java -version
> java version "1.8.0_60"
> Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
> Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
> {code}
> I've also verified the cassandra.yaml file from "http://www.yamllint.com/" as well. But
while starting cassandra, I am getting vague exception as below:
> {code}
> INFO  15:52:11 Compacting [SSTableReader(path='/home/sandeep/bck_up/data/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-18-Data.db'),
SSTableReader(path='/home/sandeep/bck_up/data/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-17-Data.db'),
SSTableReader(path='/home/sandeep/bck_up/data/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-20-Data.db'),
SSTableReader(path='/home/sandeep/bck_up/data/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-19-Data.db')]
> INFO  15:52:11 Node localhost/127.0.0.1 state jump to normal
> INFO  15:52:11 Netty using native Epoll event loop
> ERROR 15:52:11 Exception encountered during startup
> java.lang.NullPointerException: null
>         at org.apache.cassandra.transport.Server.run(Server.java:171) ~[apache-cassandra-2.1.11.jar:2.1.11]
>         at org.apache.cassandra.transport.Server.start(Server.java:117) ~[apache-cassandra-2.1.11.jar:2.1.11]
>         at org.apache.cassandra.service.CassandraDaemon.start(CassandraDaemon.java:492)
[apache-cassandra-2.1.11.jar:2.1.11]
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:575)
[apache-cassandra-2.1.11.jar:2.1.11]
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:651)
[apache-cassandra-2.1.11.jar:2.1.11]
> java.lang.NullPointerException
>         at org.apache.cassandra.transport.Server.run(Server.java:171)
>         at org.apache.cassandra.transport.Server.start(Server.java:117)
>         at org.apache.cassandra.service.CassandraDaemon.start(CassandraDaemon.java:492)
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:575)
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:651)
> Exception encountered during startup: null
> INFO  15:52:11 Announcing shutdown
> INFO  15:52:11 Node localhost/127.0.0.1 state jump to normal
> INFO  15:52:11 Compacted 4 sstables to [/home/sandeep/bck_up/data/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-21,].
 11,427 bytes to 5,749 (~50% of original) in 199ms = 0.027551MB/s.  4 total partitions merged
to 1.  Partition merge counts were {4:1, }
> INFO  15:52:13 Waiting for messaging service to quiesce
> INFO  15:52:13 MessagingService has terminated the accept() thread
> [root@localhost server]#
> {code}
> I've also posted the issue on stack overflow as well:
> http://stackoverflow.com/questions/33514745/cassandra-startup-failed-with-exception-exception-encountered-during-startup
> Request some one to assist on this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message