-
Notifications
You must be signed in to change notification settings - Fork 113
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
"main" java.lang.NoSuchMethodError: org.apache.spark.rdd.ShuffledRDD #16
Comments
name := "SparkKnn" version := "1.0" scalaVersion := "2.10.5" libraryDependencies ++= Seq( spDependencies += "saurfang/spark-knn:0.1.0" sparkComponents +="mllib" sparkVersion := "1.6.0" my sbt configuration |
object SparkKnn { def main(args:Array[String]) :Unit={
} def configure(appName: String = "Sparkling Water Demo"): SparkConf = { |
till show it is working fine it may be version issue but which version shall I use I checked in project folder 1.6.0 spark-core dependency is being used so i changed it to 1.6.0 but still iam getting same issue |
with spark submit jar option it is working fine |
whenever i try to run KNN regression using direct main method I am getting this error "main" java.lang.NoSuchMethodError: org.apache.spark.rdd.ShuffledRDD but when I try to run text cases it is working fine.as I read different articles i m getting most of suggestion as different versions but i tried by adding main class in
actual code itself after cloning
The text was updated successfully, but these errors were encountered: