java.lang.RuntimeException: Cannot determine the number of rows because it is not specified in the constructor and the rows RDD is empty.

GitHub | lewismc | 3 months ago
  1. 0

    java.lang.RuntimeException: Cannot determine the number of rows because it is not specified in the constructor and the rows RDD is empty.

    GitHub | 3 months ago | lewismc
    java.lang.RuntimeException: Cannot determine the number of rows because it is not specified in the constructor and the rows RDD is empty.
  2. 0

    Can I create a function in Spark SQL?

    Stack Overflow | 2 years ago | user3826955
    java.lang.RuntimeException: [1.1] failure:</code>INSERT'' expected but identifier CREATE found</p> <p>CREATE OR REPLACE FUNCTION apply_rules (pcode VARCHAR2) RETURN BOOLEAN AS LANGUAGE JAVA NAME 'main.scala.GroovyIntegrator.applyRules (java.lang.String) return java.lang.Boolean'; ^
  3. 0

    Append Mode is not Enabled for AvroSaver

    GitHub | 1 year ago | mkanchwala
    java.lang.RuntimeException: Append mode is not supported by com.databricks.spark.avro.DefaultSource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Saving / exporting transformed DataFrame back to JDBC / MySQL

    Stack Overflow | 1 year ago | Matt Zukowski
    java.lang.RuntimeException: org.apache.spark.sql.execution.datasources.jdbc.DefaultSource does not allow create table as select.
  6. 0

    crash report

    GitHub | 2 years ago | syf097
    java.lang.RuntimeException: Config parsing failed at 1.1: string matching regex `\z' expected but `c' found
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.RuntimeException

    Cannot determine the number of rows because it is not specified in the constructor and the rows RDD is empty.

    at scala.sys.package$.error()
  2. Scala
    package$.error
    1. scala.sys.package$.error(package.scala:27)
    1 frame
  3. Spark Project ML Library
    RowMatrix.numRows
    1. org.apache.spark.mllib.linalg.distributed.RowMatrix.numRows(RowMatrix.scala:77)
    1 frame
  4. esiptestbed.mudrod.utils
    MatrixUtil.exportToCSV
    1. esiptestbed.mudrod.utils.MatrixUtil.exportToCSV(MatrixUtil.java:504)
    1 frame
  5. esiptestbed.mudrod.weblog
    ClickStreamGenerator.execute
    1. esiptestbed.mudrod.weblog.pre.ClickStreamGenerator.execute(ClickStreamGenerator.java:64)
    1 frame
  6. esiptestbed.mudrod.discoveryengine
    WeblogDiscoveryEngine.preprocess
    1. esiptestbed.mudrod.discoveryengine.WeblogDiscoveryEngine.preprocess(WeblogDiscoveryEngine.java:125)
    1 frame
  7. esiptestbed.mudrod.main
    MudrodEngine.main
    1. esiptestbed.mudrod.main.MudrodEngine.startFullIngest(MudrodEngine.java:158)
    2. esiptestbed.mudrod.main.MudrodEngine.main(MudrodEngine.java:357)
    2 frames