cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thamizh <tceg...@yahoo.co.in>
Subject Reg CassandraBulkuploader
Date Wed, 31 Aug 2011 08:10:36 GMT
Hi All,

I am using Cassandra-0.7.8 and trying to run "CassandraBulkLoader.java" at . But it ended
up with below error.
I have kept cassandra.yaml file on HDFS at /data/conf/cassandra.yaml .

FYR, Attached the  CassandraBulkUploader.java,

So, I made below Hadoop specific changes on

DistributedCache.addCacheFile(new URI("/data/conf/cassandra.yaml",conf); 
DistributedCache.releaseCache(new URI("/data/conf/cassandra.yaml"), jobconf);

Hadoop Error,
attempt_201108311244_0004_r_000000_2: CassConfig:/data/hadoop-hadoop/mapred/local/taskTracker/archive/localhost/data/conf/cassandra.yaml
attempt_201108311244_0004_r_000000_2: Cannot locate cassandra.yaml
attempt_201108311244_0004_r_000000_2: Fatal configuration error; unable to start server. 
See log for stacktrace.
11/08/31 13:03:41 INFO mapred.JobClient:  map 100% reduce 33%
11/08/31 13:03:44 INFO mapred.JobClient:  map 100% reduce 0%

It looks though, Cassandra.yaml is located on HDFS system was not be able to locate it.
How can I resolve this error?

Regards,
Thamizhannal
Mime
View raw message