Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-1211

Test failures w/ some index tests (TestHoodieIndex)

    XMLWordPrintableJSON

Details

    Description

      When I was running tests for all of index package, tests fails with connection issue following which all tests start to fail. Once the connection issue starts, I see below errors for successive tests.

       

      Command  : "mvn '-Dtest=org.apache.hudi.index.**' -DfailIfNoTests=false test"

      <<< ERROR!

      org.apache.spark.SparkException:

      Only one SparkContext may be running in this JVM (see SPARK-2243). To ignore this error, set spark.driver.allowMultipleContexts = true. The currently running SparkContext was created at:

      org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:926)

      org.apache.hudi.testutils.FunctionalTestHarness.runBeforeEach(FunctionalTestHarness.java:132)

      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       

      Here is the full stack trace: https://gist.github.com/nsivabalan/0643202bf1af2d85cdc0d35dd6a68d36

      Attachments

        Issue Links

          Activity

            People

              rxu Raymond Xu
              shivnarayan sivabalan narayanan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: