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 2022/05/31 02:30:42 UTC

[GitHub] [hudi] eshu commented on issue #5719: [SUPPORT] Hudi 0.11.0 for Spark 3.1 build issues

eshu commented on issue #5719:
URL: https://github.com/apache/hudi/issues/5719#issuecomment-1141605686

   @xushiyan If I remove Spark 3 dependency, I have the error
   ```
   [info] - should write the empty dataset *** FAILED ***
   [info]   java.lang.ClassNotFoundException: Failed to find data source: hudi. Please find packages at http://spark.apache.org/third-party-projects.html
   [info]   at org.apache.spark.sql.execution.datasources.DataSource$.lookupDataSource(DataSource.scala:692)
   [info]   at org.apache.spark.sql.execution.datasources.DataSource$.lookupDataSourceV2(DataSource.scala:746)
   [info]   at org.apache.spark.sql.DataFrameWriter.lookupV2Provider(DataFrameWriter.scala:993)
   [info]   at org.apache.spark.sql.DataFrameWriter.saveInternal(DataFrameWriter.scala:311)
   [info]   at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:293)
   [info]   at jp.ne.paypay.daas.data.load.HudiLoad.jp$ne$paypay$daas$data$load$HudiLoad$$$anonfun$apply$4(HudiLoad.scala:106)
   [info]   at jp.ne.paypay.daas.data.load.HudiLoad$$anonfun$apply$6.apply(HudiLoad.scala:91)
   [info]   at jp.ne.paypay.daas.data.load.HudiLoad$$anonfun$apply$6.apply(HudiLoad.scala:91)
   [info]   at jp.ne.paypay.daas.data.load.HudiLoadTest.$anonfun$new$1(HudiLoadTest.scala:27)
   [info]   at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
   [info]   ...
   [info]   Cause: java.lang.ClassNotFoundException: hudi.DefaultSource
   [info]   at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
   [info]   at sbt.internal.ManagedClassLoader.findClass(ManagedClassLoader.java:102)
   [info]   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
   [info]   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
   [info]   at org.apache.spark.sql.execution.datasources.DataSource$.$anonfun$lookupDataSource$5(DataSource.scala:666)
   [info]   at scala.util.Try$.apply(Try.scala:213)
   [info]   at org.apache.spark.sql.execution.datasources.DataSource$.$anonfun$lookupDataSource$4(DataSource.scala:666)
   [info]   at scala.util.Failure.orElse(Try.scala:224)
   [info]   at org.apache.spark.sql.execution.datasources.DataSource$.lookupDataSource(DataSource.scala:666)
   [info]   at org.apache.spark.sql.execution.datasources.DataSource$.lookupDataSourceV2(DataSource.scala:746)
   [info]   ...
   ```
   
   Does it mean that Hudi does not support Spark 3 and supports obsolete versions only?


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org