JohnEngelhart commented on issue #2498:
URL: https://github.com/apache/hudi/issues/2498#issuecomment-969228521


   My team was running into this issue. We are running EMR 6.4. Spark 3.1.2. 
Hudi 0.8.0. We eventually found that you need to provide the EMR dependencies 
in your spark submit/shell/notebook. Amazon makes their own slightly modified 
version of Spark/Hudi etc. So in your POM set spark hudi bundle, spark avro, 
spark core, spark sql all to provided. EMR does not include hudi/avro natively 
on their classpath though. So you need to include them in your --jars config 
noted here: 
https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-hudi-work-with-dataset.html
   
   Hopefully it saves someone the trouble that my team went through.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to