RE: Exception while writing compsite column names

2013-07-18 Thread ANAND_BALARAMAN
Output of describe command is: [default@Test] describe CompositeColumnNameTest; ColumnFamily: CompositeColumnNameTest Key Validation Class: org.apache.cassandra.db.marshal.UTF8Type Default column value validator: org.apache.cassandra.db.marshal.UTF8Type Columns sorted by: or

RE: Exception while writing compsite column names

2013-07-18 Thread ANAND_BALARAMAN
I had been using the StringSerilaizer.get() for all UTF8Type fields so far. Do not think I need to check the code. Do you suspect the column family definition? -Anand From: Vivek Mishra [mailto:mishra.v...@gmail.com] Sent: Thursday, July 18, 2013 11:29 AM To: user@cassandra.apache.org Subject: R

Exception while writing compsite column names

2013-07-18 Thread ANAND_BALARAMAN
Hi I have an issue while inserting a composite column name to one of the Cassandra column families. Below is a detailed description of what I had done and stuck up at. Please let me know where I had went wrong. Requirement: -- Rowkey-> RowIdString Colum

RE: change Storage port

2013-01-29 Thread ANAND_BALARAMAN
Hi I tried setting the storage port in program using System.setProperty("cassandra.storage_port" , "7002"). Still not able to communicate with the ByteOrdered cluster. Seems like the port is still pointing to 7000. Not sure how to validate this setting. Any inputs related to this would be reall

RE: change Storage port

2013-01-25 Thread ANAND_BALARAMAN
Even I am facing a similar issue. I am using Bulkoutput format for loading data from Hadoop to Cassandra. All I need is to set the storage_port explicitly in my job/program. Can anyone help me in setting the storage_port configuration parameter from my java program? Anand B From: chandra Varah

RE: Loading sstables to Cassandra using sstableloader and JMX client

2012-12-20 Thread ANAND_BALARAMAN
I tried without quotes as well. Still error persists. And I am using them in my Run configuration arguments of eclipse java project. While running it as a java application, it provides only one line error. Rest are just options to be passed in arguments - such as host name, port name, directory

RE: Loading sstables to Cassandra using sstableloader and JMX client

2012-12-20 Thread ANAND_BALARAMAN
Hi Yes, Customer is the keyspace. I tried giving the column family name as well and getting same error. Also tweaked by changing the slash from '\' to '/' or '\\'. Any other ideas? Thanks Anand B -Original Message- From: Pradeep Kumar Mantha [mailto:pradeep...@gmail.com] Sent: Thursday, D

RE: Loading sstables to Cassandra using sstableloader and JMX client

2012-12-20 Thread ANAND_BALARAMAN
Hi I am working on options to load my sstables to load into Cassandra (1.1.6 - localhost). Reference - http://amilaparanawithana.blogspot.com/2012/06/bulk-loading-external-data-to-cassandra.html Note - I am running Hadoop in windows (standalone mode). Trying to load my hive tables to Cassandr

Loading sstables to Cassandra using sstableloader and JMX client

2012-12-19 Thread ANAND_BALARAMAN
Hi I am working on options to load my sstables to load into Cassandra (1.1.6 - localhost). Had tried 2 options so far: * Running sstableloader from java module - Created a java class which invokes org.apache.cassandra.tools.BulkLoader.main with the following args: -d '127.0.0.1' 'C:\A

RE: BulkOutputFormat error - org.apache.thrift.transport.TTransportException

2012-12-19 Thread ANAND_BALARAMAN
The problem was with the compatibility. I was using a lower version of Cassandra jar files. Now, BulkOutputFormat works fine. -Original Message- From: anand_balara...@homedepot.com [mailto:anand_balara...@homedepot.com] Sent: Friday, December 14, 2012 12:37 AM To: user@cassandra.apache.or

RE: BulkOutputFormat error - org.apache.thrift.transport.TTransportException

2012-12-13 Thread ANAND_BALARAMAN
Aaron Both the rpc_address in caasandra.yaml file and job configuration are same (localhost). I will try connecting to a different Cassandra cluster and test it again. -Original Message- From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Thursday, December 13, 2012 9:03 PM To: user

BulkOutputFormat error - org.apache.thrift.transport.TTransportException

2012-12-13 Thread ANAND_BALARAMAN
Hi I am a newbie to Cassandra. Was trying out a sample (word count) code on BulkOutputFormat and got stuck with an error. What I am trying to do is - migrate all Hive tables (from Hadoop cluster) to Cassandra column families. My MR program is configured to run on Hadoop cluster v 0.20.2 (cdh3u3