Counter update write timeouts with Datastax Driver/Native protocol, not with Astyanax/Thrift

2016-06-20 Thread Steven Levitt
I've posted the following to the Datastax Java Driver user forum, but no one has responded, so I thought I'd try here, too. We have a service that writes to a few legacy (pre-CQL) counter column families in a Cassandra 2.1.11 cluster. We've been trying to migrate this service from

Re: which astyanax version to use?

2015-11-18 Thread Lijun Huang
Eric, That's really an awful thing for me. I looked into the Astyanax code, the dependency of Cassandra is still staying on 2.0.12, and seems the community have no plan to upgrade it to support the newer version of Cassandra. But whatever, thank you so much for your reply. Thanks, Lijun

Re: which astyanax version to use?

2015-11-18 Thread Eric Plowe
Lijun, That is correct. If you have an investment in Astyanax , you'll need to stay in the 2.0 series. You'll either need to wait until Astyanax is updated to support 2.1 (if that is going to happen) or migrate to the datastax java driver. ~Eric On Wed, Nov 18, 2015 at 12:04 AM, L

Re: which astyanax version to use?

2015-11-17 Thread Lijun Huang
Thank you Minh, So it means if I want to use Cassandra 2.1+, any version of Astyanax cannot be compatible with it? Because we are already using the Astyanax, it maybe a heavy work to change from Astyanax to Datastax Java Driver. On Wed, Nov 18, 2015 at 11:52 AM, Minh Do wrote: > The lat

Re: which astyanax version to use?

2015-11-17 Thread Minh Do
The latest version of Astyanax won't work with Cassandra 2.1+. So you are better off using Java Driver from Datastax. /Minh On Tue, Nov 17, 2015 at 7:29 PM, Lijun Huang wrote: > Hi All, > > I have the similar problem, if I use the Cassandra 2.1 version, which > Astyanax ve

Re: which astyanax version to use?

2015-11-17 Thread Lijun Huang
Hi All, I have the similar problem, if I use the Cassandra 2.1 version, which Astyanax version is the best one for me? For the versions in Astyanax Github pages make me a little confused, I need some experience about this. Thanks in advance. Thanks, Lijun Huang

which astyanax version to use?

2015-11-09 Thread Lu, Boying
Hi, All, We plan to upgrade Cassandra from 2.0.17 to 2.1.11 (the latest stable release recommended to be used in the product environment) in our product. Currently we are using Astyanax 1.56.49 as Java client, I found there are many new Astyanax at https://github.com/Netflix/astyanax/releases

Re: Astyanax Thrift Frame Size Hardcoded - Breaks Ring Describe

2015-04-03 Thread Eric Stevens
e activity graph on Github, and the number of open and unresponded issues doesn't suggest a project under active development (I think there's 1 commit this year?). Thrift is frozen, so even if Astyanax is still being tended, its days are probably numbered as long as it remains Thrift ce

Re: Astyanax Thrift Frame Size Hardcoded - Breaks Ring Describe

2015-04-03 Thread graham sanderson
.com>> wrote: > Astyanax is no longer maintained, so I don't really expect that to go > anywhere, which is why I thought it might be a good idea to issue a general > warning. This should hopefully be a helpful nudge for anyone still using > Astyanax: it's time to fi

Re: Astyanax Thrift Frame Size Hardcoded - Breaks Ring Describe

2015-04-03 Thread Robert Coli
On Fri, Apr 3, 2015 at 11:16 AM, Eric Stevens wrote: > Astyanax is no longer maintained, so I don't really expect that to go > anywhere, which is why I thought it might be a good idea to issue a general > warning. This should hopefully be a helpful nudge for anyone still using &g

Astyanax Thrift Frame Size Hardcoded - Breaks Ring Describe

2015-04-03 Thread Eric Stevens
I know this list isn't the right place to discuss driver issues in general, but I thought I'd offer a word of warning to anyone still using Astyanax related to an issue we ran into over the weekend. Astyanax has a hard coded maximum Thrift frame size. There is a pull request to ex

Re: Storing files in Cassandra with Spring Data / Astyanax

2014-11-06 Thread DuyHai Doan
You'd better off asking on the Spring Data Cassandra mailing list. I think that very few people not to say nobody tried integrating Astyanax with Spring Data Cassandra... Le 6 nov. 2014 08:17, "Wim Deblauwe" a écrit : > Hi, > > We are building an application where

Re: Storing files in Cassandra with Spring Data / Astyanax

2014-11-05 Thread Wim Deblauwe
up 2 distributed systems for each installation we do. Is there documentation somewhere on how to integrate/get started with Astyanax with Spring Data Cassandra ? regards, Wim 2014-11-05 23:40 GMT+01:00 Redmumba : > Astyanax isn't deprecated; that user is wrong and is downvoted--and has a > co

Re: Storing files in Cassandra with Spring Data / Astyanax

2014-11-05 Thread Robert Coli
On Wed, Nov 5, 2014 at 8:19 AM, Wim Deblauwe wrote: > I am currently testing with Cassandra and Spring Data Cassandra. I would > now need to store files (images and avi files, normally up to 50 Mb big). > https://github.com/mogilefs/ A for distributed/replicated file storage, would use agai

Re: Storing files in Cassandra with Spring Data / Astyanax

2014-11-05 Thread Redmumba
Astyanax isn't deprecated; that user is wrong and is downvoted--and has a comment mentioning the same. What you're describing doesn't sound like you need a data store at all; it /sounds/ like you need a file store. Why not use S3 or similar to store your images? What benefits ar

Storing files in Cassandra with Spring Data / Astyanax

2014-11-05 Thread Wim Deblauwe
Hi, I am currently testing with Cassandra and Spring Data Cassandra. I would now need to store files (images and avi files, normally up to 50 Mb big). I did find the Chuncked Object store <https://github.com/Netflix/astyanax/wiki/Chunked-Object-Store> from Astyanax which looks pro

Re: How to enable client-to-node encrypt communication with Astyanax cassandra client

2014-10-08 Thread Ben Bromhead
Haven't personally followed this but give it a go: http://lyubent.github.io/security/planetcassandra/2013/05/31/ssl-for-astyanax.html On 8 October 2014 20:46, Lu, Boying wrote: > Hi, All, > > > > I’m trying to enable client-to-node encrypt communication in Cassandra >

How to enable client-to-node encrypt communication with Astyanax cassandra client

2014-10-08 Thread Lu, Boying
Hi, All, I'm trying to enable client-to-node encrypt communication in Cassandra (2.0.7) with Astyanax client library (version=1.56.48) I found the links about how to enable this feature: http://www.datastax.com/documentation/cassandra/2.0/cassandra/security/secureSSLClientToNode_t.html But

Re: ConnectionException while trying to connect with Astyanax over Java driver

2014-10-06 Thread Ruchir Jha
That exception is on the cassandra server and not on the client. On Mon, Oct 6, 2014 at 2:10 PM, DuyHai Doan wrote: > java.lang.NoSuchMethodError -> Jar dependency issue probably. Did you try > to create an issue on the Astyanax github repo ? > > On Mon, Oct 6, 2014 at 6:01

Re: ConnectionException while trying to connect with Astyanax over Java driver

2014-10-06 Thread DuyHai Doan
java.lang.NoSuchMethodError -> Jar dependency issue probably. Did you try to create an issue on the Astyanax github repo ? On Mon, Oct 6, 2014 at 6:01 PM, Ruchir Jha wrote: > All, > > I am trying to use the new astyanax over java driver to connect to > cassandra version 1.2.12

ConnectionException while trying to connect with Astyanax over Java driver

2014-10-06 Thread Ruchir Jha
All, I am trying to use the new astyanax over java driver to connect to cassandra version 1.2.12, Following settings are turned on in cassandra.yaml: start_rpc: true native_transport_port: 9042 start_native_transport: true *Code to connect:* final Supplier> hostSupplier = new Suppl

How to disconnect a data center with Astyanax

2014-07-15 Thread Lu, Boying
me how to do this with Astyanax APIs? Can I use KeyspaceDefinition.setStrageOptions() to do this? Thanks Boying

Re: Anyone using Astyanax in production besides Netflix itself?

2014-05-30 Thread Jeremy Powell
My team uses astyanax for 3 different c* clusters in production. we're on c* 1.2.xx. works well for our requirements - we don't use cql, mostly just time series data. But cutting this short, most people who ask about astyanax get redirected to their user group ( https://groups.google

Re: Anyone using Astyanax in production besides Netflix itself?

2014-05-30 Thread user 01
Anyone who's already using Astyanax in production cluster? What C* do you use with Astyanax ?

Re: Anyone using Astyanax in production besides Netflix itself?

2014-05-29 Thread Tupshin Harper
While Astyanax 2.0 is still beta, I think you will find it provides a very good migration path from the 1.0 thrift based version to the 2.0 native driver version. Well worth considering if you like the Astyanax API and functionality. I know of multiple DataStax customers planning on using it

Re: Anyone using Astyanax in production besides Netflix itself?

2014-05-29 Thread Jacob Rhoden
On 30 May 2014, at 6:12 am, user 01 wrote: > > What version of Astyanax(thrift based impl. or beta Java driver one?) are you > using ? > With what cassandra version ? > > Would you still recommend Astyanax at this point when DS Java Driver is out? > My intentions are to

Anyone using Astyanax in production besides Netflix itself?

2014-05-29 Thread user 01
What version of Astyanax(thrift based impl. or beta Java driver one?) are you using ? With what cassandra version ? Would you still recommend Astyanax at this point when DS Java Driver is out? My intentions are to use Astyanax over thrift based impl for now, & later switch to Astyanax over

Re: With Astyanax, How do I write same column to multiple rows efficiently ?

2014-05-29 Thread DuyHai Doan
ot a big deal for API. > > > On Thu, May 29, 2014 at 9:11 PM, DuyHai Doan wrote: > >> "so if I need to add a same column to 1000 rows, it creates the column >> object 100 times" --> is it really an issue ? Even if Astyanax creates 1 >> millions of column ob

Re: With Astyanax, How do I write same column to multiple rows efficiently ?

2014-05-29 Thread user 01
00 times" --> is it really an issue ? Even if Astyanax creates 1 > millions of column objects, as long as they die young and respect the > generational hypothesis of the JVM, it's fine. > > > On Thu, May 29, 2014 at 4:05 PM, user 01 wrote: > >> With Hecto

Re: With Astyanax, How do I write same column to multiple rows efficiently ?

2014-05-29 Thread DuyHai Doan
"so if I need to add a same column to 1000 rows, it creates the column object 100 times" --> is it really an issue ? Even if Astyanax creates 1 millions of column objects, as long as they die young and respect the generational hypothesis of the JVM, it's fine. On Thu, May 2

Re: With Astyanax, How do I write same column to multiple rows efficiently ?

2014-05-29 Thread user 01
I am using Astyanax over thrift driver. On Thu, May 29, 2014 at 7:35 PM, user 01 wrote: > With Hector I used to create a column object once & add that to multiple > row mutations but with Astyanax it creates a new column object for each row > mutation in a mutation batch so if I

With Astyanax, How do I write same column to multiple rows efficiently ?

2014-05-29 Thread user 01
With Hector I used to create a column object once & add that to multiple row mutations but with Astyanax it creates a new column object for each row mutation in a mutation batch so if I need to add a same column to 1000 rows, it creates the column object 100 times. Isn't there a better w

Re: Migrate from Hector(unmaintained) to Astyanax for Cassandra 2.0.7, (delaying thrift to CQL migration plan) ?

2014-05-28 Thread user 01
why things like > LINQ came into existence. > > > > On Wed, May 28, 2014 at 2:44 PM, Robert Coli wrote: > >> On Wed, May 28, 2014 at 7:19 AM, user 01 wrote: >> >>> 2. *What is the future of thrift based APIs *(& specifically Astyanax) >>> ? >

Re: Migrate from Hector(unmaintained) to Astyanax for Cassandra 2.0.7, (delaying thrift to CQL migration plan) ?

2014-05-28 Thread Peter Lin
2014 at 7:19 AM, user 01 wrote: > >> 2. *What is the future of thrift based APIs *(& specifically Astyanax) ? >> > > Logic suggests that the thrift based API will ultimately be removed, at > the time in the future when the cost of working around its moribund are

Re: Migrate from Hector(unmaintained) to Astyanax for Cassandra 2.0.7, (delaying thrift to CQL migration plan) ?

2014-05-28 Thread Robert Coli
On Wed, May 28, 2014 at 7:19 AM, user 01 wrote: > 2. *What is the future of thrift based APIs *(& specifically Astyanax) ? > Logic suggests that the thrift based API will ultimately be removed, at the time in the future when the cost of working around its moribund area of the code e

Re: Migrate from Hector(unmaintained) to Astyanax for Cassandra 2.0.7, (delaying thrift to CQL migration plan) ?

2014-05-28 Thread Peter Reilly
According to the astynax blog the project will support the java-driver - https://github.com/Netflix/astyanax/wiki/Astyanax-over-Java-Driver On Wed, May 28, 2014 at 8:36 AM, Andrew wrote: > 1. Astyanax does not *officially* support 2.0, and I’m not sure what the > future plans are for the

Re: Migrate from Hector(unmaintained) to Astyanax for Cassandra 2.0.7, (delaying thrift to CQL migration plan) ?

2014-05-28 Thread Andrew
1. Astyanax does not *officially* support 2.0, and I’m not sure what the future plans are for them. 2. Thrift is deprecated but not removed.  However,  3. It’s an open-source project based on Netflix’ internal usage of it (they wrote Astyanax).  There is a mailing list available for questions

Re: Migrate from Hector(unmaintained) to Astyanax for Cassandra 2.0.7, (delaying thrift to CQL migration plan) ?

2014-05-28 Thread Peter Lin
I contribute to Hector. It is still being maintained. I still benefits of using thrift over CQL. On Wed, May 28, 2014 at 10:19 AM, user 01 wrote: > Currently I am using Hector which is no longer maintained by its > developers. So, for the past few days I have been looking at Astyana

Migrate from Hector(unmaintained) to Astyanax for Cassandra 2.0.7, (delaying thrift to CQL migration plan) ?

2014-05-28 Thread user 01
Currently I am using Hector which is no longer maintained by its developers. So, for the past few days I have been looking at Astyanax & to be fair, I think I'm just loving its API. For sometime now I also had a look at CQL Java driver maintained by Datastax but right now, I don't

Re: Astyanax - multiple key search with pagination

2013-12-30 Thread Aaron Morton
gt; I’m using Astyanax and trying to do search for multiple keys with pagination. > I tried “.getKeySlice” with a list a of primary keys, but it doesn’t allow > pagination. Does anyone know how to tackle this issue with Astyanax? > > Parag

Astyanax - multiple key search with pagination

2013-12-20 Thread Parag Patel
Hi, I'm using Astyanax and trying to do search for multiple keys with pagination. I tried ".getKeySlice" with a list a of primary keys, but it doesn't allow pagination. Does anyone know how to tackle this issue with Astyanax? Parag

Astyanax TokenAware connection pool

2013-12-17 Thread Marcelo Elias Del Valle
Hello everyone, I was using astyanax connection pool defined as this: ipSeeds = "LOAD_BALANCER_HOST:9160"; conPool.setSeeds(ipSeeds) .setDiscoveryType(NodeDiscoveryType.TOKEN_AWARE) .setConnectionPoolType(ConnectionPoolType.TOKEN_AWARE); However, my cluster have 4 nodes and I hav

CQL consistency level using astyanax

2013-09-20 Thread Jimmy Lin
hi, i am using astyanax to access a multi nodes cassandra cluster. In my connnection configuration setup, i already declared a global consistency read/write level by setting: AstanaxConfiguration.setDefaultWriteConsistencyLevel() AstanaxConfiguration.setDefaultReadConsistencyLevel() however

Astyanax javax.persistence.PersistenceException: failed to construct entity

2013-06-14 Thread Joe Greenawalt
Hi trying to use Astyanax Entity persister. https://github.com/Netflix/astyanax/wiki/Entity-persister Playing around, so this is all in a JUnit test. Everything seems to work, except when getting the object by id with .get(id). Looks like it fails when trying to create the object to map it back

Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Gareth Collins
Hi Renato, Are you sure that you don't have two copies of guava in your classpath? I don't have this problem (I was using both Hector and Astyanax for a while -> now transitioned completely to Astyanax). Probably the most problematic part of using the datastax or astyanax clients

Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Edward Capriolo
ipping out guava in out >>> projects. >>> >>> ::Rant over:: >>> >>> Your only hope is to build a fork of one hector or astynax that uses the >>> same guava version or get both the projects to update to the same version. >>> >>> >>&

Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Renato Marroquín Mogrovejo
.checkNotNull(Object) for example seems sexy but >>>> over time you always hit an issue like this since guava gets included >>>> everywhere. As a result I commonly end up stripping out guava in out >>>> projects. >>>> >>>> ::Rant over:: &g

Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Peter Lin
me you always hit an issue like this since guava gets included >>> everywhere. As a result I commonly end up stripping out guava in out >>> projects. >>> >>> ::Rant over:: >>> >>> Your only hope is to build a fork of one hector or astynax that use

Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Renato Marroquín Mogrovejo
e >> same guava version or get both the projects to update to the same version. >> >> >> On Fri, May 24, 2013 at 7:02 PM, Renato Marroquín Mogrovejo < >> renatoj.marroq...@gmail.com> wrote: >> >>> Hi all, >>> >>> I am using Astyanax

Re: Hector vs Astyanax dependency issue

2013-05-25 Thread Peter Lin
y hope is to build a fork of one hector or astynax that uses the > same guava version or get both the projects to update to the same version. > > > On Fri, May 24, 2013 at 7:02 PM, Renato Marroquín Mogrovejo < > renatoj.marroq...@gmail.com> wrote: > >> Hi all, >>

Re: Hector vs Astyanax dependency issue

2013-05-25 Thread Edward Capriolo
gt; wrote: > Hi all, > > I am using Astyanax and Hector client within an application but right now > I am hitting a dependency issue [1] related to Guava version being used by > Hector and Astyanax which makes Maven headache. I have taken it out as > exclusions within my poms but I s

Hector vs Astyanax dependency issue

2013-05-24 Thread Renato Marroquín Mogrovejo
Hi all, I am using Astyanax and Hector client within an application but right now I am hitting a dependency issue [1] related to Guava version being used by Hector and Astyanax which makes Maven headache. I have taken it out as exclusions within my poms but I still get the dependency issue. Do

Re: Astyanax client in Production

2013-05-13 Thread Edward Capriolo
are always chasing cassandra. Astyanax looked awesome and sexy new compared to hector when it was released. But from what Radim is saying, it sounds like Astyanax has the same problem hector does. This is life in open source. I'm currently working on https://issues.apache.org/jira/browse/CASSAND

Re: Astyanax client in Production

2013-05-12 Thread Radim Kolar
Dne 12.5.2013 2:28, Techy Teck napsal(a): I am running Cassandra 1.2.2 in production. What kind of problems you talking about? Might be I get some root cause why I am seeing bad read performance with Astyanax client in production cluster. no support for full cassandra 1.2 feature set no/bad

Re: Astyanax client in Production

2013-05-11 Thread Techy Teck
I am running Cassandra 1.2.2 in production. What kind of problems you talking about? Might be I get some root cause why I am seeing bad read performance with Astyanax client in production cluster. On Sat, May 11, 2013 at 5:16 PM, Radim Kolar wrote: > Dne 11.5.2013 21:36, Techy Teck napsa

Re: Astyanax client in Production

2013-05-11 Thread Radim Kolar
Dne 11.5.2013 21:36, Techy Teck napsal(a): Does anyone using Astyanax client in production mainly for reading purpose? with cassandra 1.1, it has problems with 1.2.

Astyanax client in Production

2013-05-11 Thread Techy Teck
Does anyone using Astyanax client in production mainly for reading purpose?

Re: hector or astyanax

2013-05-09 Thread aaron morton
Yup, thats the one. A - Aaron Morton Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 8/05/2013, at 3:40 AM, Blair Zajac wrote: > On 05/07/2013 01:37 AM, aaron morton wrote: >>> i want to know which cassandra client is better? >> Go with

Re: hector or astyanax

2013-05-07 Thread Blair Zajac
On 05/07/2013 01:37 AM, aaron morton wrote: i want to know which cassandra client is better? Go with Astynax or Native Binary, they are both under active development and support by a vendor / large implementor. Native Binary being which one specifically? Do you mean the new DataStax java-dri

Re: hector or astyanax

2013-05-07 Thread aaron morton
cket > though I have not tested my theory…..My theory being the real bottleneck on > performance being the work cassandra has to do on the reads and such. > > What about 20 sockets then(like someone has a pool). Will it be any > faster…not really sure as in the end you ar

Re: hector or astyanax

2013-05-06 Thread Derek Williams
bottleneck on performance being the work cassandra has to do on the reads >> and such. >> >> What about 20 sockets then(like someone has a pool). Will it be any >> faster…not really sure as in the end you are still held up by the real >> bottleneck of reading fr

Re: hector or astyanax

2013-05-06 Thread Aaron Turner
held up by the real > bottleneck of reading from disk on the cassandra side. We went to 20 > threads in one case using 20 sockets with astyanax and received no > performance improvement(synchronous but more sockets did not improve our > performance). Ie. It may be the case 90% of the time,

Re: hector or astyanax

2013-05-06 Thread Hiller, Dean
such. What about 20 sockets then(like someone has a pool). Will it be any faster…not really sure as in the end you are still held up by the real bottleneck of reading from disk on the cassandra side. We went to 20 threads in one case using 20 sockets with astyanax and received no performance

Re: hector or astyanax

2013-05-06 Thread Aaron Turner
a.apache.org>> > Date: Sunday, May 5, 2013 5:27 PM > To: cassandra users user@cassandra.apache.org>> > Subject: Re: hector or astyanax > > > > On Sun, May 5, 2013 at 1:09 PM, Derek Williams de...@fyrie.net>> wrote: > The binary protocol is able to multiplex m

Re: hector or astyanax

2013-05-06 Thread Hiller, Dean
...@gmail.com>> Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Date: Sunday, May 5, 2013 5:27 PM To: cassandra users mailto:user@cassandra.apache.org>> Subject: Re: hector or astyanax On Sun, May 5, 2013 at

Re: hector or astyanax

2013-05-05 Thread Derek Williams
h I assume the binary protocol would be faster since it is >> specialized for cassandra requests. >> >> >> On Sun, May 5, 2013 at 12:14 PM, Renato Marroquín Mogrovejo < >> renatoj.marroq...@gmail.com> wrote: >> >>> Hey Shamim, >>> >

Re: hector or astyanax

2013-05-05 Thread Edward Capriolo
Why do you say that Java-Driver has better performance over Hector or >> Astyanax? Is there any reasons for this? >> Thanks. >> >> >> Renato M. >> >> 2013/5/5 Shamim : >> > Hi, >> > Astyanax is just a refactoring of Hector and implemen

Re: hector or astyanax

2013-05-05 Thread Aaron Turner
On Sun, May 5, 2013 at 1:09 PM, Derek Williams wrote: > The binary protocol is able to multiplex multiple requests using a single > connection, which can lead to much better performance (similar to HTTP vs > SPDY). This is without comparing the performance of thrift vs binary > protocol, which I

Re: hector or astyanax

2013-05-05 Thread Derek Williams
specialized for cassandra requests. On Sun, May 5, 2013 at 12:14 PM, Renato Marroquín Mogrovejo < renatoj.marroq...@gmail.com> wrote: > Hey Shamim, > > Why do you say that Java-Driver has better performance over Hector or > Astyanax? Is there any reasons for this? > Thanks. > &g

Re: hector or astyanax

2013-05-05 Thread Renato Marroquín Mogrovejo
Hey Shamim, Why do you say that Java-Driver has better performance over Hector or Astyanax? Is there any reasons for this? Thanks. Renato M. 2013/5/5 Shamim : > Hi, > Astyanax is just a refactoring of Hector and implements a few common > cassandra use cases. Very easy to us

Re: hector or astyanax

2013-05-05 Thread Shamim
Hi,   Astyanax is just a refactoring of Hector and implements a few common cassandra use cases. Very easy to use api. In Astyanax you will found all the functions from hector. For better performance you can also check datastax java driver https://github.com/datastax/java-driver. There are

hector or astyanax

2013-05-04 Thread 李 晗
hello, i want to know which cassandra client is better? and what are their advantages and disadvantages? thanks

Re: looking at making astyanax asynchronous but cassandra-thrift-1.1.1 doesn't look right

2013-04-17 Thread aaron morton
asynchronous > platforms. Ie. I don't know when to call recv myself obviously if I am > trying to make astyanax truly asynchronous. > > The reason I ask is we have a 100k row upload that with synchronous 20 > threads takes around 30 seconds and with simulation, we predict th

looking at making astyanax asynchronous but cassandra-thrift-1.1.1 doesn't look right

2013-04-17 Thread Hiller, Dean
Is cassandra-thrift-1.1.1.jar the generated code? I see a send() and recv() but I don't see a send(Callback cb) that is typicaly of true asynchronous platforms. Ie. I don't know when to call recv myself obviously if I am trying to make astyanax truly asynchronous. The reason I ask

Re: Astyanax with C* 1.2.3 and VNodes

2013-04-12 Thread Edward Capriolo
Your best bet is to switch to RandomPartitioner. Otherwise you have to patch or wait until astynax catches up. On Fri, Apr 12, 2013 at 9:42 AM, Keith Wright wrote: > Hi all, > > I am trying to use Astyanax 1.56.37 to connect to C* 1.2.3 using > murmur3 and Vnodes and I am

Astyanax with C* 1.2.3 and VNodes

2013-04-12 Thread Keith Wright
Hi all, I am trying to use Astyanax 1.56.37 to connect to C* 1.2.3 using murmur3 and Vnodes and I am consistently getting NoAvailableHostsExceptions. I found the following thread which seems to indicate that the issue is due to Cassandra not properly communicating the ring info to

Re: Unable to prefix in astyanax read query

2013-04-03 Thread aaron morton
t;> component 0) Unless the CQL 3 create table statement specifies USE COMPACT_STORAGE it will use composites in the row keys and Astyanax may not be expected this. Unless astyanax specifically says it can write to CQL 3 tables it's best to only access them using CQL 3. Cheers -

Re: Unable to prefix in astyanax read query

2013-04-02 Thread Hiller, Dean
composite object). I think you need to read up on how astyanax works with compositesŠ..I am not sure this is a cassandra question reallyŠ.more of an astyanax one. Dean On 4/1/13 11:48 PM, "Apurva Jalit" wrote: >I have a scheme as follows: > > TimeStamp > Device ID > D

Unable to prefix in astyanax read query

2013-04-01 Thread Apurva Jalit
stores either Device Owner or Device Location). I have inserted some records using Astyanax. As per my understanding, the columns for a row are created by combining Device ID, Device Name and field name as column name and the value to be the value for that particular field. Thus for a particular

Re: astyanax connection ring describe discovery

2013-01-25 Thread Derek Williams
Make sure you are setting the discovery type to ring describe or token aware. This is different from the connection pool type, which can also be token aware. On Fri, Jan 25, 2013 at 11:26 AM, Hiller, Dean wrote: > IS anyone using astyanax with their cassandra along with TOKEN AWARE as

Re: astyanax connection ring describe discovery

2013-01-25 Thread Andrey Ilinykh
I use astyanax 1.56.18 with cassandra 1.1.5. Everything works as supposed to. What does ThreadPoolMonitor report? Andrey On Fri, Jan 25, 2013 at 10:26 AM, Hiller, Dean wrote: > IS anyone using astyanax with their cassandra along with TOKEN AWARE as in > here (cassandra version 1.1.4) &g

astyanax connection ring describe discovery

2013-01-25 Thread Hiller, Dean
IS anyone using astyanax with their cassandra along with TOKEN AWARE as in here (cassandra version 1.1.4) (see Token Aware section) https://github.com/Netflix/astyanax/wiki/Configuration We have maxConnsPerHost 20 right now and 3 seeds for our cluster but astyanax is not discovering any other

Re: Astyanax returns empty row

2013-01-16 Thread aaron morton
If you think you have located a bug in Astyanax please submit it to https://github.com/Netflix/astyanax Cheers - Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 17/01/2013, at 3:44 AM, Sávio Teles wrote: > We have multi

Re: Astyanax returns empty row

2013-01-16 Thread Sávio Teles
We have multiple clients reading the same row key. It makes no sense fail in one machine. When we use Thrift, Cassandra always returns the correct result. 2013/1/16 Sávio Teles > I ran the tests with only one machine, so the CL_ONE is not the problem. > Am i right? -- Atenciosamente, Sávi

Re: Astyanax returns empty row

2013-01-16 Thread Sávio Teles
.org<mailto:user@cassandra.apache.org>" < > user@cassandra.apache.org<mailto:user@cassandra.apache.org>> > Subject: Astyanax returns empty row > > > sometimes Astyanax returns a empty row for a specific key. For example, on > first attempt Astyanax returns a

Re: Astyanax returns empty row

2013-01-15 Thread Hiller, Dean
gt;" mailto:user@cassandra.apache.org>> Date: Tuesday, January 15, 2013 5:43 AM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Astyanax returns empty row sometimes Astyanax returns a empty row for a spe

Astyanax returns empty row

2013-01-15 Thread Sávio Teles
I'm currently using Astyanax 1.56.21 to retrieve a entire row. My code: ColumnList result = keyspace.prepareQuery(cf_name) .getKey(key) .execute().getResult(); But, sometimes Astyanax returns a empty row for a specific key. For example, on first attempt Astyanax returns a empty row

Re: Astyanax

2013-01-14 Thread Everton Lima
Thanks to everyone, especially to Brian. I wiil continue my studies and if I have some problem I post here. I was looking, Astyanax use cassandra 1.1.1, is it possible to use 1.2.0? How? Thanks. 2013/1/8 Brian O'Neill > Not sure where you are on the learning curve, but I've

Re: Astyanax

2013-01-08 Thread Brian O'Neill
Not sure where you are on the learning curve, but I've put a couple "getting started" projects out on github: https://github.com/boneill42/astyanax-quickstart And the latest from the webinar is here: https://github.com/boneill42/naughty-or-nice http://brianoneill.blogspot.com/2

