Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61202D13E for ; Mon, 17 Sep 2012 02:25:40 +0000 (UTC) Received: (qmail 43049 invoked by uid 500); 17 Sep 2012 02:25:38 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 43024 invoked by uid 500); 17 Sep 2012 02:25:38 -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 43016 invoked by uid 99); 17 Sep 2012 02:25:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2012 02:25:38 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a47.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2012 02:25:32 +0000 Received: from homiemail-a47.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTP id 6546828405B for ; Sun, 16 Sep 2012 19:25:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=MDhpUTv4nuisTm0Q3N60J+QuA9 U=; b=oxjkywI8FUEHYF8Jq1e+JSSmeCgqvcmu6M+4l8Kwef2mmzBztwDQ3jtcg4 Iol8B66U/nWzOvJN0uahvyTEpWr/9sv7ZaESSTuoxYCQXa2MCG0igpbPEKlrsWpN OfkZU2oO8JBzsecqSSlI6v6Y4TxmlDFOIop//uXVw/5LIf5RE= Received: from [172.20.10.2] (unknown [118.149.109.186]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTPSA id 472C9284058 for ; Sun, 16 Sep 2012 19:25:11 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_948901EE-43B6-4AE8-85CE-01EFE3EAF77B" Message-Id: <45A2E980-E9BB-4002-80D0-8D977DCB6BA3@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: cassandra does not close the stdout console on startup Date: Mon, 17 Sep 2012 14:25:11 +1200 References: <0E566740EC90304EB9C1C25261C4B8C7CCB096@WTPCPMBMEM08.ams.bnymellon.net> To: user@cassandra.apache.org In-Reply-To: <0E566740EC90304EB9C1C25261C4B8C7CCB096@WTPCPMBMEM08.ams.bnymellon.net> X-Mailer: Apple Mail (2.1486) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_948901EE-43B6-4AE8-85CE-01EFE3EAF77B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Starting with -f backgrounds the process.=20 By default logging is configured to write to stdout, maybe update = log4j-server.properties.=20 Hope that helps.=20 ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 15/09/2012, at 2:49 AM, "Xu, Zaili" wrote: > Hi, > =20 > Another newby question. My script needs to start up cassandra node. = However cassandra doesn't close the stdout console and therefore never = returns > =20 > cassandra -p c.pid > =20 > Is there anyway to have cassandra close the stdout ? > =20 > Zaili >=20 > ****************************************************** > IMPORTANT: Any information contained in this communication is intended = for the use of the named individual or entity. All information contained = in this communication is not intended or construed as an offer, = solicitation, or a recommendation to purchase any security. Advice, = suggestions or views presented in this communication are not necessarily = those of Pershing LLC nor do they warrant a complete or accurate = statement.=20 >=20 > If you are not an intended party to this communication, please notify = the sender and delete/destroy any and all copies of this communication. = Unintended recipients shall not review, reproduce, disseminate nor = disclose any information contained in this communication. Pershing LLC = reserves the right to monitor and retain all incoming and outgoing = communications as permitted by applicable law. >=20 > Email communications may contain viruses or other defects. Pershing = LLC does not accept liability nor does it warrant that email = communications are virus or defect free. > ****************************************************** --Apple-Mail=_948901EE-43B6-4AE8-85CE-01EFE3EAF77B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Starting with -f = backgrounds the process. 

By default = logging is configured to write to stdout, maybe update = log4j-server.properties. 

Hope that = helps. 

http://www.thelastpickle.com

On 15/09/2012, at 2:49 AM, "Xu, Zaili" <ZXu@pershing.com> = wrote:

 
Another newby question. My script needs to = start up cassandra node. However cassandra doesn't close the stdout = console and therefore never returns
 
cassandra -p = c.pid
 
Is there anyway to have cassandra close the = stdout ?
 
Zaili

******************************************************
I= MPORTANT: Any information contained in this communication is intended = for the use of the named individual or entity. All information contained = in this communication is not intended or construed as an offer, = solicitation, or a recommendation to purchase any security. Advice, = suggestions or views presented in this communication are not necessarily = those of Pershing LLC nor do they warrant a complete or accurate = statement. 

If = you are not an intended party to this communication, please notify the = sender and delete/destroy any and all copies of this communication. = Unintended recipients shall not review, reproduce, disseminate nor = disclose any information contained in this communication. Pershing LLC = reserves the right to monitor and retain all incoming and outgoing = communications as permitted by applicable law.

Email = communications may contain viruses or other defects. Pershing LLC does = not accept liability nor does it warrant that email communications are = virus or defect = free.
******************************************************
<= /blockquote>
= --Apple-Mail=_948901EE-43B6-4AE8-85CE-01EFE3EAF77B--