You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "C. Scott Andreas (JIRA)" <ji...@apache.org> on 2018/11/19 05:37:00 UTC

[jira] [Updated] (CASSANDRA-10777) LegacySSTableTest Test-case failure, Issue with test\data\legacy-sstables\jb\Keyspace1\Keyspace1-Standard1-jb-0-Summary.db file read on BIG ENDian systems

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

C. Scott Andreas updated CASSANDRA-10777:
-----------------------------------------
    Component/s: Testing

> LegacySSTableTest Test-case failure,  Issue with test\data\legacy-sstables\jb\Keyspace1\Keyspace1-Standard1-jb-0-Summary.db  file read on BIG ENDian systems
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10777
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10777
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>         Environment: OS:RHEL7 and BIG ENDian system
>            Reporter: Nirav Thakkar
>            Priority: Critical
>         Attachments: IndexSummaryBE.jpg, IndexSummaryLE.jpg, SampleTable_Summary.db_BE.jpg, SampleTable_Summary.db_LE.jpg
>
>
> I am building Cassandra 2.2.3 on BigEndian System. Cassandra builds successfully. However there are quite a few test case failures. One of the failing test case is LegacySSTableTest. This test case reads the file test\data\legacy-sstables\jb\Keyspace1\Keyspace1-Standard1-jb-0-Summary.db
> Are these existing test data files, specific to Little Endian systems?
> I have observed differences in values read on a LE Vs BE systems.
> I use the following command to run the test case. ant test -Dtest.name=LegacySSTableTest
> I get the following error:
> [junit] ------------- Standard Error -----------------
> [junit] Failed to read jb
> [junit] ------------- ---------------- ---------------
> [junit] Testcase: testStreaming(org.apache.cassandra.io.sstable.LegacySSTableTest): FAILED
> [junit] null
> [junit] junit.framework.AssertionFailedError
> [junit] at org.apache.cassandra.io.sstable.IndexSummary.<init>(IndexSummary.java:80)
> [junit] at org.apache.cassandra.io.sstable.IndexSummary$IndexSummarySerializer.deserialize(IndexSummary.java:317)
> [junit] at org.apache.cassandra.io.sstable.SSTableReader.loadSummary(SSTableReader.java:877)
> [junit] at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:730)
> [junit] at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:692)
> [junit] at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:480)
> [junit] at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:376)
> [junit] at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:371)
> [junit] at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:363)
> [junit] at org.apache.cassandra.io.sstable.LegacySSTableTest.testStreaming(LegacySSTableTest.java:115)
> [junit] at org.apache.cassandra.io.sstable.LegacySSTableTest.testStreaming(LegacySSTableTest.java:110)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org