incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pushpalanka Jayawardhana <pushpalankaj...@gmail.com>
Subject Re: bulk load problem
Date Mon, 09 Jul 2012 18:56:18 GMT
Hi,

Thanks Brian for your code and Thanks Yuki.

Directory structure was a problem and could correct it with Yuki's guidance.
Still the error was same and it was due to wrong Thrift rpc address. After
correcting it, bulk loading was successful.


On Mon, Jul 9, 2012 at 8:13 PM, Yuki Morishita <mor.yuki@gmail.com> wrote:

>  Due to the change in directory structure from ver 1.1, you have to create
> the directory like
>
> /path/to/sstables/<Keyspace name>/<ColumnFamily name>
>
> and put your sstables.
>
> In your case, I think it would be "/data/ssTable/tpch/tpch/cf0".
> And you have to specify that directory as a parameter for sstableloader
>
> bin/sstableloader -d 192.168.100.1 /data/ssTable/tpch/tpch/cf0
>
> Yuki
>
> On Tuesday, June 26, 2012 at 7: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 192.168.100.1 /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 | http://pushpalankajaya.blogspot.com

Twitter: http://twitter.com/Pushpalanka | Slideshare:
http://www.slideshare.net/Pushpalanka

Mime
View raw message