You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Thamizh <tc...@yahoo.co.in> on 2011/08/31 10:10:36 UTC
Reg CassandraBulkuploader
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