Re: Astyanax

2013-01-08 Thread Radek Gruchalski
Hi, We are using astyanax and we found out that github wiki with stackoverflow is the most comprehensive set of documentation. Do you have any specific questions? Kind regards, Radek Gruchalski On 8 Jan 2013, at 15:46, Everton Lima wrote: > I was studing by there, but I would to know

Re: Astyanax

2013-01-08 Thread Everton Lima
I was studing by there, but I would to know if anyone knows other sources. 2013/1/8 Markus Klems > The wiki? https://github.com/Netflix/astyanax/wiki > > > On Tue, Jan 8, 2013 at 2:44 PM, Everton Lima wrote: > >> Hi, >> Someone has or could indicate some goo

Re: Astyanax

2013-01-08 Thread Markus Klems
The wiki? https://github.com/Netflix/astyanax/wiki On Tue, Jan 8, 2013 at 2:44 PM, Everton Lima wrote: > Hi, > Someone has or could indicate some good tutorial or book to learn Astyanax? > > Thanks > > -- > Everton Lima Aleixo > Mestrando em Ciência da Computação pela UFG > Programador no LUPA > >

Re: Astyanax empty column check

2012-10-19 Thread Xu Renjie
Renjie > mailto:xrjxrjxrj...@gmail.com > >> > Reply-To: > "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" > mailto:user@cassandra.apache.org > >> > Date: Wednesday, October 17, 2012 4:48 AM > To: > "user@cassandra.apache

