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 2020/08/01 00:08:29 UTC
[GitHub] [hudi] FelixKJose commented on issue #1875: EMR + Spark Batch job + HUDI + Hive external Metastore (MySQL RDS Instance) failed with No Suitable Driver
FelixKJose commented on issue #1875:
URL: https://github.com/apache/hudi/issues/1875#issuecomment-667433436
I have got this issue resolved.
**Solution:**
Issue was that the JDBC connector/driver jar was missing in Spark Classpath of the EMR master node. Even though EMR documentation says that MySQL driver is already present in the cluster, its under /usr/share/java/ folder but not under /usr/lib/spark/jars.
So to resolve this issue you have to copy the connector jar to spark class path as follows:
`sudo cp /usr/share/java/mariadb-connector-java.jar /usr/lib/spark/jars`
----------------------------------------------------------------
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