cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marlon Rodriguez (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 Fri, 20 May 2011 15:24:47 GMT

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

Marlon Rodriguez commented on CASSANDRA-2481:
---------------------------------------------

This is still broken for 0.8.0~rc1.  The last commit to it shows a merge with 0.7 but this
fix is not in it.

quick workaround is to modify the cassandra.postinst file.  You can get that from dpkg-query
-c cassandra, mine is under /var/lib/dpkg/info/:
{noformat}
sudo cp /var/lib/dpkg/info/cassandra.postinst /var/lib/dpkg/info/cassandra.postinst.original
sudo sed -i 's/50 2 3 4 5 \. stop 50 0 1 6 >/50 2 3 4 5 \. stop 50 0 1 6 \.>/' /var/lib/dpkg/info/cassandra.postinst
#make sure it's correct then run the below line.
#sudo dpkg --configure cassandra
{noformat}



> 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
>    Affects Versions: 0.7.6, 0.8.0
>            Reporter: Matthew F. Dennis
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 0.7.6, 0.8.0
>
>         Attachments: 2481-fix.txt, 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