astyanax
astyanax copied to clipboard
Cassandra Java Client
Bug fix and update dependency.
https://github.com/Netflix/astyanax/blob/master/astyanax-test/src/test/java/com/netflix/astyanax/thrift/ThriftKeyspaceImplTest.java @Test public void testGetAllKeysRoot() { ......... row = result.getResult().getRowByIndex(10); Assert.assertEquals("M", row.getKey()); ....... } Ideally row by index of the 10th index should return the 11th element K right. Not...
See https://github.com/Netflix/astyanax/wiki/Java-Driver-Configuration#configuring-load-balancing-policy
I am doing upgrade from 2.2.5 to 3.0.9 after completing upgrade on one of the nodes and I ran nodetool status it says the other nodes are down and when...
In below code where we need to set the Casandra credentials ? Do you have any property file for the same ? AstyanaxContext context = new AstyanaxContext.Builder() .forCluster("ClusterName") .forKeyspace("KeyspaceName") .withAstyanaxConfiguration(new...
There is no thread name format provided to the ThreadFactoryBuilder, so they get the hard-to-understand name pool-5-thread-1. https://github.com/Netflix/astyanax/blob/master/astyanax-core/src/main/java/com/netflix/astyanax/connectionpool/impl/NodeDiscoveryImpl.java#L62 Adding a .setNameFormat("AstyanaxNodeDiscovery-%d") should fix it.
I tried to read a "set" data type from Cassandra in 3 ways ` val genValue = col.getValue("genre", new SetSerializer[String](UTF8Type.instance), new java.util.HashSet[String]()).toSet ` and ` val setSer = new SetSerializer[String](UTF8Type.instance)...
- When Cassandra/DSE server nodes have require-client-auth specified to true, the clients need to send client cert for validation with the server nodes. Didn't currently find a way to do...
This wiki page: https://github.com/Netflix/astyanax/wiki/Cassandra-compatibility only lists Astyanax version 2.0.x But as of today, there exists Astyanax version 3.9.0. Can you please update the Cassandra Compatiblity page to include the latest...
As commented before, fixing an issue that happens when 2 request arrive at the exact same microsecond an we use a RetryPolicy other than RetryOnce, this causes a BusyLockException for...