java.lang.NoSuchMethodError: org.apache.spark.sql.types.DecimalType$.Unlimited()Lorg/apache/spark/sql/types/DecimalType;

GitHub | witwall | 4 months ago
  1. 0

    java.lang.NoSuchMethodError: org.apache.spark.sql.types.DecimalType$.Unlimited

    GitHub | 4 months ago | witwall
    java.lang.NoSuchMethodError: org.apache.spark.sql.types.DecimalType$.Unlimited()Lorg/apache/spark/sql/types/DecimalType;
  2. 0

    Using jar "spark-xml_2.11-0.4.1" with Python Error - org.apache.spark.sql.types.DecimalType$.Unlimited(

    GitHub | 2 weeks ago | ivaradagit
    java.lang.NoSuchMethodError: org.apache.spark.sql.types.DecimalType$.Unlimited()Lorg/apache/spark/ sql/types/DecimalType;
  3. 0

    Deprecated method in Spark 2.0, being used in InferSchema

    GitHub | 2 months ago | schwartzmx
    java.lang.NoSuchMethodError: org.apache.spark.sql.types.DecimalType$.Unlimited()Lorg/apache/spark/sql/types/DecimalType;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 607#175195821

    GitHub | 10 months ago | randallwhitman
    java.lang.NoSuchMethodError: org.apache.spark.sql.types.StructType.add(Ljava/lang/String;Lorg/apache/spark/sql/types/DataType;)Lorg/apache/spark/sql/types/StructType;
  6. 0

    GitHub comment 78#224771763

    GitHub | 6 months ago | javadba
    java.lang.NoSuchMethodError: org.apache.spark.sql.SQLContext.createDataFrame(Lorg/apache/spark/rdd/RDD;Lorg/apache/spark/sql/types/StructType;)Lorg/apache/spark/sql/DataFrame;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.spark.sql.types.DecimalType$.Unlimited()Lorg/apache/spark/sql/types/DecimalType;

      at com.databricks.spark.xml.util.InferSchema$.<init>()
    2. com.databricks.spark
      XmlRelation$$anonfun$1.apply
      1. com.databricks.spark.xml.util.InferSchema$.<init>(InferSchema.scala:50)
      2. com.databricks.spark.xml.util.InferSchema$.<clinit>(InferSchema.scala)
      3. com.databricks.spark.xml.XmlRelation$$anonfun$1.apply(XmlRelation.scala:46)
      4. com.databricks.spark.xml.XmlRelation$$anonfun$1.apply(XmlRelation.scala:46)
      4 frames
    3. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:121)
      1 frame
    4. com.databricks.spark
      DefaultSource.createRelation
      1. com.databricks.spark.xml.XmlRelation.<init>(XmlRelation.scala:45)
      2. com.databricks.spark.xml.DefaultSource.createRelation(DefaultSource.scala:66)
      3. com.databricks.spark.xml.DefaultSource.createRelation(DefaultSource.scala:44)
      3 frames
    5. org.apache.spark
      DataSource.resolveRelation
      1. org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:315)
      1 frame
    6. Spark Project SQL
      DataFrameReader.load
      1. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:149)
      2. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:122)
      2 frames