Re: An experiment using Spring Data w/ Cassandra (initially via JPA/Kundera)

2012-07-18 Thread Vivek Mishra
Thanks. Team is working on to extend support for SimpleJPARepository(including implementation for ManagedType). -Vivek On Thu, Jul 19, 2012 at 9:06 AM, Roshan wrote: > Hi Brian > > This is basically a wonderful news for me, because we are using lots of > spring support in the project. Good luck

Fwd: {kundera-discuss} Kundera 2.0.7 Released

2012-07-25 Thread Vivek Mishra
-- Forwarded message -- From: Amry Date: Wed, Jul 25, 2012 at 4:41 PM Subject: {kundera-discuss} Kundera 2.0.7 Released To: kundera-disc...@googlegroups.com Hi All, We are happy to announce release of Kundera 2.0.7. Kundera is a JPA 2.0 based, object-datastore papping library f

Re: Creating counter columns in cassandra

2012-07-26 Thread Vivek Mishra
Check out Kundera for Counter column support. Here is the link for Counter column tests: https://github.com/impetus-opensource/Kundera/tree/kundera-2.0.7/kundera-cassandra/src/test/java/com/impetus/client/crud/countercolumns -Vivek On Thu, Jul 26, 2012 at 12:27 PM, Abhijit Chanda wrote: > You

Re: An experiment using Spring Data w/ Cassandra (initially via JPA/Kundera)

2012-08-28 Thread Vivek Mishra
Hi, This support is now implemented in kundera(latest trunk branch). Let me know, if you have any other question. On Thu, Jul 19, 2012 at 11:21 AM, Vivek Mishra wrote: > Thanks. Team is working on to extend support for > SimpleJPARepository(including implementation for ManagedType). >

Re: Kundera 2.1 released

2012-09-21 Thread Vivek Mishra
Sorry for typo, this is 2.1 release. -Vivek On Sat, Sep 22, 2012 at 6:45 AM, Vivek Mishra wrote: > Hi All, > > We are happy to announce release of Kundera 2.0.7. > > Kundera is a JPA 2.0 based, object-datastore papping library for NoSQL > datastores. The idea behind Kundera

Re: Integrated cassandra

2012-09-26 Thread Vivek Mishra
I guess, you can always open/maintain a socket with running cassandra daemon and have a control over specific column families/keyspace or server itself. -Vivek On Wed, Sep 26, 2012 at 12:51 PM, Robin Verlangen wrote: > Some additional information: I already read about "Embedding" > http://wik

Re: Integrated cassandra

2012-09-26 Thread Vivek Mishra
disclose, distribute, copy, print or rely on this e-mail. If you have > received this message in error, please contact the sender immediately and > irrevocably delete this message and any copies. > > > > 2012/9/26 Vivek Mishra > >> I guess, you can always open/maintain a s

Re:

2012-09-27 Thread Vivek Mishra
1 question. user_cook_id, user_facebook_id, user_cell_phone, user_personal_id : Combination key of all will be unique? Or all of them are unique individually.? If a combination can be unique then a having extra column(index enabled) per row should work for you. -Vivek On Thu, Sep 27, 2012 at

Re:

2012-09-27 Thread Vivek Mishra
ill be unique? Or all of them are unique > individually.? > > Combination key of all will be unique? > > no ... > > > > Or all of them are unique individually.? > yes ... all them are unique individually > > > > 2012/9/27 Vivek Mishra > >> 1 que

Re:

2012-09-27 Thread Vivek Mishra
Yes. On Thu, Sep 27, 2012 at 10:25 PM, Marcelo Elias Del Valle < mvall...@gmail.com> wrote: > > > 2012/9/27 Vivek Mishra > >> So it means going by secondary index way, > > > Out of curiosity, how would you index it in this case? 1 row key for each >

Re: Query over secondary indexes

2012-10-05 Thread Vivek Mishra
> > -Rishabh > > *From:* Vivek Mishra [mailto:mishra.v...@gmail.com] > *Sent:* Friday, October 05, 2012 2:35 PM > *To:* user@cassandra.apache.org > *Subject:* Query over secondary indexes > > > > I have a column family "User" which is having a indexed colum

Re: Query over secondary indexes

2012-10-08 Thread Vivek Mishra
any nodes do you have? > Are there any errors in server logs ? > > When you do a get by secondary index at a CL higher than ONE ever RFth > node is involved. > > Cheers > > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.t

Re: Query over secondary indexes

2012-10-08 Thread Vivek Mishra
I did wait for atleast 5 minutes before terminating it. Also sometimes it results in server crash as well, though data volume is not very huge. -Vivek On Tue, Oct 9, 2012 at 7:05 AM, Vivek Mishra wrote: > It was on 1 node and there is no error in server logs. > > -Vivek > >

Using Composite columns

2012-10-08 Thread Vivek Mishra
Hi, I am trying to use compound primary key with cassandra and i am referring to: http://www.datastax.com/dev/blog/whats-new-in-cql-3-0 I have created a column family as: CREATE TABLE altercations ( instigator text, started_at timestamp, ships_destroyed int, energy_use

Re: Using compound primary key

2012-10-08 Thread Vivek Mishra
u use the “--cql3” option with the cqlsh command? > > ** ** > > *From:* Vivek Mishra [mailto:mishra.v...@gmail.com] > *Sent:* Monday, October 08, 2012 7:22 PM > *To:* user@cassandra.apache.org > > *Subject:* Using compound primary key > > ** ** > > Hi, >

Re: Using compound primary key

2012-10-08 Thread Vivek Mishra
thrift > layer) to ensure you have the requisite number of components in the > compound/composite key. > > -brian > > > On Oct 8, 2012, at 10:32 PM, Vivek Mishra wrote: > > Certainly. As these are available with cql3 only! > Example mentioned on datastax website is

Re: Using compound primary key

2012-10-08 Thread Vivek Mishra
troyed int, energy_used float, alliance_involvement boolean, PRIMARY KEY (instigator,started_at,ships_destroyed) ); it gives me error: "TSocket read 0 bytes" Rest, as no column family is created, so nothing onwards will work. Is this an issue? -Vivek On Tue, Oct

Re: Using Composite columns

2012-10-09 Thread Vivek Mishra
I am trying it with 1.1.2 cassandra release. -Vivek On Tue, Oct 9, 2012 at 1:13 PM, Sylvain Lebresne wrote: > On Tue, Oct 9, 2012 at 3:59 AM, Vivek Mishra > wrote: > > it is giving me an error: > > > > [timestamp out of range for platform time_t] > > Hum, I

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Unfortunately nothing in server logs leads me to any error. -Vivek On Tue, Oct 9, 2012 at 1:16 PM, Sylvain Lebresne wrote: > On Tue, Oct 9, 2012 at 8:57 AM, Vivek Mishra > wrote: > > Ok. I am able to understand the problem now. Issue is: > > > > If i create a colum

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Also, it results in "Broken pipe" error on cqlsh. Not sure why socket connection got broken as well. -Vivek On Tue, Oct 9, 2012 at 1:20 PM, Vivek Mishra wrote: > Unfortunately nothing in server logs leads me to any error. > > -Vivek > > > On Tue, Oct 9, 2012 at 1:1

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
I am going to try it on 1.1.5 In case if you can point me to changes made in between since 1.1.2 to 1.1.5 . It will be great. -Vivek On Tue, Oct 9, 2012 at 1:51 PM, Sylvain Lebresne wrote: > On Tue, Oct 9, 2012 at 9:50 AM, Vivek Mishra > wrote: > > Unfortunately nothing in serve

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Works fine with 1.1.5 Thanks, -Vivek On Tue, Oct 9, 2012 at 1:59 PM, Vivek Mishra wrote: > I am going to try it on 1.1.5 > > In case if you can point me to changes made in between since 1.1.2 to > 1.1.5 . It will be great. > > -Vivek > > > On Tue, Oct 9, 2012 at 1:51

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
e, whether it will behave in same way if i go with thrift java client? Is this a problem CQL or thrift API? -Vivek On Tue, Oct 9, 2012 at 2:14 PM, Vivek Mishra wrote: > Works fine with 1.1.5 > > Thanks, > -Vivek > > > On Tue, Oct 9, 2012 at 1:59 PM, Vivek Mishra wrote: >

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
alliance_involvement is of "boolean" data type! which is causing this issue. Looks like an issue with CompositeType creation, somehow boolean is also treated as UTF8Type. -Vivek On Tue, Oct 9, 2012 at 2:22 PM, Vivek Mishra wrote: > 1 strange issue with 1.1.5 . > > &

ORDER by support over clustered column of primary key.

2012-10-09 Thread Vivek Mishra
Hi, Create a column family: CREATE TABLE altercations ( instigator text, started_at timestamp, ships_destroyed int, energy_used float, alliance_involvement boolean, PRIMARY KEY (instigator,started_at,ships_destroyed);

Re: ORDER by support over clustered column of primary key.

2012-10-09 Thread Vivek Mishra
to be the second column in a composite PRIMARY KEY. This holds even for tables with more than 2 column components in the primary key. Ordering can be done in ascending or descending order, default ascending, and specified with the ASC or DESC keywords. -Vivek On Tue, Oct 9, 2012 at 3:24 PM, Vivek

Re: Query over secondary indexes

2012-10-09 Thread Vivek Mishra
? > > When you do a get by secondary index at a CL higher than ONE ever RFth > node is involved. > > Cheers > > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 5/10/2012, at 10:20 PM,

Create column family with Composite key column via thrift API

2012-10-11 Thread Vivek Mishra
Hi, I know one way is to execute cql query via thrift client to create a column family having compound primary/composite columns. But is it the only way? Looks like i would end up creating own "CQLTranslator/Wrapper" to deal with compound primary/composite columns!(Or may be something else in n

Re: CQL DELETE does not work

2012-10-15 Thread Vivek Mishra
Using cassandra version 1.1.x and cql3? -Vivek On Fri, Oct 12, 2012 at 11:21 PM, Sridharan Kuppa < sridharan.ku...@outlook.com> wrote: > Hi, > > I have created table schema using CQL, and I am able to insert and > select from that table. Everything works great but DELETE is not working. > Wh

Re: Missing non composite column

2012-10-16 Thread Vivek Mishra
Thanks Sylvain. I missed it. If i try to access these via thrift API, what will be the column names? -Vivek If i try to access this row via thrift API, what would be the column names returned? On Tue, Oct 16, 2012 at 3:52 PM, Sylvain Lebresne wrote: > On Tue, Oct 16, 2012 at 11:57 AM, Vi

Re: Missing non composite column

2012-10-16 Thread Vivek Mishra
column name will be "2012-07-24:2:alliance_involvement" or "alliance_involvement"? -Vivek On Tue, Oct 16, 2012 at 10:25 PM, Sylvain Lebresne wrote: > On Tue, Oct 16, 2012 at 12:31 PM, Vivek Mishra > wrote: > > Thanks Sylvain. I missed it. If i try to acc

Re: Missing non composite column

2012-10-17 Thread Vivek Mishra
at 1:04 PM, Sylvain Lebresne wrote: > On Wed, Oct 17, 2012 at 3:17 AM, Vivek Mishra > wrote: > > column name will be "2012-07-24:2:alliance_involvement" or > > "alliance_involvement"? > > The former. Though let's clarify that > "2012-07-24:2:allia

Re: Missing non composite column

2012-10-19 Thread Vivek Mishra
2012, at 2:58 AM, Sylvain Lebresne wrote: > > Yes, i understand that. Reason why i am asking is, with this i need to > split > them to get actual column name using ":" as a seperator. > Though i did not try it yet, but wondering if column name is like > "alliance:move

Compound primary key: Insert after delete

2012-10-19 Thread Vivek Mishra
Hi, Is it possible to reuse same compound primary key after delete? I guess it works fine for non composite keys. -Vivek

Re: Compound primary key: Insert after delete

2012-10-21 Thread Vivek Mishra
code attached. Somehow it is not working with 1.1.5. -Vivek On Mon, Oct 22, 2012 at 5:20 AM, aaron morton wrote: > Yes AFAIK. > > Cheers > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 20/10/2012,

Re: Compound primary key: Insert after delete

2012-10-22 Thread Vivek Mishra
the the CLI ? > Cheers > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 22/10/2012, at 7:17 PM, Vivek Mishra wrote: > > code attached. Somehow it is not working with 1.1.5. > > -Vivek > >

Re: Missing non composite column

2012-10-22 Thread Vivek Mishra
Anybody in group got into such issues? -Vivek On Fri, Oct 19, 2012 at 3:28 PM, Vivek Mishra wrote: > Ok. I did assume the same, here is what i have tried to fetch composite > columns via thrift and CQL query as well! > > Not sure why thrift API is returning me column name as em

Re: Fw: Fwd: Compound primary key: Insert after delete

2012-10-22 Thread Vivek Mishra
of just this kind of > difficulty, but if you must, I would develop against 1.2 since it will > actually validate that the CT encoding you've done manually is valid. > 1.1 will just fail silently. > > On Mon, Oct 22, 2012 at 6:57 AM, Vivek Mishra > wrote: > > Hi, > &

Insert via CQL

2012-11-02 Thread Vivek Mishra
Hi, any idea, how to insert into a column family for a column of type "blob" via cql query? -Vivek

Re: min_compaction_threshold/max_compaction_threshold

2012-11-03 Thread Vivek Mishra
" ,"IS_EXCEPTIONAL" ,"AGE" ,"SEMESTER" ,"DIGITAL_SIGNATURE" ,"CGPA" ,"PERCENTAGE" ,"HEIGHT" ,"ENROLMENT_DATE" ,"ENROLMENT_TIME" ,"JOINING_DATE_TIME" ,"YEARS_SPENT" ,"ROLL_NUMBER&

Re: Java high-level client

2012-11-27 Thread Vivek Mishra
So I've had a look at Kundera and at Easy-Cassandra. Both seem to lack a real documentation beyond the examples available in their Github repositories, right? Could you please share what exactly you looking for documentation and not present. I suggest you to join http://groups.google.com/group/ku

Exception on running nodetool in windows

2012-12-18 Thread Vivek Mishra
Hi, I have been trying to run cassandra on windows(1.1.6) and i am getting an exception while checking my node status. nodetool ring -h localhost Classcastexception: can not convert java.lang.String to some another java type( i don't remember exact java class). But somehow, this is fine on ubun

Re: Exception on running nodetool in windows

2012-12-21 Thread Vivek Mishra
New Zealand > > @aaronmorton > http://www.thelastpickle.com > > On 19/12/2012, at 6:52 PM, Vivek Mishra wrote: > > Hi, > I have been trying to run cassandra on windows(1.1.6) and i am getting an > exception while checking my node status. > > nodetool ring -h localhost &

Re: Cassandra 1.2 Thrift and CQL 3 issue

2013-01-14 Thread Vivek Mishra
Hi, I am trying to migrate Kundera Thrift API from 1.1.6 from 1.2 and changing * execute_cql_query* to* execute_cql3_query*(with consistenceLevel). I am getting an issue, where "key" attribute's in byte[] is returned as empty value. Though same is working with 1.1.6 -Vivek On Mon, Jan 14, 2013

Re: Cassandra 1.2 Thrift and CQL 3 issue

2013-01-14 Thread Vivek Mishra
Is it documented somewhere? How to fetch and populate "row key" from CqlRow api then? -Vivek On Mon, Jan 14, 2013 at 7:18 PM, Sylvain Lebresne wrote: > On Mon, Jan 14, 2013 at 12:48 PM, Vivek Mishra wrote: > >> I am getting an issue, where "key" attribute

Re: Cassandra 1.2 Thrift and CQL 3 issue

2013-01-14 Thread Vivek Mishra
y it (we prefer the term "partition > key" in CQL3 and that's the term you'll find in documents like > http://cassandra.apache.org/doc/cql3/CQL.html but it's the same thing) > and it'll be part of the return columns. > > -- > Sylvain > > >> >> -V

Re: Retrieving all columns from a result

2013-01-14 Thread Vivek Mishra
RangeSlicesQuery rangeSlicesQuery = HFactory .createRangeSlicesQuery( > > keyspace, uuidSerializer, > stringSerializer, stringSerializer) > .setColumnFamily("columnFamily1") > .setRowCount(pCount) > .setRange("", "", true, Integer.MAX_

Re: Cassandra 1.2 thrift migration

2013-01-15 Thread Vivek Mishra
Hi, Is there any document to follow, in case i migrate cassandra thrift API to 1.2 release? Is it backward compatible with previous releases? While migrating Kundera to cassandra 1.2, it is complaining on various data types. Giving weird errors like: While connecting from cassandra-cli: " Excepti

Fwd: {kundera-discuss} Kundera 2.3 released

2013-01-24 Thread Vivek Mishra
-- Forwarded message -- From: Vivek Mishra Date: Thu, Jan 24, 2013 at 8:29 PM Subject: {kundera-discuss} Kundera 2.3 released To: "kundera-disc...@googlegroups.com" Hi All, We are happy to announce release of Kundera 2.3. Kundera is a JPA 2.0 compliant, object

Re: CQL binary protocol

2013-01-25 Thread Vivek Mishra
ri, Jan 25, 2013 at 10:15 AM, Vivek Mishra wrote: > >> Hi, >> I am looking for some sort documentation around usage for CQL binary >> protocol. Basically i need some documentation about usage of "cassandra >> native transport" and it's usage. >> >> >> -Vivek >> > >

Re: CQL binary protocol

2013-01-25 Thread Vivek Mishra
Any documentation for this? -Vivek On Fri, Jan 25, 2013 at 3:39 PM, Sylvain Lebresne wrote: > On Fri, Jan 25, 2013 at 10:29 AM, Vivek Mishra wrote: > >> I need to refer "org.apache.cassandra.transport" package for code >> walkthrough? > > > Yes, that&

Cassandra-cli : with CQL binary protocol

2013-01-25 Thread Vivek Mishra
Is this a valid assumption that cassandra-cli will not work, if Cassandra server is getting started by enabling CQL binary protocol? -Vivek

Re: CQL binary protocol

2013-01-25 Thread Vivek Mishra
OK.I guess that's why there is a need of class/method level java comments. -Vivek On Fri, Jan 25, 2013 at 4:28 PM, Sylvain Lebresne wrote: > On Fri, Jan 25, 2013 at 11:24 AM, Vivek Mishra wrote: > >> Any documentation for this? > > > For what? For the code? Everyone

Re: CQL binary protocol error

2013-01-25 Thread Vivek Mishra
day > but it's not the case right now). > > -- > Sylvain > > > On Fri, Jan 25, 2013 at 11:49 AM, Vivek Mishra wrote: > >> I have enabled *start_native_transport: true* in cassandra.yaml and >> then tried to connect from cqlsh as: >> >> */home/vivek/

Re: Cassandra-cli : with CQL binary protocol

2013-01-25 Thread Vivek Mishra
ns). > Obviously, if you point cassandra-cli to the port used by the binary > protocol, that won't work either. > > -- > Sylvain > > > On Fri, Jan 25, 2013 at 11:53 AM, Vivek Mishra wrote: > >> Is this a valid assumption that cassandra-cli will not work, if Cas

Re: CQL binary protocol

2013-01-25 Thread Vivek Mishra
For Beginners on any new open source, it is always good to have atleast some sort of comments! -Vivek On Fri, Jan 25, 2013 at 4:30 PM, Vivek Mishra wrote: > OK.I guess that's why there is a need of class/method level java comments. > > -Vivek > > > On Fri, Jan 25, 2

Re: Cassandra-cli : with CQL binary protocol

2013-01-25 Thread Vivek Mishra
Any suggestions? Once i enable *native_transport_port: 9042*, it will not start cassandra thrift automatically, Even if *start_rpc: true* ? Or it should start listening to both ports? On Fri, Jan 25, 2013 at 4:39 PM, Vivek Mishra wrote: > Means start 2 instances , 1 for thrift based acc

Re: Multiple Data Center Clusters on Cassandra

2013-01-30 Thread Vivek Mishra
1. I want to replicate whole data on another DC and after that both DC's nodes should have complete Data. In which topology is it possible ? I think NetworkTopology is best suited for such configuration, You may want to use nodetool to generate token accordingly. 2. If I need backup, what's the

Re: Suggestion: Move some threads to the client-dev mailing list

2013-01-30 Thread Vivek Mishra
I totally agree. -Vivek On Wed, Jan 30, 2013 at 8:51 PM, Edward Capriolo wrote: > A good portion of people and traffic on this list is questions about: > > 1) asytnax > 2) cassandra-jdbc > 3) cassandra native client > 3) pyhtondra / whatever > > With the exception of the native transport which i

Re: DataModel Question

2013-02-05 Thread Vivek Mishra
Avoid super columns. If you need Sorted, wide rows then go for Composite columns. -Vivek On Wed, Feb 6, 2013 at 7:09 AM, Kanwar Sangha wrote: > Hi – We are designing a Cassandra based storage for the following use > cases- > > ** ** > > **·**Store SMS messages > > **·*

Re: Netflix/Astynax Client for Cassandra

2013-02-06 Thread Vivek Mishra
Kundera 2.3 is also upgraded for Cassandra 1.2(except CQL binary protocol). -Vivek On Thu, Feb 7, 2013 at 11:50 AM, Gabriel Ciuloaica wrote: > Astyanax is not working with Cassandra 1.2.1. Only java-driver is > working very well with both Cassandra 1.2 and 1.2.1. > > Cheers, > Gabi > > On 2/7/1

Re: Querying composite keys

2013-02-10 Thread Vivek Mishra
You can query over composite columns as: 1) Partition key 2) First part of clustered key(using EQ ops). Secondary indexes over non composite columns are not possible. -Vivek On Mon, Feb 11, 2013 at 12:06 PM, Rishabh Agrawal < rishabh.agra...@impetus.co.in> wrote: > Hello > > > > I have key and

Re: Error in cassandra-cli : ERROR 11:05:06,144 Fatal configuration error error

2013-02-15 Thread Vivek Mishra
Looks like you are trying to use incompatible cassandra.yaml with your cassandra installation. -Vivek On Fri, Feb 15, 2013 at 3:48 PM, Sloot, Hans-Peter < hans-peter.sl...@atos.net> wrote: > Hi, > > I am trying to do some examples with cassandra-cli and encounter the error > further below. > Is

Re: CQL query issue

2013-03-05 Thread Vivek Mishra
pression FROM *keyspace_name.*table_name *WHERE clause AND clause ...* *ALLOW FILTERING**LIMIT n* *ORDER BY compound_key_2 ASC | DESC* * * *is this an issue?* * * *-Vivek* On Tue, Mar 5, 2013 at 5:21 PM, Vivek Mishra wrote: > Hi, > I am trying to execute a cql3 query a

Re: CQL query issue

2013-03-05 Thread Vivek Mishra
Somebody in group, please confirm if it is an issue or that needs rectified for select syntax. -Vivek On Tue, Mar 5, 2013 at 5:31 PM, Vivek Mishra wrote: > Thank you i am able to solve this one. > If i am trying as : > > SELECT * FROM "CompositeUser" WHERE "userI

Re: Installing Cassandra Multinode on CentOs coming up with exception

2014-08-26 Thread Vivek Mishra
Please read about http://www.yaml.org/start.html. Looks like formatting issue. You might be missing/adding incorrect spaces Validate your YAML file. This should help you out http://yamllint.com/ -Vivek On Tue, Aug 26, 2014 at 4:20 PM, Vineet Mishra wrote: > Hi Mark, > > Yes I was generating m

Re: CQL performance inserting multiple cluster keys under same partition key

2014-08-26 Thread Vivek Mishra
AFAIK, it is not. With CAS it should br On 26/08/2014 10:21 pm, "Jaydeep Chovatia" wrote: > Hi, > > I have question on inserting multiple cluster keys under same partition > key. > > Ex: > > CREATE TABLE Employee ( > deptId int, > empId int, > name varchar, > address varchar, > salary

Re: node keeps dying

2014-09-25 Thread Vivek Mishra
Increase heap size with Cassandra and try On 25/09/2014 3:02 am, "Prem Yadav" wrote: > > BTW, thanks Michael. > I am surprised why I didn't search for Cassandra oom before. > I got some good links that discuss that. Will try to optimize and see how it goes. > > > On Wed, Sep 24, 2014 at 10:27 PM,

Re: Can not connect with cqlsh to something different than localhost

2014-12-08 Thread Vivek Mishra
Two things: 1. Try telnet 192.168.111.136 9042 and see if it connects? 2. check for hostname in /etc/hosts, if it is mapped correctly. -Vivek On Mon, Dec 8, 2014 at 4:19 PM, Richard Snowden wrote: > This did not work either. I changed /etc/cassandra.yaml and restarted > Cassandra (I even resta

Re: Exactly one wide row per node for a given CF?

2013-12-03 Thread Vivek Mishra
So Basically you want to create a cluster of multiple unique keys, but data which belongs to one unique should be colocated. correct? -Vivek On Tue, Dec 3, 2013 at 10:39 AM, onlinespending wrote: > Subject says it all. I want to be able to randomly distribute a large set > of records but keep t

Fwd: {kundera-discuss} RE: Kundera 2.9 released

2013-12-13 Thread Vivek Mishra
fyi. -- Forwarded message -- From: Vivek Mishra Date: Fri, Dec 13, 2013 at 8:54 PM Subject: {kundera-discuss} RE: Kundera 2.9 released To: "kundera-disc...@googlegroups.com" , " u...@hbase.apache.org" Hi All, We are happy to announce the release of Kundera

Broken pipe with Thrift

2013-12-23 Thread Vivek Mishra
Hi, I have a 6 node, 2DC cluster setup. I have configured consistency level to QUORUM. But very often i am getting "Broken pipe" com.impetus.client.cassandra.CassandraClientBase (CassandraClientBase.java:1926) - Error while executing native CQL query Caused by: . org.apache.thrift.transport.TTrans

Re: Broken pipe with Thrift

2013-12-23 Thread Vivek Mishra
Also to add. It works absolutely fine on single node. -Vivek On Tue, Dec 24, 2013 at 12:15 PM, Vivek Mishra wrote: > Hi, > I have a 6 node, 2DC cluster setup. I have configured consistency level to > QUORUM. But very often i am getting &qu

Re: Broken pipe with Thrift

2013-12-23 Thread Vivek Mishra
Hi Steven, Thanks for your reply. We are using version 1.2.9. -Vivek On Tue, Dec 24, 2013 at 12:27 PM, Steven A Robenalt wrote: > Hi Vivek, > > Which release are you using? We had an issue with 2.0.2 that was solved by > a fix in 2.0.3. > > > On Mon, Dec 23, 2013 at 1

Re: Broken pipe with Thrift

2013-12-23 Thread Vivek Mishra
Hi Steven, One question, which is confusing , it's a server side issue or client side? -Vivek On Tue, Dec 24, 2013 at 12:30 PM, Vivek Mishra wrote: > Hi Steven, > Thanks for your reply. We are using version 1.2.9. > > -Vivek > > > On Tue, Dec 24, 2013 at 12:27 PM,

Nodetool ring

2014-01-02 Thread Vivek Mishra
Hi, I am trying to understand "Owns" here. AFAIK, it is range(part of keyspace). Not able to understand why is it shown as 100%? Is it because of effective ownership? Address RackStatus State LoadOwnsToken -3074457345618258503 x.x.x.x 3 Up Nor

Re: Nodetool ring

2014-01-02 Thread Vivek Mishra
Thanks for your quick reply. Even with 2 data center with 3 data nodes each i am seeing 100% on both data center nodes. -Vivek On Fri, Jan 3, 2014 at 12:07 AM, Robert Coli wrote: > On Thu, Jan 2, 2014 at 10:20 AM, Vivek Mishra wrote: > >> I am trying to understand "Owns&quo

Re: Nodetool ring

2014-01-02 Thread Vivek Mishra
Yes. On Fri, Jan 3, 2014 at 12:57 AM, Robert Coli wrote: > On Thu, Jan 2, 2014 at 10:48 AM, Vivek Mishra wrote: > >> Thanks for your quick reply. Even with 2 data center with 3 data nodes >> each i am seeing 100% on both data center nodes. >> > > Do you have RF=3 in both? > > =Rob > >

Re: Help on Designing Cassandra table for my usecase

2014-01-10 Thread Vivek Mishra
@Naresh Too many indices or indices with high cardinality should be discouraged and are always performance issues. A set will not contain duplicate values. -Vivek On Fri, Jan 10, 2014 at 5:48 PM, Naresh Yadav wrote: > @Thunder > I just came to know about > (CASSANDRA-4511

one or more nodes were unavailable.

2014-01-20 Thread Vivek Mishra
Hi, Trying CAS feature of cassandra 2.x and somehow getting given below error: cqlsh:sample> insert into "User"(user_id,first_name) values( fe08e810-81e4-11e3-9470-c3aa8ce77cc4,'vivek1') if not exists; Unable to complete request: one or more nodes were unavailable. cqlsh:training> cqlsh:sample>

Re: one or more nodes were unavailable.

2014-01-20 Thread Vivek Mishra
:16 PM, sankalp kohli wrote: > >> What consistency level are you using? >> >> >> On Mon, Jan 20, 2014 at 7:16 AM, Vivek Mishra wrote: >> >>> Hi, >>> Trying CAS feature of cassandra 2.x and somehow getting given below >>> error: >>> &g

Re: one or more nodes were unavailable.

2014-01-20 Thread Vivek Mishra
Vivek On Tue, Jan 21, 2014 at 11:33 AM, Drew Kutcharian wrote: > If you are trying this out on a single node, make sure you set the > replication_factor of the keyspace to one. > > > On Jan 20, 2014, at 7:41 PM, Vivek Mishra wrote: > > Single node and default consistency

Fwd: {kundera-discuss} Kundera 2.10 released

2014-01-31 Thread Vivek Mishra
fyi -- Forwarded message -- From: Vivek Mishra Date: Sat, Feb 1, 2014 at 1:18 AM Subject: {kundera-discuss} Kundera 2.10 released To: "kundera-disc...@googlegroups.com" Hi All, We are happy to announce the Kundera 2.10 release. Kundera is a JPA 2.0 complia

Re: TimedOutException in Java but not in cqlsh

2014-02-14 Thread Vivek Mishra
Check for consisteny level and socket timeout setting on client side. -Vivek On Fri, Feb 14, 2014 at 2:36 PM, Cyril Scetbon wrote: > After a few tests, it does not depend on the query. Whatever cql3 query I > do, I always get the same exception. If someone sees something ... > -- > Cyril SCETBO

Re: Exception in cassandra logs while processing the message

2014-02-17 Thread Vivek Mishra
looks like thrift inter operability issue. Seems column family or data created via CQL3 and using Thrift based API to read it. Else, recreate your schema and try. -Vivek On Mon, Feb 17, 2014 at 1:50 PM, ankit tyagi wrote: > Hello, > > anyone has the idea regarding this exception. > > Regards,

Re: Cassandra Java Client

2014-02-26 Thread Vivek Mishra
Kundera does support CQL3. Work for supporting datastax java driver is under development. https://github.com/impetus-opensource/Kundera/issues/385 -Vivek On Wed, Feb 26, 2014 at 6:34 PM, DuyHai Doan wrote: > Short answer : yes > > Long anwser: depending on whether you want to access Cassandr

Re: Cassandra blob storage

2014-03-18 Thread Vivek Mishra
@Mohit Bit confused with your reply. For what use cases you find Cassandra useful then? -Vivek On Tue, Mar 18, 2014 at 11:41 PM, Mohit Anchlia wrote: > For large volume big data scenarios we don't recommend using Cassandra as > a blob storage simply because of intensive IO involved during compa

Re: {kundera-discuss} Kundera 2.11 released

2014-03-24 Thread Vivek Mishra
fyi. On Mon, Mar 24, 2014 at 11:56 PM, Vivek Mishra wrote: > Hi All, > > > > We are happy to announce the Kundera 2.11 release. > > > > Kundera is a JPA 2.0 compliant, object-datastore mapping library for NoSQL > datastores. The idea behind Kundera is to mak

Re: Timeuuid inserted with now(), how to get the value back in Java client?

2014-04-01 Thread Vivek Mishra
You would get UUID object from cassandra API. Then you may use uuid.timestamp() to get time stamp for the same -Vivek On Tue, Apr 1, 2014 at 9:55 PM, Theo Hultberg wrote: > no, there's no way. you should generate the TIMEUUID on the client side so > that you have it. > > T# > > > On Sat, Mar 2

Unable to complete request: one or more nodes were unavailable.

2014-04-15 Thread Vivek Mishra
Hi, I am trying Cassandra light weight transaction support with Cassandra 2.0.4 cqlsh:twitter> create table user(user_id text primary key, namef text); cqlsh:twitter> insert into user(user_id,namef) values('v','ff') if not exists; *Unable to complete request: one or more nodes were unavailable.*

Re: Unable to complete request: one or more nodes were unavailable.

2014-04-16 Thread Vivek Mishra
ce definition, and the output of "nodetool > ring" > > -Tupshin > On Apr 15, 2014 3:52 PM, "Vivek Mishra" wrote: > >> Hi, >> I am trying Cassandra light weight transaction support with Cassandra >> 2.0.4 >> >> cqlsh:twitter> crea

Re: Unable to complete request: one or more nodes were unavailable.

2014-04-16 Thread Vivek Mishra
eReplication_c.html > > > On Wed, Apr 16, 2014 at 1:44 PM, Vivek Mishra wrote: > >> Hi, >> Mine is a simple case. Running on single node only. Keyspace is: >> >> create keyspace twitter with replication = {'class':'SimpleStrategy', >> '

Re: Unable to complete request: one or more nodes were unavailable.

2014-04-16 Thread Vivek Mishra
>> >> Used to achievelinearizable >> consistency<http://www.datastax.com/documentation/cassandra/2.0/cassandra/dml/dml_tunable_consistency_c.html#concept_ds_f4h_hwx_zj>for >> lightweight transactions by preventing unconditional updates. >> On Apr 16, 2014 5:56 AM,

Re: Unable to complete request: one or more nodes were unavailable.

2014-04-16 Thread Vivek Mishra
Thanks, i think got the point.CAS doesn't make much sense on single node. -Vivek On Wed, Apr 16, 2014 at 6:37 PM, Tupshin Harper wrote: > It will work for correctness, but give you a very inaccurate view of > performance,. > > -Tupshin > On Apr 16, 2014 6:05 AM, &

: Read a negative frame size (-2113929216)!

2014-04-25 Thread Vivek Mishra
This is what i am getting with Cassandra 2.0.7 with Thrift. Caused by: org.apache.thrift.transport.TTransportException: Read a negative frame size (-2113929216)! at org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:133) at org.apache.thrift.transport.TFramedTransport.re

Re: : Read a negative frame size (-2113929216)!

2014-04-25 Thread Vivek Mishra
It's a simple cql3 query to create keyspace. -Vivek On Sat, Apr 26, 2014 at 1:28 AM, Chris Lohfink wrote: > Did you send an enormous write or batch write and it wrapped? Or is your > client trying to use non-framed transport? > > Chris > > On Apr 25, 2014, at 2:50

Re: : Read a negative frame size (-2113929216)!

2014-04-25 Thread Vivek Mishra
datastax java driver 2.0.1 On Sat, Apr 26, 2014 at 1:35 AM, Chris Lohfink wrote: > what client are you using? > > On Apr 25, 2014, at 3:01 PM, Vivek Mishra wrote: > > It's a simple cql3 query to create keyspace. > > -Vivek > > > On Sat, Apr 26, 2014

Re: : Read a negative frame size (-2113929216)!

2014-04-25 Thread Vivek Mishra
ion? > > > On Fri, Apr 25, 2014 at 4:47 PM, Vivek Mishra wrote: > >> datastax java driver 2.0.1 >> >> >> >> >> On Sat, Apr 26, 2014 at 1:35 AM, Chris Lohfink >> wrote: >> >>> what client are you using? >>> >>> On

Re: : Read a negative frame size (-2113929216)!

2014-04-25 Thread Vivek Mishra
astax driver to the thrift protocol port? The two protocols > are not compatible, you must connect to the native_transport_port (by > default 9042) > > > On 26 April 2014 00:47, Vivek Mishra wrote: > >> datastax java driver 2.0.1 >> >> >> >> >>

Re: : Read a negative frame size (-2113929216)!

2014-04-25 Thread Vivek Mishra
Just to add, it works fine with Cassandra 1.x and Datastax 1.x -Vivek On Sat, Apr 26, 2014 at 10:02 AM, Vivek Mishra wrote: > Yes i know. But i am not sure why is it failing, simply having Thrift jar > and cassandra-thrift in classpath doesn't fails. But as soon as i get > d

  1   2   >