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 Astyanax

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, Lijun Huang

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 Huang

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 <m...@netflix.

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 <coder...@gmail.com> wrote: > Hi All, > > I have the similar problem, if I use the Cassandra 2.1 version, w

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

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 expose

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 migh...@gmail.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

Re: Astyanax Thrift Frame Size Hardcoded - Breaks Ring Describe

2015-04-03 Thread Eric Stevens
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 centric. That said, I

Re: Astyanax Thrift Frame Size Hardcoded - Breaks Ring Describe

2015-04-03 Thread graham sanderson
mailto:migh...@gmail.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 find a new driver

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 wim.debla...@gmail.com a écrit : Hi, We are building an application where we install

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 promising. However

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 are you expecting

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 wim.debla...@gmail.com 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

Re: Storing files in Cassandra with Spring Data / Astyanax

2014-11-05 Thread Wim Deblauwe
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 redmu...@gmail.com: Astyanax isn't deprecated; that user is wrong and is downvoted--and has

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

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

2014-10-08 Thread Ben Bromhead
) 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 this only says how to set up in the server side, but not the client side. Here is my

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 SupplierListHost hostSupplier = new

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 ruchir@gmail.com wrote: All, I am trying to use the new astyanax over java driver to connect to cassandra version 1.2.12

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 doanduy...@gmail.com 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 PM

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 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-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.com/forum

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 way to add

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 user...@gmail.com 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

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 29, 2014 at 4:05 PM, user

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

2014-05-29 Thread user 01
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 29, 2014 at 4:05 PM, user 01 user...@gmail.com wrote: With Hector I used to create a column object

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

2014-05-29 Thread DuyHai Doan
deal for API. On Thu, May 29, 2014 at 9:11 PM, DuyHai Doan doanduy...@gmail.com 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 objects, as long as they die young and respect

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 Java

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 user...@gmail.com 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 use Astyanax over

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

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 very much love

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

2014-05-28 Thread Peter Lin
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 very much love/understand the CQL ways of dealing with things like wide dynamic rows, etc, may be because of the past few years of working

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 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 redmu...@gmail.com wrote: 1. Astyanax does not *officially* support 2.0, and I’m not sure what the future plans

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 user...@gmail.com 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

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

2014-05-28 Thread Peter Lin
...@gmail.com 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 exceeds the controversy involved in deprecating

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

2014-05-28 Thread user 01
: On Wed, May 28, 2014 at 7:19 AM, user 01 user...@gmail.com 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

Re: Astyanax - multiple key search with pagination

2013-12-30 Thread Aaron Morton
: 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 - 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 have 8 client

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 Renato Marroquín Mogrovejo
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 you guys think you

Re: Hector vs Astyanax dependency issue

2013-05-26 Thread Renato Marroquín Mogrovejo
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 you guys think you

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-25 Thread Edward Capriolo
. ::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. 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
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 and Hector client within an application but right now I am hitting a dependency issue [1] related to Guava version being

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
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/CASSANDRA-5435 because ...I

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

Astyanax client in Production

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

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.

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 h...@filez.com wrote: Dne 11.5.2013 21:36, Techy

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 bl...@orcaware.com wrote: On 05/07/2013 01:37 AM, aaron morton wrote: i want to know which cassandra client is

Re: hector or astyanax

2013-05-07 Thread aaron morton
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 from disk on the cassandra side. We went to 20 threads in one case using 20 sockets with astyanax and received

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

Re: hector or astyanax

2013-05-06 Thread Hiller, Dean
...@gmail.commailto:synfina...@gmail.com Reply-To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Date: Sunday, May 5, 2013 5:27 PM To: cassandra users user@cassandra.apache.orgmailto:user@cassandra.apache.org Subject: Re: hector or astyanax

Re: hector or astyanax

2013-05-06 Thread Aaron Turner
@cassandra.apache.org Subject: Re: hector or astyanax On Sun, May 5, 2013 at 1:09 PM, Derek Williams de...@fyrie.netmailto: de...@fyrie.net 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

Re: hector or astyanax

2013-05-06 Thread Hiller, Dean
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 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
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, one socket is just as fast as 10/20…..I would love to know the truth/answer to that though. Later, Dean

Re: hector or astyanax

2013-05-06 Thread Derek Williams
…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 improvement(synchronous but more sockets did not improve our performance). Ie. It may

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

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 sre...@yandex.ru: Hi, Astyanax is just a refactoring of Hector and implements a few common cassandra use cases. Very easy to use

