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

Errors trying to use the SpamClassifier pipeline from the Cask Market

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: CDAP
    • Labels:
      None
    • Rank:
      1|i007lb:

      Description

      I am not able to successfully run the pipeline SpamClassifier from the "Solution" packet "Spam Classifier: Machine Learning" in Cask Market.
      The following error is displayed:

      org.apache.parquet.hadoop.BadConfigurationException: class org.apache.spark.sql.execution.datasources.parquet.CatalystReadSupport set in job conf at parquet.read.support.class is not a subclass of org.apache.parquet.hadoop.api.ReadSupport
          at org.apache.parquet.hadoop.util.ConfigurationUtil.getClassFromConfig(ConfigurationUtil.java:35) ~[na:na]
          at org.apache.parquet.hadoop.ParquetInputFormat.getReadSupportClass(ParquetInputFormat.java:182) ~[na:na]
          at org.apache.parquet.hadoop.ParquetInputFormat.getReadSupport(ParquetInputFormat.java:257) ~[na:na]
          at org.apache.parquet.hadoop.ParquetInputFormat.createRecordReader(ParquetInputFormat.java:245) ~[na:na]
          at org.apache.spark.rdd.SqlNewHadoopRDD$$anon$1.<init>(SqlNewHadoopRDD.scala:178) ~[na:na]
          at org.apache.spark.rdd.SqlNewHadoopRDD.compute(SqlNewHadoopRDD.scala:126) ~[na:na]
          at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306) ~[na:na]
          at org.apache.spark.rdd.RDD.iterator(RDD.scala:270) ~[na:na]
          at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38) ~[na:na]
          at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306) ~[na:na]
          at org.apache.spark.rdd.RDD.iterator(RDD.scala:270) ~[na:na]
          at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38) ~[na:na]
          at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306) ~[na:na]
          at org.apache.spark.rdd.RDD.iterator(RDD.scala:270) ~[na:na]
          at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66) ~[na:na]
          at org.apache.spark.scheduler.Task.run(Task.scala:89) ~[na:na]
          at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214) ~[na:na]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_121]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_121]
          at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bhooshan Bhooshan Mogal
                Reporter:
                lea Lea
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: