cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: ConfigHelper.setThriftContact() undefined in cassandra v1.2
Date Tue, 29 Jan 2013 21:04:51 GMT
> I am trying out the example given in Cassandra Definitive guide, Ch 12. 
That book may be out of date. 
You might be better off with info from http://www.datastax.com/docs/1.1/cluster_architecture/hadoop_integration
and http://wiki.apache.org/cassandra/HadoopSupport as well as the sample in the source distribution.


> his statement gives error and I am not able to figure out the replacement for it:
What is the error?

Cheers
-----------------
Aaron Morton
Freelance Cassandra Developer
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 29/01/2013, at 9:37 PM, Tejas Patil <tejas.patil.cs@gmail.com> wrote:

> I am trying out the example given in Cassandra Definitive guide, Ch 12. This statement
gives error and I am not able to figure out the replacement for it:
> ConfigHelper.setThriftContact(job.getConfiguration(), "localhost",  9160);
> 
> Also,
> 
> IColumn column = columns.get(columnName.getBytes());
> String value = new String(column.value());
> 
> column.value() gives compilation error. any solutions ?
> 
> Thanks,
> Tejas Patil


Mime
View raw message