Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-13737

Report generation fails on Spark-1 cluster

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 5.0.0
    • Component/s: None
    • Labels:
      None
    • Rank:
      1|i00efb:

      Description

      I see this following stack trace on spark 1 cluster while performing report generation,

      this seems familiar and thought we fixed this earlier, need to investigate why this is happening again.

      java.lang.NoSuchMethodError: org.apache.spark.sql.DataFrameReader.load(Lscala/collection/Seq;)Lorg/apache/spark/sql/DataFrame;
      java.lang.NoSuchMethodError: org.apache.spark.sql.DataFrameReader.load(Lscala/collection/Seq;)Lorg/apache/spark/sql/DataFrame;
      	at co.cask.cdap.report.SparkCompat$.readAvroFiles(SparkCompat.scala:43)
      	at co.cask.cdap.report.ReportGenerationHelper$.generateReport(ReportGenerationHelper.scala:98)
      	at co.cask.cdap.report.ReportGenerationHelper.generateReport(ReportGenerationHelper.scala)
      	at co.cask.cdap.report.ReportGenerationSpark$ReportSparkHandler.generateReport(ReportGenerationSpark.java:838)
      	at co.cask.cdap.report.ReportGenerationSpark$ReportSparkHandler.tryGenerateReport(ReportGenerationSpark.java:771)
      	at co.cask.cdap.report.ReportGenerationSpark$ReportSparkHandler.lambda$executeReportGeneration$2(ReportGenerationSpark.java:755)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shankar Shankar Selvam
                Reporter:
                shankar Shankar Selvam
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: