[jira] [Updated] (CASSANDRA-7201) Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit tests on 2.1

2014-05-21 Thread Benedict (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-7201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benedict updated CASSANDRA-7201:


Attachment: 7201.2.txt

Looks like we use non-byte methods on ByteBuffer for name as well (rarely, 
which is why I didn't spot it). I've modified AstractNativeCell to return 
Java-native byte order ByteBuffers for all calls to value() and get(int) 
(retrieving cell name)

 Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit 
 tests on 2.1
 

 Key: CASSANDRA-7201
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7201
 Project: Cassandra
  Issue Type: Test
  Components: Tests
Reporter: Michael Shuler
Assignee: Benedict
  Labels: qa-resolved
 Fix For: 2.1 rc1

 Attachments: 7201.2.txt, 7201.txt


 http://cassci.datastax.com/job/cassandra-2.1_utest/252/testReport/
 {noformat}
 REGRESSION:  
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF
 Error Message:
 null
 Stack Trace:
 java.lang.NullPointerException
 at 
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF(ColumnFamilyStoreTest.java:992)
 REGRESSION:  org.apache.cassandra.db.NativeCellTest.testCells
 Error Message:
 null
 Stack Trace:
 java.lang.IllegalArgumentException
 at java.nio.Buffer.position(Buffer.java:236)
 at 
 org.apache.cassandra.db.context.CounterContext.updateDigest(CounterContext.java:659)
 at 
 org.apache.cassandra.db.NativeCounterCell.updateDigest(NativeCounterCell.java:139)
 at org.apache.cassandra.db.NativeCellTest.test(NativeCellTest.java:148)
 at 
 org.apache.cassandra.db.NativeCellTest.testCells(NativeCellTest.java:132)
 REGRESSION:  
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking
 Error Message:
 null
 Stack Trace:
 junit.framework.AssertionFailedError: 
 at 
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking(SSTableMetadataTest.java:306)
 {noformat}
 All 3 tests bisect to:
 {noformat}
 commit 1ac72f637cdfc9876d2d121302061e46ac104bf8
 Author: Jonathan Ellis jbel...@apache.org
 Date:   Thu May 8 16:44:35 2014 -0500
 prefer MemoryUtil.getByteBuffer to JNA Native.getDirectByteBuffer; 
 specify native endian on the former
 patch by bes; reviewed by jbellis for CASSANDRA-6575
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7201) Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit tests on 2.1

2014-05-21 Thread Jonathan Ellis (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-7201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-7201:
--

Issue Type: Bug  (was: Test)

 Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit 
 tests on 2.1
 

 Key: CASSANDRA-7201
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7201
 Project: Cassandra
  Issue Type: Bug
  Components: Tests
Reporter: Michael Shuler
Assignee: Benedict
  Labels: qa-resolved
 Fix For: 2.1 rc1

 Attachments: 7201.2.txt, 7201.txt


 http://cassci.datastax.com/job/cassandra-2.1_utest/252/testReport/
 {noformat}
 REGRESSION:  
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF
 Error Message:
 null
 Stack Trace:
 java.lang.NullPointerException
 at 
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF(ColumnFamilyStoreTest.java:992)
 REGRESSION:  org.apache.cassandra.db.NativeCellTest.testCells
 Error Message:
 null
 Stack Trace:
 java.lang.IllegalArgumentException
 at java.nio.Buffer.position(Buffer.java:236)
 at 
 org.apache.cassandra.db.context.CounterContext.updateDigest(CounterContext.java:659)
 at 
 org.apache.cassandra.db.NativeCounterCell.updateDigest(NativeCounterCell.java:139)
 at org.apache.cassandra.db.NativeCellTest.test(NativeCellTest.java:148)
 at 
 org.apache.cassandra.db.NativeCellTest.testCells(NativeCellTest.java:132)
 REGRESSION:  
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking
 Error Message:
 null
 Stack Trace:
 junit.framework.AssertionFailedError: 
 at 
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking(SSTableMetadataTest.java:306)
 {noformat}
 All 3 tests bisect to:
 {noformat}
 commit 1ac72f637cdfc9876d2d121302061e46ac104bf8
 Author: Jonathan Ellis jbel...@apache.org
 Date:   Thu May 8 16:44:35 2014 -0500
 prefer MemoryUtil.getByteBuffer to JNA Native.getDirectByteBuffer; 
 specify native endian on the former
 patch by bes; reviewed by jbellis for CASSANDRA-6575
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7201) Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit tests on 2.1

2014-05-15 Thread Michael Shuler (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-7201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Shuler updated CASSANDRA-7201:
--

Labels: qa-resolved  (was: )

 Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit 
 tests on 2.1
 

 Key: CASSANDRA-7201
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7201
 Project: Cassandra
  Issue Type: Test
  Components: Tests
Reporter: Michael Shuler
Assignee: Benedict
  Labels: qa-resolved
 Fix For: 2.1 rc1

 Attachments: 7201.txt


 http://cassci.datastax.com/job/cassandra-2.1_utest/252/testReport/
 {noformat}
 REGRESSION:  
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF
 Error Message:
 null
 Stack Trace:
 java.lang.NullPointerException
 at 
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF(ColumnFamilyStoreTest.java:992)
 REGRESSION:  org.apache.cassandra.db.NativeCellTest.testCells
 Error Message:
 null
 Stack Trace:
 java.lang.IllegalArgumentException
 at java.nio.Buffer.position(Buffer.java:236)
 at 
 org.apache.cassandra.db.context.CounterContext.updateDigest(CounterContext.java:659)
 at 
 org.apache.cassandra.db.NativeCounterCell.updateDigest(NativeCounterCell.java:139)
 at org.apache.cassandra.db.NativeCellTest.test(NativeCellTest.java:148)
 at 
 org.apache.cassandra.db.NativeCellTest.testCells(NativeCellTest.java:132)
 REGRESSION:  
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking
 Error Message:
 null
 Stack Trace:
 junit.framework.AssertionFailedError: 
 at 
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking(SSTableMetadataTest.java:306)
 {noformat}
 All 3 tests bisect to:
 {noformat}
 commit 1ac72f637cdfc9876d2d121302061e46ac104bf8
 Author: Jonathan Ellis jbel...@apache.org
 Date:   Thu May 8 16:44:35 2014 -0500
 prefer MemoryUtil.getByteBuffer to JNA Native.getDirectByteBuffer; 
 specify native endian on the former
 patch by bes; reviewed by jbellis for CASSANDRA-6575
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7201) Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit tests on 2.1

2014-05-15 Thread Michael Shuler (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-7201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Shuler updated CASSANDRA-7201:
--

Description: 
http://cassci.datastax.com/job/cassandra-2.1_utest/252/testReport/
{noformat}
REGRESSION:  
org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF(ColumnFamilyStoreTest.java:992)


REGRESSION:  org.apache.cassandra.db.NativeCellTest.testCells

Error Message:
null

Stack Trace:
java.lang.IllegalArgumentException
at java.nio.Buffer.position(Buffer.java:236)
at 
org.apache.cassandra.db.context.CounterContext.updateDigest(CounterContext.java:659)
at 
org.apache.cassandra.db.NativeCounterCell.updateDigest(NativeCounterCell.java:139)
at org.apache.cassandra.db.NativeCellTest.test(NativeCellTest.java:148)
at org.apache.cassandra.db.NativeCellTest.testCells(NativeCellTest.java:132)


REGRESSION:  
org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking

Error Message:
null

Stack Trace:
junit.framework.AssertionFailedError: 
at 
org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking(SSTableMetadataTest.java:306)
{noformat}

All 3 tests bisect to:
{noformat}
commit 1ac72f637cdfc9876d2d121302061e46ac104bf8
Author: Jonathan Ellis jbel...@apache.org
Date:   Thu May 8 16:44:35 2014 -0500

prefer MemoryUtil.getByteBuffer to JNA Native.getDirectByteBuffer; specify 
native endian on the former
patch by bes; reviewed by jbellis for CASSANDRA-6575
{noformat}

  was:
http://cassci.datastax.com/job/cassandra-2.1_utest/252/testReport/org.apache.cassandra.db/ColumnFamilyStoreTest/testSliceByNamesCommandOnUUIDTypeSCF/
{noformat}
Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF(ColumnFamilyStoreTest.java:992)
{noformat}

bisects to:
{noformat}
commit 1ac72f637cdfc9876d2d121302061e46ac104bf8
Author: Jonathan Ellis jbel...@apache.org
Date:   Thu May 8 16:44:35 2014 -0500

prefer MemoryUtil.getByteBuffer to JNA Native.getDirectByteBuffer; specify 
native endian on the former
patch by bes; reviewed by jbellis for CASSANDRA-6575
{noformat}

Summary: Regression: ColumnFamilyStoreTest, NativeCellTest, 
SSTableMetadataTest unit tests on 2.1  (was: Regression: ColumnFamilyStoreTest 
unit test on 2.1)

 Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit 
 tests on 2.1
 

 Key: CASSANDRA-7201
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7201
 Project: Cassandra
  Issue Type: Test
  Components: Tests
Reporter: Michael Shuler
Assignee: Benedict
  Labels: qa-resolved
 Fix For: 2.1 rc1

 Attachments: 7201.txt


 http://cassci.datastax.com/job/cassandra-2.1_utest/252/testReport/
 {noformat}
 REGRESSION:  
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF
 Error Message:
 null
 Stack Trace:
 java.lang.NullPointerException
 at 
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF(ColumnFamilyStoreTest.java:992)
 REGRESSION:  org.apache.cassandra.db.NativeCellTest.testCells
 Error Message:
 null
 Stack Trace:
 java.lang.IllegalArgumentException
 at java.nio.Buffer.position(Buffer.java:236)
 at 
 org.apache.cassandra.db.context.CounterContext.updateDigest(CounterContext.java:659)
 at 
 org.apache.cassandra.db.NativeCounterCell.updateDigest(NativeCounterCell.java:139)
 at org.apache.cassandra.db.NativeCellTest.test(NativeCellTest.java:148)
 at 
 org.apache.cassandra.db.NativeCellTest.testCells(NativeCellTest.java:132)
 REGRESSION:  
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking
 Error Message:
 null
 Stack Trace:
 junit.framework.AssertionFailedError: 
 at 
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking(SSTableMetadataTest.java:306)
 {noformat}
 All 3 tests bisect to:
 {noformat}
 commit 1ac72f637cdfc9876d2d121302061e46ac104bf8
 Author: Jonathan Ellis jbel...@apache.org
 Date:   Thu May 8 16:44:35 2014 -0500
 prefer MemoryUtil.getByteBuffer to JNA Native.getDirectByteBuffer; 
 specify native endian on the former
 patch by bes; reviewed by jbellis for CASSANDRA-6575
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7201) Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit tests on 2.1

2014-05-15 Thread Benedict (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-7201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benedict updated CASSANDRA-7201:


Attachment: 7201.txt

Counters store data in their value() context written in big endian format, so 
this was breaking counter context processing when they were read back from 
native cells. Rather than convert all native byte buffers to big endian, I've 
attached a patch that swaps the endianness of counter value only.

 Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit 
 tests on 2.1
 

 Key: CASSANDRA-7201
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7201
 Project: Cassandra
  Issue Type: Test
  Components: Tests
Reporter: Michael Shuler
Assignee: Benedict
  Labels: qa-resolved
 Fix For: 2.1 rc1

 Attachments: 7201.txt


 http://cassci.datastax.com/job/cassandra-2.1_utest/252/testReport/
 {noformat}
 REGRESSION:  
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF
 Error Message:
 null
 Stack Trace:
 java.lang.NullPointerException
 at 
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF(ColumnFamilyStoreTest.java:992)
 REGRESSION:  org.apache.cassandra.db.NativeCellTest.testCells
 Error Message:
 null
 Stack Trace:
 java.lang.IllegalArgumentException
 at java.nio.Buffer.position(Buffer.java:236)
 at 
 org.apache.cassandra.db.context.CounterContext.updateDigest(CounterContext.java:659)
 at 
 org.apache.cassandra.db.NativeCounterCell.updateDigest(NativeCounterCell.java:139)
 at org.apache.cassandra.db.NativeCellTest.test(NativeCellTest.java:148)
 at 
 org.apache.cassandra.db.NativeCellTest.testCells(NativeCellTest.java:132)
 REGRESSION:  
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking
 Error Message:
 null
 Stack Trace:
 junit.framework.AssertionFailedError: 
 at 
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking(SSTableMetadataTest.java:306)
 {noformat}
 All 3 tests bisect to:
 {noformat}
 commit 1ac72f637cdfc9876d2d121302061e46ac104bf8
 Author: Jonathan Ellis jbel...@apache.org
 Date:   Thu May 8 16:44:35 2014 -0500
 prefer MemoryUtil.getByteBuffer to JNA Native.getDirectByteBuffer; 
 specify native endian on the former
 patch by bes; reviewed by jbellis for CASSANDRA-6575
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7201) Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit tests on 2.1

2014-05-13 Thread T Jake Luciani (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-7201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

T Jake Luciani updated CASSANDRA-7201:
--

Reviewer: Michael Shuler

 Regression: ColumnFamilyStoreTest, NativeCellTest, SSTableMetadataTest unit 
 tests on 2.1
 

 Key: CASSANDRA-7201
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7201
 Project: Cassandra
  Issue Type: Test
  Components: Tests
Reporter: Michael Shuler
Assignee: Benedict
  Labels: qa-resolved
 Fix For: 2.1 rc1

 Attachments: 7201.txt


 http://cassci.datastax.com/job/cassandra-2.1_utest/252/testReport/
 {noformat}
 REGRESSION:  
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF
 Error Message:
 null
 Stack Trace:
 java.lang.NullPointerException
 at 
 org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOnUUIDTypeSCF(ColumnFamilyStoreTest.java:992)
 REGRESSION:  org.apache.cassandra.db.NativeCellTest.testCells
 Error Message:
 null
 Stack Trace:
 java.lang.IllegalArgumentException
 at java.nio.Buffer.position(Buffer.java:236)
 at 
 org.apache.cassandra.db.context.CounterContext.updateDigest(CounterContext.java:659)
 at 
 org.apache.cassandra.db.NativeCounterCell.updateDigest(NativeCounterCell.java:139)
 at org.apache.cassandra.db.NativeCellTest.test(NativeCellTest.java:148)
 at 
 org.apache.cassandra.db.NativeCellTest.testCells(NativeCellTest.java:132)
 REGRESSION:  
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking
 Error Message:
 null
 Stack Trace:
 junit.framework.AssertionFailedError: 
 at 
 org.apache.cassandra.io.sstable.SSTableMetadataTest.testLegacyCounterShardTracking(SSTableMetadataTest.java:306)
 {noformat}
 All 3 tests bisect to:
 {noformat}
 commit 1ac72f637cdfc9876d2d121302061e46ac104bf8
 Author: Jonathan Ellis jbel...@apache.org
 Date:   Thu May 8 16:44:35 2014 -0500
 prefer MemoryUtil.getByteBuffer to JNA Native.getDirectByteBuffer; 
 specify native endian on the former
 patch by bes; reviewed by jbellis for CASSANDRA-6575
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)