Re: get float column in cassandra mapreduce

2013-10-05 Thread Anseh Danesh
Hi.. thanks for your reply shahab.. I don't know what is source file encoding, I export the table in mysql as csv file and import it in cassandra. in both mysql and cassandra the temprature column type is float. I don't know how should set them to UTF8.. for your 2nd topic... no I'm not sure it is

Re: get float column in cassandra mapreduce

2013-10-05 Thread Shahab Yunus
Couple of things which I could I think of. Other might have better ideas. 1- The exception is about encoding mismatch. Do you know what is your source files's encoding and what is your system's default? E.g. it can be ISO8859-1 in Windows, UTF-8 in Linux etc.and your file has something else. You c

get float column in cassandra mapreduce

2013-10-05 Thread Anseh Danesh
Hi all... I have a question. in the cassandra wordcount mapreduce with cql3, I want to get a string column and a float (or double) column as map input key and value. I mean I want to get date column of type string as key and temprature column of type float as value. but when I println value of temp