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 48A3A7BF6 for ; Tue, 26 Jul 2011 03:26:11 +0000 (UTC) Received: (qmail 67941 invoked by uid 500); 26 Jul 2011 03:26:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 67679 invoked by uid 500); 26 Jul 2011 03:25:52 -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 67658 invoked by uid 99); 26 Jul 2011 03:25:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2011 03:25:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2011 03:25:40 +0000 Received: by wyj26 with SMTP id 26so16383wyj.31 for ; Mon, 25 Jul 2011 20:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=Pj0AecFwctsrTOY4jIz3jbT7OfpREj0OWxV6ytUvVSc=; b=UbeXGcMbhtzmUosslLPcLDlLPuX76mGOdXzlO4/pa9eTXnxB1ql7eYkLWtXC8fZLwU 4gwesgm4XDLZgPUXiKcmQvrByqBmG4LjBJwCsnoYNxFa/qhqzd+OeCGbOZj75F9u6SDP rvjFZXrhUv0KLZksF+kacPCZK+p5imJtxZ56s= Received: by 10.216.24.82 with SMTP id w60mr4228880wew.99.1311650719110; Mon, 25 Jul 2011 20:25:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.135.36 with HTTP; Mon, 25 Jul 2011 20:24:59 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Mon, 25 Jul 2011 20:24:59 -0700 Message-ID: Subject: Re: sstableloader throws storage_port error To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable sstableloader uses gossip to discover the Cassandra ring, so you'll need to run it on a different IP (127.0.0.2 is fine). On Mon, Jul 25, 2011 at 2:41 PM, John Conwell wrote: > I'm trying to figure out how to use the sstableloader tool. =A0For my tes= t I > have a single node cassandra instance running on my local machine. =A0I h= ave > cassandra running, and validate this by connecting to it with cassandra-c= li. > I run sstableloader using the following command: > bin/sstableloader /Users/someuser/cassandra/mykeyspace > and I get the following error: > org.apache.cassandra.config.ConfigurationException: localhost/127.0.0.1:7= 000 > is in use by another process. =A0Change listen_address:storage_port in > cassandra.yaml to values that do not conflict with other services > > I've played around with different ports, but nothing works. =A0It it beca= use > I'm trying to run sstableloader on the same machine that cassandra is > running on? =A0It would be odd I think, but cant thing of another reason = I > would get that eror. > Thanks, > John --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com