Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17723

Add support for big endian architecture (s390x)

    XMLWordPrintableJSON

Details

    Description

      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.

       

      Attachments

        1. CASSANDRA-17723-4.0.patch
          7 kB
          Shahid Shaikh

        Issue Links

          Activity

            People

              shahidhs Shahid Shaikh
              shahidhs Shahid Shaikh
              Shahid Shaikh
              Brandon Williams, Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: