You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/09/17 10:17:52 UTC

[GitHub] [incubator-hudi] firecast commented on issue #894: Getting java.lang.NoSuchMethodError while doing Hive sync

firecast commented on issue #894: Getting java.lang.NoSuchMethodError while doing Hive sync
URL: https://github.com/apache/incubator-hudi/issues/894#issuecomment-532158394
 
 
   Will test that @vinothchandar and let you know. Just to put the whole setup I'm using into context, I am using IntelliJ IDEA to run the spark job locally. Here is a part of my build configuration. Am I supposed to add hudi-hive jars separately?
   
   ```sbt
   scalaVersion := "2.11.12"
   val sparkVersion = "2.4.3"
   
   libraryDependencies ++= Seq(
       "org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided",
   
       "org.apache.spark" %% "spark-core" % sparkVersion % "provided",
       "org.apache.spark" %% "spark-sql" % sparkVersion % "provided",
       "org.apache.spark" %% "spark-hive" % sparkVersion % "provided",
   
       "org.apache.spark" %% "spark-sql-kafka-0-10" % sparkVersion % "provided",
   
       "com.databricks" %% "spark-avro" % "4.0.0",
   
       "org.apache.hadoop" % "hadoop-aws" % "2.8.5",
       "com.amazonaws" % "aws-java-sdk-s3" % "1.11.631",
       // Add azure
   
       "com.facebook.presto" % "presto-jdbc" % "0.221",
       "io.spray" %% "spray-json" % "1.3.4",
       "io.minio" % "minio" % "6.0.11",
   
       "com.apache.hudi" % "hudi-spark-bundle" % "0.5.0-incubating-rc1" from "file:///Users/xxx/Documents/incubator-hudi/packaging/hudi-spark-bundle/target/hudi-spark-bundle-0.5.0-incubating-rc1.jar"
   
   )
   
   dependencyOverrides ++= Seq(
       "com.fasterxml.jackson.core" % "jackson-databind" % "2.6.7",
       "org.slf4j" % "slf4j-log4j12" % "1.7.28" % Test
   )
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services