[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-24 Thread Benjamin Lerer (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14708948#comment-14708948
 ] 

Benjamin Lerer commented on CASSANDRA-9906:
---

The results for the last run of the unit tests and DTests are 
[here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9906-testall/8/testReport/]
 and 
[here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9906-dtest/7/testReport/]

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-24 Thread Sylvain Lebresne (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14709025#comment-14709025
 ] 

Sylvain Lebresne commented on CASSANDRA-9906:
-

CI looks good, +1 from me.

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-21 Thread Sylvain Lebresne (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14707310#comment-14707310
 ] 

Sylvain Lebresne commented on CASSANDRA-9906:
-

The patch looks good in principle but there seems to be more failure on both 
unit and dtest than we currently have on the cassandra-3.0. Maybe you haven't 
rebased that branch in a while?

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-21 Thread Benjamin Lerer (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14707371#comment-14707371
 ] 

Benjamin Lerer commented on CASSANDRA-9906:
---

I have pushed a rebased version. Waiting for CI-results.

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-21 Thread Benjamin Lerer (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14707282#comment-14707282
 ] 

Benjamin Lerer commented on CASSANDRA-9906:
---

The new patch is 
[here|https://github.com/apache/cassandra/compare/trunk...blerer:9906]

It fix the problem by adding for static compact tables the {{value}} column to 
the {{ColumnFilter}}. 

* The results of the unit tests are 
[here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9906-testall/7/]
* The results of the DTests are 
[here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9906-dtest/6/]

[~slebresne], does it look good to you?

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-17 Thread Benjamin Lerer (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14699729#comment-14699729
 ] 

Benjamin Lerer commented on CASSANDRA-9906:
---

I will have another look at the patch as this change is probably wrong. The 
original {{ColumnFilter}} was not working properly and the thrift call was not 
returning anything. I changed it to make it work but I did not realize that I 
was returning more data than expected. 

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-17 Thread Sylvain Lebresne (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14699691#comment-14699691
 ] 

Sylvain Lebresne commented on CASSANDRA-9906:
-

The fix of the static clustering is clearly fine, but could you comment on the 
{{ColumnFilter}} creation change? Because you've changed it so that all columns 
of a row are queried, but that's not what we want for thrift and those change 
looks a priori incorrect. Is the test failing without this change, and can you 
explain why?

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-16 Thread Stefania (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14698889#comment-14698889
 ] 

Stefania commented on CASSANDRA-9906:
-

The utests are definitely OK and the dtests seem inline with 3.0 so I am +1.

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-14 Thread Benjamin Lerer (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697596#comment-14697596
 ] 

Benjamin Lerer commented on CASSANDRA-9906:
---

* The results of the tests are 
[here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9906-testall/lastCompletedBuild/testReport/]
* The results of the Dtests are 
[here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9906-dtest/lastCompletedBuild/testReport/]

As we have a lot of DTests failing on 3.0, it is difficult to be fully sure 
that the patch does not break anything. I have checked the failing DTests and 
it seems that the failures are not related to the patch.

[~iamaleksey] could you have a quick look to the patch to be sure that we did 
not miss anything?

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-13 Thread Benjamin Lerer (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14695137#comment-14695137
 ] 

Benjamin Lerer commented on CASSANDRA-9906:
---

* the unit test results are 
[here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9970-testall/lastCompletedBuild/testReport/]
* the dtests results are 
[here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9970-dtest/lastCompletedBuild/testReport/]

The failing tests seems unrelated to the patch.

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-11 Thread Stefania (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14692676#comment-14692676
 ] 

Stefania commented on CASSANDRA-9906:
-

+1, provided we fix the imports, they are not needed and out of order.

A number of unit tests have been fixed on 3.0 I believe, so the failing utests 
don't match 3.0. A couple of dtests also don't fail on 3.0, but did not check 
thoroughly. I've run the mismatched failing utests and dtests on my box and 
they pass locally, so they should be unrelated. However we may want to run the 
patch on cassci one more time before committing.


 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-11 Thread Benjamin Lerer (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14681790#comment-14681790
 ] 

Benjamin Lerer commented on CASSANDRA-9906:
---

[~Stefania] can you review?

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9906) get_slice and multiget_slice failing on trunk

2015-08-11 Thread Stefania (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14681810#comment-14681810
 ] 

Stefania commented on CASSANDRA-9906:
-

Sure.

 get_slice and multiget_slice failing on trunk
 -

 Key: CASSANDRA-9906
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9906
 Project: Cassandra
  Issue Type: Bug
  Components: Core
Reporter: Mike Adamson
Assignee: Benjamin Lerer
Priority: Blocker
 Fix For: 3.0.0 rc1

 Attachments: 9906.txt, dtest-CASSANDRA-9906.txt


 {{get_slice}} and {{multiget_slice}} are failing on trunk with the following 
 error:
 {noformat}
 java.lang.AssertionError: null
   at 
 org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.init(ClusteringIndexNamesFilter.java:53)
  ~[cassandra-all-3.0.0.592.jar:3.0.0.592]
   at 
 org.apache.cassandra.thrift.CassandraServer.toInternalFilter(CassandraServer.java:405)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:547)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.CassandraServer.multiget_slice(CassandraServer.java:348)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3716)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 org.apache.cassandra.thrift.Cassandra$Processor$multiget_slice.getResult(Cassandra.java:3700)
  ~[cassandra-thrift-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) 
 ~[libthrift-0.9.2.jar:0.9.2]
   at 
 org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:204)
  ~[cassandra-all-3.0.0.592.jar:5.0.0-SNAPSHOT]
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  ~[na:1.8.0_45]
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  ~[na:1.8.0_45]
   at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]
 {noformat}
 The schema used for this was
 {noformat}
 create table test (k int, v int, primary key(k)) with compact storage;
 {noformat}
 and the code used for the call was
 {noformat}
 SlicePredicate predicate = new SlicePredicate();
 predicate.column_names = 
 Collections.singletonList(ByteBufferUtil.bytes(v));
 client.multiget_slice(Collections.singletonList(key), new 
 ColumnParent(test), predicate, ConsistencyLevel.ONE);
 {noformat}
 The error is coming from this line in {{ClusteringIndexNamesFilter}}
 {noformat}
 assert !clusterings.contains(Clustering.STATIC_CLUSTERING);
 {noformat}
 which is failing the assertion because column 'v' is static.
 Apologies for the line mismatches in {{ClusteringIndexNamesFilter}} I had 
 some debug statements in the code to help track down what was happening



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)