Re: hector or astyanax

2013-05-05 Thread Derek Williams
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, 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 sre

Re: hector or astyanax

2013-05-05 Thread Aaron Turner
On Sun, May 5, 2013 at 1:09 PM, Derek Williams de...@fyrie.net 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

Re: hector or astyanax

2013-05-05 Thread Edward Capriolo
Hector or Astyanax? Is there any reasons for this? Thanks. Renato M. 2013/5/5 Shamim sre...@yandex.ru: 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

Re: hector or astyanax

2013-05-05 Thread Derek Williams
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. Renato M. 2013/5/5 Shamim sre

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

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 is we have

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

2013-04-17 Thread aaron morton
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 this would be done in 3 seconds

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

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 kwri...@nanigans.com 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

Re: Unable to prefix in astyanax read query

2013-04-03 Thread aaron morton
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 - Aaron Morton Freelance Cassandra

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 apurva.ja...@gmail.com wrote: I have a scheme as follows: TimeStamp Device ID Device Name

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

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 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 dean.hil...@nrel.gov wrote: IS anyone using astyanax with their cassandra along with TOKEN AWARE as in here (cassandra

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 dean.hil...@nrel.gov wrote: IS anyone using astyanax with their cassandra along

Re: Astyanax returns empty row

2013-01-16 Thread Sávio Teles
user@cassandra.apache.orgmailto: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 empty row for a specific key, but on the second attempt it returns the desired row

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 savio.te...@lupa.inf.ufg.br I ran the tests with only one machine, so the CL_ONE is not the problem. Am i right?

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 savio.te...@lupa.inf.ufg.br

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: ColumnListString 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 returns empty row

2013-01-15 Thread Hiller, Dean
user@cassandra.apache.orgmailto:user@cassandra.apache.org Date: Tuesday, January 15, 2013 5:43 AM To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Subject: Astyanax returns empty row sometimes 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 b...@alumni.brown.edu Not sure where you are on the learning curve, but I've

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 peitin.inu...@gmail.comwrote: 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

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 peitin.inu...@gmail.com wrote: I was studing

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/2013/01/creating-your

Re: Astyanax empty column check

2012-10-19 Thread Xu Renjie
@cassandra.apache.orguser@cassandra.apache.org Subject: Re: Astyanax empty column check So what you mean is essentially there is *no* way to differentiate it because what they appear is the same? On Wed, Oct 17, 2012 at 5:58 PM, rohit bhatia rohit2...@gmail.com mailto:rohit2...@gmail.com rohit2...@gmail.com

Re: Astyanax empty column check

2012-10-18 Thread aaron morton
@cassandra.apache.orgmailto:user@cassandra.apache.org Subject: Re: Astyanax empty column check So what you mean is essentially there is *no* way to differentiate it because what they appear is the same? On Wed, Oct 17, 2012 at 5:58 PM, rohit bhatia rohit2...@gmail.commailto:rohit2...@gmail.com wrote: See

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 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 xrjxrjxrj...@gmail.com 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

Re: Astyanax empty column check

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

Re: Astyanax empty column check

2012-10-17 Thread 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 xrjxrjxrj...@gmail.com 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

Re: Astyanax empty column check

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

Astyanax error

2012-09-17 Thread A J
Hello, I am tyring to retrieve a list of Column Names (that are defined as Integer) from a CF with RowKey as Integer as well. (I don't care for the column values that are just nulls) Following is snippet of my Astyanax code. I am getting 0 columns but I know the key that I am querying contains

Astyanax - build

2012-09-14 Thread A J
Hi, I am new to java and trying to get the Astyanax client running for Cassandra. Downloaded astyanax from https://github.com/Netflix/astyanax. How do I compile the source code from here it in a very simple fashion from linux command line ? Thanks.

Re: Astyanax - build

2012-09-14 Thread Philip O'Toole
On Fri, Sep 14, 2012 at 12:28:08PM -0400, A J wrote: Hi, I am new to java and trying to get the Astyanax client running for Cassandra. Downloaded astyanax from https://github.com/Netflix/astyanax. How do I compile the source code from here it in a very simple fashion from linux command line

Re: Astyanax - build

2012-09-14 Thread Hiller, Dean
I didn't need to compile it. It is up in the maven repositories as we http://mvnrepository.com/artifact/com.netflix.astyanax/astyanax Or are you trying to see how it works? (We use the same client on playORM open source projectŠit works like a charm). Dean On 9/14/12 10:28 AM, A J s5a

  1   2   >