Code Monkey home page Code Monkey logo

Comments (4)

lordk911 avatar lordk911 commented on July 4, 2024

I have an other :
scala> val tpcds = new TPCDS (sqlContext = sqlContext)
error: missing or invalid dependency detected while loading class file 'Benchmarkable.class'.
Could not access term typesafe in package com,
because it (or its dependencies) are missing. Check your build definition for
missing or conflicting dependencies. (Re-run with -Ylog-classpath to see the problematic classpath.)
A full rebuild may help if 'Benchmarkable.class' was compiled against an incompatible version of com.
error: missing or invalid dependency detected while loading class file 'Benchmarkable.class'.
Could not access term scalalogging in value com.typesafe,
because it (or its dependencies) are missing. Check your build definition for
missing or conflicting dependencies. (Re-run with -Ylog-classpath to see the problematic classpath.)
A full rebuild may help if 'Benchmarkable.class' was compiled against an incompatible version of com.typesafe.

from spark-sql-perf.

reshragh avatar reshragh commented on July 4, 2024

@nagavarunkumarkolla
Were you able to solve it?
@lordk911 Did you try using version 0.4.3? That helped solve the error for me.

from spark-sql-perf.

orcguru avatar orcguru commented on July 4, 2024

@lordk911 see the same problem as you did with master version, solved that by adding parameter "--packages com.typesafe.scala-logging:scala-logging-slf4j_2.10:2.1.2" to spark-shell

from spark-sql-perf.

manikantabandaru avatar manikantabandaru commented on July 4, 2024

@orcguru I followed as mentioned added packages com.typesafe.scala-logging:scala-logging-slf4j_2.10:2.1.2" and it worked as expected but while creating dataframe for results i am getting loader constraint violation: when resolving method "org.apache.spark.sql.SQLContext.createDataFrame(Lscala/collection/Seq;Lscala/reflect/api/TypeTags$TypeTag;)Lorg/apache/spark/sql/Dataset;" the class loader (instance of org/apache/spark/util/ChildFirstURLClassLoader) of the current class, com/databricks/spark/sql/perf/Benchmark$ExperimentStatus, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for the method's defining class, org/apache/spark/sql/SQLContext, have different Class objects for the type scala/reflect/api/TypeTags$TypeTag used in the signature

Please help me how to resolve ?
I changed the scope of dependency to provide still didn't help

from spark-sql-perf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.