cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cathy Daw (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6116) /etc/init.d/cassandra stop and service don't work
Date Tue, 01 Oct 2013 00:19:25 GMT
Cathy Daw created CASSANDRA-6116:
------------------------------------

             Summary: /etc/init.d/cassandra stop and service don't work
                 Key: CASSANDRA-6116
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6116
             Project: Cassandra
          Issue Type: Bug
            Reporter: Cathy Daw
            Priority: Minor


These use to work in 2.0.0 and appears to be introduced in 2.0.1

Test Scenario
{noformat}
# Start Server
automaton@ip-10-171-39-230:~$ sudo service cassandra start
xss =  -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42
-Xms1862M -Xmx1862M -Xmn200M -XX:+HeapDumpOnOutOfMemoryError -Xss256k


# Check Status
automaton@ip-10-171-39-230:~$ nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address    Load       Tokens  Owns   Host ID                               Rack
UN  127.0.0.1  81.72 KB   256     100.0%  e40ef77c-9cf7-4e27-b651-ede3b7269019  rack1


# Check Status of service
automaton@ip-10-171-39-230:~$ sudo service cassandra status
xss =  -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42
-Xms1862M -Xmx1862M -Xmn200M -XX:+HeapDumpOnOutOfMemoryError -Xss256k
 * Cassandra is not running


# Stop Server
automaton@ip-10-171-39-230:~$ sudo service cassandra stop
xss =  -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42
-Xms1862M -Xmx1862M -Xmn200M -XX:+HeapDumpOnOutOfMemoryError -Xss256k


# Verify Server is no longer up
automaton@ip-10-171-39-230:~$ nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address    Load       Tokens  Owns   Host ID                               Rack
UN  127.0.0.1  81.72 KB   256     100.0%  e40ef77c-9cf7-4e27-b651-ede3b7269019  rack1
{noformat}

Installation Instructions
{noformat}
wget http://people.apache.org/~slebresne/cassandra_2.0.1_all.deb
sudo dpkg -i cassandra_2.0.1_all.deb # Error about dependencies
sudo apt-get -f install
sudo dpkg -i cassandra_2.0.1_all.deb
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message