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

Flaky Test: org.apache.spark.JavaJdbcRDDSuite.testJavaJdbcRDD

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: Java API, Tests
    • Labels:
      None
    • Target Version/s:

      Description

      org.apache.spark.JavaJdbcRDDSuite.testJavaJdbcRDD has been failing due to multiple spark contexts: https://amplab.cs.berkeley.edu/jenkins/job/spark-branch-2.3-test-maven-hadoop-2.6/

      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.SparkContext.<init>(SparkContext.scala:116)
      org.apache.spark.launcher.SparkLauncherSuite$InProcessTestApp.main(SparkLauncherSuite.java:182)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:498)
      org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
      org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:879)
      org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:197)
      org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:227)
      org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:136)
      org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:498)
      org.apache.spark.launcher.InProcessAppHandle.lambda$start$0(InProcessAppHandle.java:63)
      java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

            People

            • Assignee:
              Gengliang.Wang Gengliang Wang
              Reporter:
              sameerag Sameer Agarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: