Is this a valid assumption that cassandra-cli will not work, if Cassandra
server is getting started by enabling CQL binary protocol?
-Vivek
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 sylv...@datastax.comwrote:
On Fri, Jan 25, 2013 at 11:24 AM, Vivek Mishra mishra.v...@gmail.comwrote:
Any documentation for this?
For what? For the code
and hopefully will someday
but it's not the case right now).
--
Sylvain
On Fri, Jan 25, 2013 at 11:49 AM, Vivek Mishra mishra.v...@gmail.comwrote:
I have enabled *start_native_transport: true* in cassandra.yaml and
then tried to connect from cqlsh as:
*/home/vivek/vivek/apache-cassandra-1.2.0/bin
).
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 mishra.v...@gmail.comwrote:
Is this a valid assumption that cassandra-cli will not work, if Cassandra
server is getting started
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 mishra.v...@gmail.com wrote:
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
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 mishra.v...@gmail.com wrote:
Means start 2 instances , 1
-- Forwarded message --
From: Vivek Mishra vivek.mis...@impetus.co.in
Date: Thu, Jan 24, 2013 at 8:29 PM
Subject: {kundera-discuss} Kundera 2.3 released
To: kundera-disc...@googlegroups.com kundera-disc...@googlegroups.com
Hi All,
We are happy to announce release of Kundera 2.3
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:
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 sylv...@datastax.comwrote:
On Mon, Jan 14, 2013 at 12:48 PM, Vivek Mishra mishra.v...@gmail.comwrote:
I am getting an issue, where key attribute's
://cassandra.apache.org/doc/cql3/CQL.html but it's the same thing)
and it'll be part of the return columns.
--
Sylvain
-Vivek
On Mon, Jan 14, 2013 at 7:18 PM, Sylvain Lebresne
sylv...@datastax.comwrote:
On Mon, Jan 14, 2013 at 12:48 PM, Vivek Mishra mishra.v...@gmail.comwrote:
I am getting an issue
RangeSlicesQueryUUID, String, String rangeSlicesQuery = HFactory
.createRangeSlicesQuery(
keyspace, uuidSerializer,
stringSerializer, stringSerializer)
.setColumnFamily(columnFamily1)
.setRowCount(pCount)
.setRange(, , true,
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
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?
Vivek Could you please share what exactly you looking for documentation
and not present. I suggest you to join
AND comment='User Column Family'
-Vivek
On Sun, Nov 4, 2012 at 10:17 AM, Vivek Mishra mishra.v...@gmail.com wrote:
Hi,
I am trying to create column family with
*max_compaction_thresholdhttp://www.datastax.com/docs/1.1/configuration/storage_configuration#max-compaction-threshold
Hi,
any idea, how to insert into a column family for a column of type blob
via cql query?
-Vivek
code attached. Somehow it is not working with 1.1.5.
-Vivek
On Mon, Oct 22, 2012 at 5:20 AM, aaron morton aa...@thelastpickle.comwrote:
Yes AFAIK.
Cheers
-
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 20/10/2012, at 12:15 AM, Vivek
?
Cheers
-
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 22/10/2012, at 7:17 PM, Vivek Mishra mishra.v...@gmail.com wrote:
code attached. Somehow it is not working with 1.1.5.
-Vivek
On Mon, Oct 22, 2012 at 5:20 AM, aaron morton aa
Anybody in group got into such issues?
-Vivek
On Fri, Oct 19, 2012 at 3:28 PM, Vivek Mishra mishra.v...@gmail.com 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
because 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 vivek.mis...@yahoo.com
wrote:
Hi,
I am
...@datastax.com
wrote:
On Wed, Oct 17, 2012 at 3:17 AM, Vivek Mishra mishra.v...@gmail.com
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:alliance_involvement is the string representation of a
composite name
Hi,
Is it possible to reuse same compound primary key after delete? I guess it
works fine for non composite keys.
-Vivek
sylv...@datastax.comwrote:
On Wed, Oct 17, 2012 at 3:17 AM, Vivek Mishra mishra.v...@gmail.com
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:alliance_involvement is the string representation
at 11:57 AM, Vivek Mishra mishra.v...@gmail.com
wrote:
---
RowKey: Jayne Cobb
= (column=2012-07-24:2:alliance_involvement, value=false,
timestamp=135038100502)
= (column=2012-07-24:2:energy_used, value=4.6,
timestamp=1350381005020001)
Not sure, why
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 sylv...@datastax.comwrote:
On Tue, Oct 16, 2012 at 12:31 PM, Vivek Mishra mishra.v...@gmail.com
wrote:
Thanks Sylvain. I missed it. If i try to access
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.
When I
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
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 9, 2012 at 8:42 AM, Vivek Mishra mishra.v
I am trying it with 1.1.2 cassandra release.
-Vivek
On Tue, Oct 9, 2012 at 1:13 PM, Sylvain Lebresne sylv...@datastax.comwrote:
On Tue, Oct 9, 2012 at 3:59 AM, Vivek Mishra mishra.v...@gmail.com
wrote:
it is giving me an error:
[timestamp out of range for platform time_t]
Hum, I can't
Unfortunately nothing in server logs leads me to any error.
-Vivek
On Tue, Oct 9, 2012 at 1:16 PM, Sylvain Lebresne sylv...@datastax.comwrote:
On Tue, Oct 9, 2012 at 8:57 AM, Vivek Mishra mishra.v...@gmail.com
wrote:
Ok. I am able to understand the problem now. Issue is:
If i create
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 mishra.v...@gmail.com wrote:
Unfortunately nothing in server logs leads me to any error.
-Vivek
On Tue, Oct 9, 2012 at 1:16 PM, Sylvain
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 sylv...@datastax.comwrote:
On Tue, Oct 9, 2012 at 9:50 AM, Vivek Mishra mishra.v...@gmail.com
wrote
Works fine with 1.1.5
Thanks,
-Vivek
On Tue, Oct 9, 2012 at 1:59 PM, Vivek Mishra mishra.v...@gmail.com 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 PM, Sylvain
with thrift java
client? Is this a problem CQL or thrift API?
-Vivek
On Tue, Oct 9, 2012 at 2:14 PM, Vivek Mishra mishra.v...@gmail.com wrote:
Works fine with 1.1.5
Thanks,
-Vivek
On Tue, Oct 9, 2012 at 1:59 PM, Vivek Mishra mishra.v...@gmail.comwrote:
I am going to try it on 1.1.5
In case
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 mishra.v...@gmail.com wrote:
1 strange issue with 1.1.5 .
It works with CQL3
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);
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
From: Vivek Mishra mishra.v...@gmail.commailto:mishra.v...@gmail.com
Reply-To: user@cassandra.apache.orgmailto:user@cassandra.apache.org
user@cassandra.apache.orgmailto:user@cassandra.apache.org
Date: Monday, October 8, 2012 7:37 PM
To: user@cassandra.apache.orgmailto:user@cassandra.apache.org
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.thelastpickle.com
On 5/10/2012, at 10:20 PM, Vivek Mishra mishra.v
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 mishra.v...@gmail.com wrote:
It was on 1 node and there is no error in server logs.
-Vivek
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,
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,
** **
I am trying to use compound primary
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 working fine, only difference is
i tried with a compound primary key with 3 composite columns
*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 column
user_name. My schema is having around 0.1 million records only
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
of all will 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 mishra.v...@gmail.com
1 question.
user_cook_id, user_facebook_id
Yes.
On Thu, Sep 27, 2012 at 10:25 PM, Marcelo Elias Del Valle
mvall...@gmail.com wrote:
2012/9/27 Vivek Mishra mishra.v...@gmail.com
So it means going by secondary index way,
Out of curiosity, how would you index it in this case? 1 row key for each
combination, with no fields
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 ro...@us2.nl wrote:
Some additional information: I already read about Embedding
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.
2012/9/26 Vivek Mishra mishra.v...@gmail.com
I guess, you can always open/maintain a socket with running cassandra
daemon and have a control over specific column families
Sorry for typo, this is 2.1 release.
-Vivek
On Sat, Sep 22, 2012 at 6:45 AM, Vivek Mishra mishra.v...@gmail.com 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
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 mishra.v...@gmail.comwrote:
Thanks. Team is working on to extend support for
SimpleJPARepository(including implementation
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
-- Forwarded message --
From: Amry amresh1...@gmail.com
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,
Have a look at Kundera (https://github.com/impetus-opensource/Kundera). It
does provide some sort of support (using Lucene) and allow you to deal with
association in JPA way.
-Vivek
On Fri, Jun 1, 2012 at 6:54 AM, aaron morton aa...@thelastpickle.comwrote:
If you want to do arbitrary complex
Hi All,
We are happy to announce release of Kundera 2.0.6.
Kundera is a JPA 2.0 based, object-datastore papping library for NoSQL
datastores. The idea behind Kundera is to make working with NoSQL Databases
drop-dead simple and fun. It currently supports Cassandra, HBase, MongoDB
and relational
Hi,
Is it possible to iterate and fetch in chunks using thrift API by querying
using secondary indexes?
-Vivek
. use get_indexed_slices (http://wiki.apache.org/cassandra/API)
On Tue, Mar 13, 2012 at 2:12 PM, Vivek Mishra mishra.v...@gmail.comwrote:
Hi,
Is it possible to iterate and fetch in chunks using thrift API by
querying using secondary indexes?
-Vivek
We are happy to announce release of Kundera 2.0.4
Kundera is a JPA 2.0 based, Object-Datastore Mapping Library for NoSQL
Datastores. The idea behind Kundera is to make working with NoSQL Databases
drop-dead simple and fun. It currently supports Cassandra, HBase,
MongoDB and MySql.
Major Changes
setting server.config -$SERVER_PATH/Cassandra.yaml as a system property
should resolve this?
-Original Message-
From: Jonathan Ellis [mailto:jbel...@gmail.com]
Sent: Thursday, July 14, 2011 3:53 AM
To: user@cassandra.apache.org
Subject: Re: JDBC CQL Driver unable to locate
Recently we released Kundera-2.0.1
One feature which is included in this release is Secondary index support over
Super Column.
I have tried to compile a blog post for the same, which can be found for a
reference at:
http://mevivs.wordpress.com/2011/07/12/cassandra-play-kundera-orm/
-Vivek
Jul 2011, at 22:28, Vivek Mishra wrote:
Hi,
I know, I might be missing something here.
I am currently facing 1 issue.
I have 2 cassandra clients(1. Using CassandraServer 2. Using Cassandra.Client)
running connecting to same host.
I have created Keyspace K1, K2 using client1(e.g. CassandraServer
I believe connection pooling is still not in place with latest CQL JDBC stuff.
From: Aayush Jain
Sent: Tuesday, July 05, 2011 9:55 AM
To: user@cassandra.apache.org
Subject: connection issue
Hi,
When I am using multithreading with Cassandra Query Language ,I have to make
connections for each
Hi,
I know, I might be missing something here.
I am currently facing 1 issue.
I have 2 cassandra clients(1. Using CassandraServer 2. Using Cassandra.Client)
running connecting to same host.
I have created Keyspace K1, K2 using client1(e.g. CassandraServer), but somehow
those keyspaces are not
I am facing one issue with querying superColumn using clien.get() API. Although
it is working when I try it for a ColumnFamily(rather than SuperColumnFamily).
It is working for:
ColumnFamily: users
Key Validation Class: org.apache.cassandra.db.marshal.UTF8Type
Default column
I understand that I might be missing something on my end. But somehow I cannot
get this working using Cassandra-cli:
[default@key1] create column family supusers with comparator=UTF8Type and
default_validation_class=UTF8Type and key_validation_class=UTF8Type and
column_type=Super;
, 2011 at 7:36 AM, Vivek Mishra vivek.mis...@impetus.co.in
wrote:
I am facing one issue with querying superColumn using clien.get() API.
Although it is working when I try it for a ColumnFamily(rather than
SuperColumnFamily).
It is working for:
ColumnFamily: users
Key
and the current trunk and builds. Can you try the nightly
here
https://builds.apache.org/job/Cassandra-0.8/
Hope that helps.
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com
On 17 Jun 2011, at 20:52, Vivek Mishra wrote:
Thanks Aaron. But I tried
Hi Daniel,
Just saw your email regarding kundera download.
Kundera snapshot jar is available at:
http://kundera.googlecode.com/svn/maven2/maven-missing-resources/com/impetus/kundera/1.1.1-SNAPSHOT/
In addition,
If you want to download source code then it is at:
There is one more web client available for caasndra UI.
http://code.google.com/p/cassui/
cassui.war is available for download.
Vivek
-Original Message-
From: Jonathan Colby [mailto:jonathan.co...@gmail.com]
Sent: Monday, June 20, 2011 3:50 PM
To: user@cassandra.apache.org
Subject:
I have a query:
I have my Cassandra server running on my local machine and it has loaded
Cassandra specific settings from
apache-cassandra-0.8.0-src/apache-cassandra-0.8.0-src/conf/cassandra.yaml
Now If I am writing a java program to connect to this server why do I need to
provide a new
an
employee id and json info about the employee or a reference.to.another row id
for that employee data
No more supercolumn.
On Jun 16, 2011 1:56 PM, Vivek Mishra
vivek.mis...@impetus.co.inmailto:vivek.mis...@impetus.co.in wrote:
I have a question about querying super column
For example:
I
I have a question about querying super column
For example:
I have a supercolumnFamily DEPARTMENT with dynamic superColumn 'EMPLOYEE'(
name, country).
Now for rowKey 'DEPT1' I have inserted multiple super column like:
Employee1{
Name: Vivek
country: India
}
Employee2{
Name: Vivs
country:
-Original Message-
From: kundera-disc...@googlegroups.com
[mailto:kundera-disc...@googlegroups.com] On Behalf Of Vivek Mishra
Sent: Friday, June 10, 2011 7:09 PM
To: kundera-disc...@googlegroups.com
Subject: RE: Kundera for Cassandra 0.7.0 and 0.8.0
Hi,
Kundera code base and tests
Any thoughts on building something like separate DatabaseMetadata api for CQL?
-Original Message-
From: Peter Lin [mailto:wool...@gmail.com]
Sent: Friday, May 20, 2011 5:28 PM
To: user@cassandra.apache.org
Subject: Re: Cassandra Vs. Oracle Coherence
That's completely wrong.
TimesTen and
Does CQL support IN clause?
Write to us for a Free Gold Pass to the Cloud Computing Expo, NYC to attend a
live session by Head of Impetus Labs on 'Secrets of Building a Cloud Vendor
Agnostic PetaByte Scale Real-time Secure Web Application on the Cloud '.
You can use:
http://code.google.com/p/kundera/ to search text.
it provides a way to search by any key over Cassandra. I guess, nothing inbuilt
is in place for this.
Vivek
From: rajkumar@gmail.com [rajkumar@gmail.com] on behalf of Aklin_81
Addtionally you can use cassandra indexes for specific search.
From: Vivek Mishra [vivek.mis...@impetus.co.in]
Sent: 12 February 2011 17:38
To: user@cassandra.apache.org
Subject: RE: How can I implement text based searching for the
data/entities/items
-mapper
On Thu, Feb 10, 2011 at 1:00 PM, Vivek Mishra
vivek.mis...@impetus.co.in wrote:
I understand that currently GORA is under development for release of ORM
over Cassandra/HBase.
Recently tried to develop some apps using Kundera.
It may be worth looking into:
http://code.google.com
compiled 1 post on this..
http://mevivs.wordpress.com/2011/02/12/hector-kundera/
Reason to put this in discussuion is to see what can be seen/further developed
as a better option
From: Vivek Mishra [vivek.mis...@impetus.co.in]
Sent: 11 February 2011 20
I understand that currently GORA is under development for release of ORM over
Cassandra/HBase.
Recently tried to develop some apps using Kundera.
It may be worth looking into:
http://code.google.com/p/kundera/.
IT is JPA complined annotation based framework.
For the same. recently it
: ORM over Cassandra
Sorry,
just realized you wrote it as the first line. :(
Apologize.
On Thu, Feb 10, 2011 at 7:30 PM, Davide Palmisano dpalmis...@gmail.com wrote:
Hi,
Ever heard of Apache Gora[1]
[1] http://incubator.apache.org/gora/
On Thu, Feb 10, 2011 at 7:00 PM, Vivek Mishra
Hi,
Recently I worked on implementation of java jdbc driver for cassandra using CQL.
Given below is an example code base(with basic features) about how to use it:
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import
Thanks Eric.
I am able to make it running.
-Original Message-
From: Eric Evans [mailto:eev...@rackspace.com]
Sent: Wednesday, February 02, 2011 9:34 PM
To: user@cassandra.apache.org
Subject: Re: CQL
On Wed, 2011-02-02 at 06:57 +, Vivek Mishra wrote:
I am trying to run CQL from
Hi,
I am trying to run CQL from a java client and facing one issue. Keyspace is
passed as null. When I execute Use Keyspace1 followed by my Select query it
is still not working.
Any suggestion will be a great help.
Regards,
Vivek Mishra
For updates on our
101 - 183 of 183 matches
Mail list logo