Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoSuchMethodError on Spark 3.1 in Databricks #202

Open
mithun1979 opened this issue Apr 30, 2021 · 1 comment
Open

NoSuchMethodError on Spark 3.1 in Databricks #202

mithun1979 opened this issue Apr 30, 2021 · 1 comment

Comments

@mithun1979
Copy link

mithun1979 commented Apr 30, 2021

Hi,
We are trying to run TPC-DS queries on spark-sql-perf on Spark 3.1.
We tried in Databricks runtimes 7.3 LTS and 8.1.
We are using the JAR - spark-sql-perf_2.12-0.5.1-SNAPSHOT.jar
We are getting the following error:

java.lang.NoSuchMethodError: org.apache.spark.sql.catalyst.analysis.UnresolvedRelation.tableIdentifier()Lorg/apache/spark/sql/catalyst/TableIdentifier;
logs.txt

Please find the detailed logs attached.
Would you be able to help with guidance on this issue.

Thanks and Regards
Saurav Chakraborty

@mithun1979
Copy link
Author

Just wanted to mention that we are running the following code. Its runs fine of Databricks runtion 5.5 LTS (Spark 2.4) with the JAR spark-sql-perf_2.11-0.5.1-SNAPSHOT.jar.

import com.databricks.spark.sql.perf.tpcds.TPCDS

val tpcds = new TPCDS (sqlContext = sqlContext)
def queries = {
val filtered_queries = query_filter match {
case Seq() => tpcds.tpcds2_4Queries
case _ => tpcds.tpcds2_4Queries.filter(q => query_filter.contains(q.name))
}
if (randomizeQueries) scala.util.Random.shuffle(filtered_queries) else filtered_queries
}

val experiment = tpcds.runExperiment(
queries,
iterations = iterations,
resultLocation = resultLocation,
forkThread = true)

println(experiment.toString)
experiment.waitForFinish(timeout6060)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant