Uploaded image for project: 'Mnemonic'
  1. Mnemonic
  2. MNEMONIC-665

Invalid forkMode and java.ext.dirs not supported in Spark test suites

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.16.0
    • TestCase
    • None

    Description

      There is an error reporeted asĀ 

      `

      INFO] — scalatest-maven-plugin:1.0:test (test) @ mnemonic-spark-core —
      [ERROR] Invalid forkMode: "always"; Using once instead.
      -Djava.ext.dirs=/home/gary/mnemonic/mnemonic-memory-services/service-dist:/home/gary/mnemonic/mnemonic-computing-services/service-dist is not supported. Use -classpath instead.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      `

      The way to reproduce it is

      `mvn -Dsuites=org.apache.mnemonic.spark.rdd.DurableRDDLongDataSpec test -pl mnemonic-spark/mnemonic-spark-core -DskipTests=false`

      Attachments

        Issue Links

          Activity

            People

              chunyonghe Chunyong He
              qichfan Gordon King
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m