astyanax
astyanax copied to clipboard
Cassandra Java Client
The `ThreadFactorBuilder` embeds the `objectNam`e into the name format of the thread. If the `objectName` has an embedded `%` sign, a RuntimeException occurs trying to set the name of the...
``` java 103 private CqlKeyspaceImpl(Session session, String ksName, AstyanaxConfiguration asConfig, KeyspaceTracerFactory tracerFactory, ConnectionPoolConfiguration cpConfig, ConnectionPoolMonitor cpMonitor) { 104 this.session = session; 105 this.keyspaceName = ksName.toLowerCase(); 106 this.astyanaxConfig = asConfig; ```...
MapSerializer mapSer = new MapSerializer(UTF8Type.instance, UTF8Type.instance); ``` Rows rows = result.getRows(); for (Row row : rows) { ColumnList cols = row.getColumns(); Column col = cols.getColumnByName("map1"); Map map = col.getValue(mapSer); System.out.println("MAP!!:...
When files are written by CassandraChunkedStorageProvider TTL is not set. To fix this problem you have to set global TTL. Fixed code: @Override @@ -90,10 +96,10 @@ public class CassandraChunkedStorageProvider...
Missing invocation of cf.describe() in constructor: public CassandraChunkedStorageProvider(Keyspace keyspace, String cfName) { this.keyspace = keyspace; this.cf = ColumnFamily.newColumnFamily(cfName, StringSerializer.get(), StringSerializer.get()); + try { + cf.describe(keyspace); + } catch (ConnectionException e)...
In the method readMetadata the uppercase column names are used instead of lowercase, thus the field value is never read correctly (is always equal to null). That is why NotFoundException...
Hello, 1 year agao I asked regarding using TOKEN_AWARE with Cassandra vnodes: https://github.com/Netflix/astyanax/issues/418 Has there been any progress in latest Astyanax V1 or the newly released V2 version regarding this...
When configuring Astyanax 2.0.1 with a `JavaDriverConfigBuilder` (as documented [here](https://github.com/Netflix/astyanax/wiki/Java-Driver-Configuration)), this method gets called in `AbstractHostPartitionConnectionPool` when it starts: ``` java /** * Starts the conn pool and resources associated...
We have a customer who discovered this in production: none of the cluster node auto-discovery logic seems to work at all. We have our cluster set up like this ```...
This error didn't happen in Astyanax version 1.4.42, it started happening in 1.4.43 and it still happens in the latest version. I have this code that reproduces the issue: ```...