Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 57216 invoked from network); 6 Oct 2010 18:46:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Oct 2010 18:46:30 -0000 Received: (qmail 19922 invoked by uid 500); 6 Oct 2010 18:46:28 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 19899 invoked by uid 500); 6 Oct 2010 18:46:28 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 19891 invoked by uid 99); 6 Oct 2010 18:46:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 18:46:28 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sdmnix@gmail.com designates 209.85.161.44 as permitted sender) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 18:46:23 +0000 Received: by fxm6 with SMTP id 6so5462097fxm.31 for ; Wed, 06 Oct 2010 11:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=g1RPfAqnVlySZCX5GRFHjXDgy1fP6TbvF+49SlAzxa8=; b=SXIOzwrvBuIvUJHBGepe1rIuLvhap2BussaIKcm1gSYCbSfBd7CZuV4I8yi0zEc/t3 kmduQvx/jNEmYnQvi56Sjw27lxhxsRPvpanpOialZyH0HX1Q8gg2HWiS1BhN45VO1zQb CkQJNZc4OcMVVrZdt+FUigeQ7aLm8qSvHp3l8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=hiYf+XwS1ohmWCbWmtW/q/6KabbR4s0/UR4LkeVaPejXKApPynUQVeF6KiAQC/Fzv6 UKq7hKjZpfjb4irxKoJiFMeHzRlyVUJxwDqxzWteMy+XJ77+Df8OAQ1jaYSxY9YM3Y0l R7Yih59bDP/hxgIDZ5Lirw8TzAyj7GInwjtp0= MIME-Version: 1.0 Received: by 10.223.56.4 with SMTP id w4mr12879884fag.91.1286390761767; Wed, 06 Oct 2010 11:46:01 -0700 (PDT) Received: by 10.223.104.211 with HTTP; Wed, 6 Oct 2010 11:46:01 -0700 (PDT) In-Reply-To: <66D83726-E949-4048-A382-25F104CFD47F@yogadigital.net> References: <88C96B31-4C64-40A6-96F0-A9FDDB951D9C@yogadigital.net> <66D83726-E949-4048-A382-25F104CFD47F@yogadigital.net> Date: Wed, 6 Oct 2010 12:46:01 -0600 Message-ID: Subject: Re: Newbie Question about restarting Cassandra From: Scott Mann To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yes. ctrl-C if running in the foreground. Use kill , if running in the background (see the man page for kill if you are unfamiliar with it). Killing Cassandra is the only way to terminate it. On Wed, Oct 6, 2010 at 11:03 AM, Alberto Velandia wr= ote: > So, is ctrl + C how you stop cassandra? or I'm i better doing it another > way? > Thanks > On Oct 6, 2010, at 11:59 AM, Norman Maurer wrote: > > CTRL + Z does not stop a programm it just suspend it. You will need to > resume it with "fg" and then hit CTRL + C to stop it. > > For some basic background: > > http://linuxreviews.org/beginner/jobs/ > > Bye, > Norman > > > 2010/10/6 Alberto Velandia : > > Hi I've stopped cassandra hitting Ctrl + Z and tried to restart it and go= t > > this message: > > =A0INFO 11:46:16,039 JNA not found. Native methods will be disabled. > > =A0INFO 11:46:16,159 DiskAccessMode 'auto' determined to be mmap, > > indexAccessMode is mmap > > ERROR 11:46:16,449 Fatal exception during initialization > > java.io.IOException: Failed to delete > > /var/lib/cassandra/data/system/LocationInfo-9-Data.db > > =A0=A0 =A0 =A0 =A0at > > org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:4= 7) > > =A0=A0 =A0 =A0 =A0at > > org.apache.cassandra.io.SSTable.deleteIfCompacted(SSTable.java:108) > > =A0=A0 =A0 =A0 =A0at > > org.apache.cassandra.db.ColumnFamilyStore.(ColumnFamilyStore.java:1= 72) > > =A0=A0 =A0 =A0 =A0at > > org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnF= amilyStore.java:248) > > =A0=A0 =A0 =A0 =A0at org.apache.cassandra.db.Table.(Table.java:338) > > =A0=A0 =A0 =A0 =A0at org.apache.cassandra.db.Table.open(Table.java:199) > > =A0=A0 =A0 =A0 =A0at > > org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:124) > > =A0=A0 =A0 =A0 =A0at > > org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:97= ) > > =A0=A0 =A0 =A0 =A0at > > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:214= ) > > 1. How I'm I supposed to stop Cassandra? > > 2. Is there a way for me to restart Cassandra without losing the data I'v= e > > stored? > > Thanks > > Alberto Velandia > > Director de proyectos > > Calle 74 # 15-80 - Int 2. Oficina 202 > > Osaka Trade Center > > Bogot=E1, Colombia, Latam. > > Tel: +571-345-1070 > > Cel: +57301-466-3902 > > Site en desarrollo:=A0http://www.staging.yoga-digital.net/works > > Messenger:=A0beto@yogadigital.net > > SkypeID: beto_velandia > > > La pureza de lo simple > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > > informaci=F3n privilegiada o confidencial. Si no es usted el destinatario > > indicado, queda notificado de que la lectura, utilizaci=F3n, divulgaci=F3= n y/o > > copia sin autorizaci=F3n est=E1 prohibida en virtud de la legislaci=F3n v= igente. > > Si ha recibido este mensaje por error, le rogamos que nos lo comunique > > inmediatamente por esta misma v=EDa y proceda a su destrucci=F3n. El corr= eo > > electr=F3nico v=EDa Internet no permite asegurar la confidencialidad de l= os > > mensajes que se transmiten ni su integridad o correcta recepci=F3n. Yoga > > Digital S.A.S. no asume ninguna responsabilidad por estas circunstancias. > > This message is intended exclusively for its addressee and may contain > > information that is CONFIDENTIAL and protected by a professional privileg= e > > or whose disclosure is prohibited by law. If you are not the intended > > recipient you are hereby notified that any read, dissemination, copy or > > disclosure of this communication is strictly prohibited by law. If this > > message has been received in error, please immediately notify us via e-ma= il > > and delete it.=A0 Internet e-mail neither guarantees the confidentiality = nor > > the integrity or proper receipt of the messages sent. Yoga Digital S.A.S. > > does not assume any liability for those circumstances. > > > > > Alberto Velandia > Director de proyectos > Calle 74 # 15-80 - Int 2. Oficina 202 > Osaka Trade Center > Bogot=E1, Colombia, Latam. > Tel: +571-345-1070 > Cel: +57301-466-3902 > Site en desarrollo:=A0http://www.staging.yoga-digital.net/works > Messenger:=A0beto@yogadigital.net > SkypeID: beto_velandia > > > La pureza de lo simple > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > informaci=F3n privilegiada o confidencial. Si no es usted el destinatario > indicado, queda notificado de que la lectura, utilizaci=F3n, divulgaci=F3= n y/o > copia sin autorizaci=F3n est=E1 prohibida en virtud de la legislaci=F3n v= igente. > Si ha recibido este mensaje por error, le rogamos que nos lo comunique > inmediatamente por esta misma v=EDa y proceda a su destrucci=F3n. El corr= eo > electr=F3nico v=EDa Internet no permite asegurar la confidencialidad de l= os > mensajes que se transmiten ni su integridad o correcta recepci=F3n. Yoga > Digital S.A.S. no asume ninguna responsabilidad por estas circunstancias. > > This message is intended exclusively for its addressee and may contain > information that is CONFIDENTIAL and protected by a professional privileg= e > or whose disclosure is prohibited by law. If you are not the intended > recipient you are hereby notified that any read, dissemination, copy or > disclosure of this communication is strictly prohibited by law. If this > message has been received in error, please immediately notify us via e-ma= il > and delete it.=A0 Internet e-mail neither guarantees the confidentiality = nor > the integrity or proper receipt of the messages sent. Yoga Digital S.A.S. > does not assume any liability for those circumstances. > --=20 -Scott