cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gasol Wu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2481) C* .deb installs C* init.d scripts such that C* comes up before mdadm and related
Date Wed, 18 May 2011 15:32:47 GMT

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

Gasol Wu commented on CASSANDRA-2481:
-------------------------------------

{quote}
Installing new version of config file /etc/init.d/cassandra ...
update-rc.d: error: start|stop arguments not terminated by "."
{quote}

find dh_installinit in debian/rules and edit like following line.

dh_installinit -u'start 50 2 3 4 5 . stop 50 0 1 6 .'

it works for me.

> C* .deb installs C* init.d scripts such that C* comes up before mdadm and related
> ---------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2481
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2481
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Matthew F. Dennis
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 0.7.6, 0.8.0
>
>         Attachments: 2481.txt
>
>
> the C* .deb packages install the init.d scripts at S20 which is before mdadm and various
other services.  This means that when a node reboots that C* is started before the RAID sets
are up and mounted causing C* to think it has no data and attempt bootstrapping again.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message