Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19999

Test failures in Spark Core due to java.nio.Bits.unaligned()

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: Spark Core
    • Labels:
    • Environment:

      Ubuntu 14.04 ppc64le
      $ java -version
      openjdk version "1.8.0_111"
      OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
      OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

      Description

      There are multiple test failures seen in Spark Core project with the following error message :

      java.lang.IllegalArgumentException: requirement failed: No support for unaligned Unsafe. Set spark.memory.offHeap.enabled to false.
      

      These errors occur due to java.nio.Bits.unaligned(), which does not return true for the ppc64le arch.

        Attachments

        1. Core.patch
          1 kB
          Sonia Garudi

          Activity

            People

            • Assignee:
              Sonia Sonia Garudi
              Reporter:
              Sonia Sonia Garudi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: