Shahid Shaikh created CASSANDRA-17723:
-----------------------------------------

             Summary: Add support for big endian architecture (s390x)
                 Key: CASSANDRA-17723
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17723
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Shahid Shaikh
         Attachments: cassandra_patch_file.patch

Noticed that some of the Cassandra tests are failing on big endian 
architectures (s390x). Please find the attached code patch which corrects the 
data handling for big endian architecture. It also corrects the byte ordering 
when dealing with sun.misc.Unsafe methods. After the patch following tests are 
passing for s390x which were failing earlier:

TTLTest
ScrubTest
LegacySSTableTest
SSTableExportSchemaLoadingTest
SSTableMetadataViewerTest
StandaloneUpgraderOnSStablesTest
StandaloneVerifierOnSSTablesTest

The code change ensures that Cassandra for little endian architectures remain 
unaffected.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to