cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pushpalanka Jayawardhana <>
Subject Re: bulk load problem
Date Mon, 09 Jul 2012 09:16:26 GMT
Hi all,

I am facing the same problem when trying to load Cassandra using
sstableloader. I am running a Cassandra instance in my own machine and
sstableloader is also called from the same machine. Following are the steps
I followed.

   - get a copy of the running Cassandra instance
   - set another loopback address with "sudo ifconfig lo:0
   netmask up"
   - set listen address and rpc address of the copied Cassandra's
   cassandra.yaml to
   - ran "./sstableloader -d <directory of created sstables>"

But this give me an error 'Could not retrieve endpoint ranges: ' and just

I am so grateful for any hints to get over this.
What I want to get done is actually running the sstableloader via a java
code. But I couldn't get over it either and trying to understand the
required args with this. It is great if someone can help me in either cases.

Thanks in advance!

On Tue, Jul 3, 2012 at 5:16 AM, aaron morton <>wrote:

> Do you have the full stack ? It will include a cause.
> Cheers
>   -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> On 27/06/2012, at 12:07 PM, James Pirz wrote:
> Dear all,
> I am trying to use "sstableloader" in cassandra 1.1.1, to bulk load some
> data into a single node cluster.
> I am running the following command:
> bin/sstableloader -d /data/ssTable/tpch/tpch/
> from "another" node (other than the node on which cassandra is running),
> while the data should be loaded into a keyspace named "tpch". I made sure
> that the 2nd node, from which I run sstableloader, have the same copy of
> cassandra.yaml as the destination node.
> I have put
> tpch-cf0-hd-1-Data.db
> tpch-cf0-hd-1-Index.db
> under the path, I have passed to sstableloader.
> But I am getting the following error:
> Could not retrieve endpoint ranges:
> Any hint ?
> Thanks in advance,
> James

Pushpalanka Jayawardhana | Undergraduate | Computer Science and Engineering
University of Moratuwa

+94779716248 |

Twitter: | Slideshare:

View raw message