Re: Datastax Java Driver connection issue

2013-04-22 Thread Abhijit Chanda
eException e) { > throw new RuntimeException(e); > } > } > > And everytime it gives me the same exception- > > *com.datastax.driver.core.exceptions.NoHostAvailableException: All > host(s) tried for query failed (tried: [localhost/127.0.0.1])* > > An

Re: Retrieve data from Cassandra database using Datastax java driver

2013-04-20 Thread Abhijit Chanda
You have the collection attributeNames, just iterate it Iterator it = result.iterator(); while(it.hasNext()){ Row row = it.next(); for(String column : attributeNames) { //not sure how to put the columnName and columnValue that came back from the

Re: Datastax Java Driver connection issue

2013-04-19 Thread Abhijit Chanda
@Gabriel, @Wright: thanks, such a silly of me. On Fri, Apr 19, 2013 at 6:48 PM, Keith Wright wrote: > Did you enable the binary protocol in Cassandra.yaml? > > Abhijit Chanda wrote: > > > Hi, > > I have downloaded the CQL driver pr

Datastax Java Driver connection issue

2013-04-19 Thread Abhijit Chanda
Hi, I have downloaded the CQL driver provided by Datastax using com.datastax.cassandra cassandra-driver-core 1.0.0-beta2 Then tried a sample program to connect to the cluster Cluster cluster = Cluster.builder() .addContactPoints

Re: Can I create a counter column family with many rows in 1.1.10?

2013-03-05 Thread Abhijit Chanda
it depends on the client you are using. > > Cheers > > - > Aaron Morton > Freelance Cassandra Developer > New Zealand > > @aaronmorton > http://www.thelastpickle.com > > On 5/03/2013, at 9:16 PM, Abhijit Chanda > wrote: > > Yes you can , yo

Re: Can I create a counter column family with many rows in 1.1.10?

2013-03-05 Thread Abhijit Chanda
or none of them can have it. Best Regards, -- Abhijit Chanda +91-974395

Re: UnavailableException() for keyspace

2013-02-20 Thread Abhijit Chanda
t; Any hint what I could be doing wrong and what to look for? > > I created the keyspace with NetworkTopologyStrategy and I am using > Ec2Snitch. > > Thanks in advance. > > Best regards, > -- > Marcelo Elias Del Valle > http://mvalle.com - @mvallebr > -- Abhijit Chanda +91-974395

Re: NPE in running "ClientOnlyExample"

2013-02-18 Thread Abhijit Chanda
and properly authorised. > > Any actions taken on the basis of this email are at the recipient's > > own risk. > This email and any attachments are confidential, and may be legally > privileged and protected by copyright. If you are not the intended > recipient dissemination or copying of this email is prohibited. If you have > received this in error, please notify the sender by replying by email and > then delete the email completely from your system. Any views or opinions > are solely those of the sender. This communication is not intended to form > a binding contract unless expressly indicated to the contrary and properly > authorised. Any actions taken on the basis of this email are at the > recipient's own risk. > -- Abhijit Chanda +91-974395

Re: cassandra error: "Line 1 => Keyspace names must be case-insensitively unique ("usertable" conflicts with "usertable")"

2013-02-14 Thread Abhijit Chanda
; Muntasir. > > -- > Best Regards > Muntasir Raihan Rahman > Email: muntasir.rai...@gmail.com > Phone: 1-217-979-9307 > Department of Computer Science, > University of Illinois Urbana Champaign, > 3111 Siebel Center, > 201 N. Goodwin Avenue, > Urbana, IL 61801 > -- Abhijit Chanda +91-974395

Re: Accessing Metadata of Column Familes

2013-01-27 Thread Abhijit Chanda
his > email, including the attachments, is strictly forbidden. Please note that > neither MakeMyTrip nor the sender accepts any responsibility for viruses > and it is your responsibility to scan the email and attachments (if any). > No contracts may be concluded on behalf of *MakeMyTrip* by means of email > communications. > -- Abhijit Chanda +91-974395

Re: rpc_timeout exception while inserting

2012-12-18 Thread Abhijit Chanda
anything in the column family it gives me a rpc_timeout exception. I personally found it quite abnormal, so thought of posting this thing in forum. Best, On Mon, Dec 10, 2012 at 6:29 PM, Sylvain Lebresne wrote: > On Mon, Dec 10, 2012 at 12:36 PM, Abhijit Chanda < > abhijit.chan...@gmail.c

Re: Data stax community

2012-09-19 Thread Abhijit Chanda
using community version. > > -- > Marcelo Elias Del Valle > http://mvalle.com - @mvallebr > -- Abhijit Chanda Software Developer VeHere Interactive Pvt. Ltd. +91-974395

Re: change cluster name

2012-08-08 Thread Abhijit Chanda
Hey Tim, Can you repeat these steps as given below? I guess now you are missing step no 6. Start the Cassandra-cli connected to your node. Run the following: 1. use system; 2. set LocationInfo[utf8('L')][utf8('ClusterName')]=utf8('Brisk Cluster'); 3. exit; 4. Run nodetool flush

Re: change cluster name

2012-08-08 Thread Abhijit Chanda
If you have used the above commands then i guess problem lies in this step. [default@system] set LocationInfo[utf8('L')][utf8('*Test Cluster*')]=utf8('Jokefire Cluster'); It should be like this: set LocationInfo[utf8('L')][utf8('Cluster Name')]=utf8('Jokefire Cluster');

Re: change cluster name

2012-08-07 Thread Abhijit Chanda
have you flushed the node using NODETOOL after renaming the cluster?

Re: Error starting cassandra node

2012-08-07 Thread Abhijit Chanda
Perform these steps on each node: Start the Cassandra-cli connected to your node. Run the following: 1. use system; 2. set LocationInfo[utf8('L')][utf8('ClusterName')]=utf8('Brisk Cluster'); 3. exit; 4. Run nodetool flush on this node. 5. Update the cassandra.yaml file for the c

Re: Got exception running Sqoop: org.apache.cassandra.db.marshal.MarshalException: 97 is not recognized as a valid type, while importing data from mysql to cassandra using sqoop

2012-08-03 Thread Abhijit Chanda
Hey Rajesh, For better response put this question in Datastax support forum * http://www.datastax.com/support-forums/forum/datastax-enterprise* Regards, Abhijit

Re: Creating counter columns in cassandra

2012-07-29 Thread Abhijit Chanda
There should be at least one "=" (equals) in the WHERE case on key or secondary index column, this is the Cassandra limitation.

Re: Creating counter columns in cassandra

2012-07-26 Thread Abhijit Chanda
You can check Astyanax API https://github.com/Netflix/astyanax/blob/5c05d118e22eef541a7a201adf7c1c610da13f5b/src/test/java/com/netflix/astyanax/thrift/ThrifeKeyspaceImplTest.java There are some counter column example which will surely help you.

filtered value count

2012-07-25 Thread Abhijit Chanda
Hi All, Can any one suggest me how to retrieve the result count after multiple filtration operations performed on multiple column families something similar like join query result count in normal RDBMS. I guess its not possible in Cassandra, still asking? Or any other alternative to do the same

cql 3.0.0

2012-07-02 Thread Abhijit Chanda
Hi All,I am using cassandra 1.0.8. How can i use cql 3.0.0 in this? -- Abhijit Chanda Analyst VeHere Interactive Pvt. Ltd. +91-974395

Re: No indexed columns present in by-columns clause with "equals" operator

2012-07-01 Thread Abhijit Chanda
Hey Aaron, I am able to sort out the problem. Thanks anyways. Regards, Abhijit

No indexed columns present in by-columns clause with "equals" operator

2012-06-28 Thread Abhijit Chanda
ABC 5 |9 | ABCDE 2 | 10 | AB 1 |1 | A 4 | 19 | ABCD Looks like some configuration problem. Please help me. Thanks in Advance Regards, -- Abhijit Chanda Analyst VeHere Interactive Pvt. Ltd. +91-974395

Re: Setting up a cluster

2012-06-18 Thread Abhijit Chanda
hope it will work. Regards, -- Abhijit Chanda VeHere Interactive Pvt. Ltd. +91-974395

Re: portability between enterprise and community version

2012-06-13 Thread Abhijit Chanda
hanks, -- Abhijit Chanda Software Developer VeHere Interactive Pvt. Ltd. +91-974395

Re: portability between enterprise and community version

2012-06-13 Thread Abhijit Chanda
integrated in DSE latest versions. And this is working fine for all the Java modules, but i want the same for .NET modules also. Thats why i was looking for a mixed environment. Finally i want to ask whether i am moving in the right direction or not? please suggest. Thanks, -- Abhijit Chanda VeHere

Re: portability between enterprise and community version

2012-06-13 Thread Abhijit Chanda
Hi Viktor Jevadokimov, May i know what are the issues i may face if i mix windows cluster along with linux cluster. Regards, -- Abhijit Chanda VeHere Interactive Pvt. Ltd. +91-974395

portability between enterprise and community version

2012-06-12 Thread Abhijit Chanda
Hi All, Is it possible to communicate from a datastax enterprise edition to datastax community edition. Actually i want to set one of my node in linux box and other in windows. Please suggest. With Regards, -- Abhijit Chanda VeHere Interactive Pvt. Ltd. +91-974395

Re: how to create keyspace using cassandra API's

2012-06-06 Thread Abhijit Chanda
U can use Astyanax API. These sort minor issues are resolved in that API. Regards, Abhijit

project setup in asp.net Fluent Cassandra

2012-05-28 Thread Abhijit Chanda
Hi All, Right now i am trying to use Fluent Cassandra API for development in asp.net . For the same purpose i have downloaded the same source from github. But every time i add a new reference *fluentcassandra.dll*, i am unable to use it in my code. I am not able figure it out why this is happening

Error loading data: Internal error processing get_range_slices / Unavailable Exception

2012-05-23 Thread Abhijit Chanda
Hi All, i am facing problem while setting up my database. The error under mentioned is reflected every time i try to setup the DB. Unable to understand why these are occurring? though previously it was working fine, i guess it is some connection related issues. UnknownException: [host=192.168.2.1

Re: Astyanax Error

2012-05-22 Thread Abhijit Chanda
Samal, But I am setting up the Host. On Tue, May 22, 2012 at 5:30 PM, samal wrote: > Host not found in client. > On 22-May-2012 4:34 PM, "Abhijit Chanda" > wrote: > >> Hi All, >> >> Can any one suggest me why i am getting this error in Astyanax

Re: Composite Column

2012-05-16 Thread Abhijit Chanda
ed to one domain i.e. all of > employee1 details will be *"employee1+[anytihng.n numbers of > column]"* > > comaprator=CompositeType(UTF8Type1,UTF8Type2,...,n) > > /Samal > > On Thu, May 17, 2012 at 10:40 AM, Abhijit Chanda < > abhijit.chan...@g

Re: Composite Column

2012-05-16 Thread Abhijit Chanda
ve not used CC but yes you can. >> Below is not composite column. It is not not column with JSON hash value. >> Column value can be anything you like. >> date inside value are not indexed. >> >> >> On Tue, May 15, 2012 at 9:27 AM, Abhijit Chanda < >> abhiji

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-15 Thread Abhijit Chanda
+972 2 6409736 > Mob: +972 54 8356490 > Fax: +972 2 5612956 > > > > > > On Tue, May 15, 2012 at 3:45 PM, Abhijit Chanda > wrote: > >> Thanks so much Guys, specially Tamar, thank you so much man. >> >> Regards, >> Abhijit >> >>

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-15 Thread Abhijit Chanda
ek'=>'abhiskek' >> 'name_atul'=>'atul' >> } >> >> here you can do slice query on column name and get desired result. >> >> /samal >> >> On Tue, May 15, 2012 at 3:29 PM, selam wrote: >> >>> Mapreduc

Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-15 Thread Abhijit Chanda
Senior Software Engineer, TOK Media > > [image: Inline image 1] > > ta...@tok-media.com > Tel: +972 2 6409736 > Mob: +972 54 8356490 > Fax: +972 2 5612956 > > > > > > On Tue, May 15, 2012 at 7:56 AM, Abhijit Chanda > wrote: > >> I don't kno

How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra

2012-05-14 Thread Abhijit Chanda
I don't know the exact value on a column, but I want to do a partial matching to know all available values that matches. I want to do similar kind of operation that LIKE operator in SQL do. Any help is highly appreciated. -- Abhijit Chanda Software Developer VeHere Interactive Pvt. Ltd