Re: Astyanax empty column check

2012-10-18 Thread aaron morton
difference. > > Dean > > From: Xu Renjie mailto:xrjxrjxrj...@gmail.com>> > Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" > mailto:user@cassandra.apache.org>> > Date: Wednesday, October 17, 2012 4:48 AM > To: "user@

Re: Astyanax empty column check

2012-10-17 Thread Hiller, Dean
dra.apache.org>" mailto:user@cassandra.apache.org>> Date: Wednesday, October 17, 2012 4:48 AM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Astyanax empty column check So what you mean is essenti

Re: Astyanax empty column check

2012-10-17 Thread Xu Renjie
Xu Renjie wrote: > > Sorry for the version, I am using 1.0.1 Astyanax. > > > > > > On Wed, Oct 17, 2012 at 4:44 PM, Xu Renjie > wrote: > >> > >> hello guys, > >>I am currently using Astyanax as a client(new to Astyanax). But I am > &g

Re: Astyanax empty column check

2012-10-17 Thread rohit bhatia
ference-between-an-empty-key-and-a-key-that-doesnt-exist On Wed, Oct 17, 2012 at 2:17 PM, Xu Renjie wrote: > Sorry for the version, I am using 1.0.1 Astyanax. > > > On Wed, Oct 17, 2012 at 4:44 PM, Xu Renjie wrote: >> >> hello guys, >>I am currently using As

Re: Astyanax empty column check

2012-10-17 Thread Xu Renjie
Sorry for the version, I am using 1.0.1 Astyanax. On Wed, Oct 17, 2012 at 4:44 PM, Xu Renjie wrote: > hello guys, >I am currently using Astyanax as a client(new to Astyanax). But I am > not clear how to differentiate the following 2 situations: > a. A row which has only key wit

Astyanax empty column check

2012-10-17 Thread Xu Renjie
hello guys, I am currently using Astyanax as a client(new to Astyanax). But I am not clear how to differentiate the following 2 situations: a. A row which has only key without columns b. No this row in database. Since when I use RowQuery to query Cassandra with given key, both the above two

Re: Astyanax error

2012-09-17 Thread A J
I traced this to the misnomer of Integer datatype in Cassandra. IntegerType in Cassandra is infact a variable length BigInt. Changing it to Int32Type solved the issue. https://github.com/Netflix/astyanax/issues/59 On Mon, Sep 17, 2012 at 10:51 AM, A J wrote: > Hello, > > I am

  1   2   >