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 AA3C0D49B for ; Tue, 28 May 2013 03:52:45 +0000 (UTC) Received: (qmail 72324 invoked by uid 500); 28 May 2013 03:52:43 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 72143 invoked by uid 500); 28 May 2013 03:52:42 -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 72114 invoked by uid 99); 28 May 2013 03:52:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 03:52:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of edlinuxguru@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-we0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 03:52:35 +0000 Received: by mail-we0-f176.google.com with SMTP id p58so4788668wes.7 for ; Mon, 27 May 2013 20:52:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sfdIpZVA62j0hHtAjGoA+6aycffv5JWmGqmfaYeYvFE=; b=XJBtmfIH8nXRxNSkJEbwllFvr960ebAQboYTiSuBJL7C3eja4odlf+I5lvdzaq9JI2 hWGz3/hbQkDJb8pmGJ59snvN2fSLGo4Itm6pRNdp10EKf0u3vuCFxt98BSFHYAnzZIoW +1+ksKUl6nGVUf1w9CdOzwCO2WaUxKU+/No2Ch/+nqr5amM5XjVS907zGpK449Zya/If f4cNhvGjqe3lAmVGSlDc1ajXOTiafD6TB21bsod+MMhB6uXfyz7I1d+EY9mpWbjDSEKP EXXrpwY16cDqTv0pXCyofwWKX4AYj74DbzAwzqMCdEZzQppbPcycb+FUp1RT60OrhUFe uuHg== MIME-Version: 1.0 X-Received: by 10.180.183.206 with SMTP id eo14mr10456018wic.36.1369713135501; Mon, 27 May 2013 20:52:15 -0700 (PDT) Received: by 10.194.135.140 with HTTP; Mon, 27 May 2013 20:52:15 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 May 2013 23:52:15 -0400 Message-ID: Subject: Re: Running Cassandra with no open TCP ports From: Edward Capriolo To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=001a11c2297ce2c74e04ddbf302f X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2297ce2c74e04ddbf302f Content-Type: text/plain; charset=ISO-8859-1 No. Your only option is to give each instance its own ports. On Mon, May 27, 2013 at 10:24 PM, Mark Mccraw wrote: > Hi All, > > I'm using Cassandra as an embedded datastore for a small service that > doesn't need (or want) to act as a database service in any way. Moreover, > we may want to start up multiple instances of the application, and right > now whenever that happens, we get port conflicts on 7000 because Cassandra > is listening for connections. I couldn't find an obvious way to disable > listening on any port. Is there an easy way? > > Thanks! > Mark > > > > --001a11c2297ce2c74e04ddbf302f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
No. Your only option is to give each instance its own port= s.


O= n Mon, May 27, 2013 at 10:24 PM, Mark Mccraw <Mark.Mccraw@sas.com&g= t; wrote:
Hi All,

I'm using Cassandra as an embedded datastore for a small service t= hat doesn't need (or want) to act as a database service in any way. =A0= Moreover, we may want to start up multiple instances of the application, an= d right now whenever that happens, we get port conflicts on 7000 because Cassandra is listening for connections. =A0= I couldn't find an obvious way to disable listening on any port. =A0Is = there an easy way?

Thanks!
Mark




--001a11c2297ce2c74e04ddbf302f--