跳至内容

Upgrade AWS Glue to use Hudi 0.14

0

AWS Glue 4.0 support Apache Hudi 0.12.1 version. What steps can I follow to upgrade the version of Hudi to 0.14 in AWS Glue 4.0

AWS
已提问 2 年前677 查看次数
2 回答
1

To upgrade AWS Glue 4.0 to use Hudi 0.14 follow the below steps

  1. Download the Spark Bundle jar for Hudi 0.14 - hudi-spark3.3-bundle_2.12-0.14.0.jar (you can download this from Maven repository
  2. Download Spark Avro JAR - spark-avro_2.13-3.3.0.jar (you can download this from Maven repository
  3. Upload the Jars to a S3 bucket.
  4. Go to the AWS Glue job, select a ETL Job and then go to Job Details
  5. Under Advanced Properties -> Libraries > Dependent JARs path box - enter the S3 URI to both the JARs , comma separated. e.g (s3://<bucket_name>/hudi/hudi-0.14-jars/hudi-spark3.3-bundle_2.12-0.14.0.jar,s3://<bucket>/ja_hudi/hudi-0.14-jars/spark-avro_2.13-3.3.0.jar)
  6. Under Job parameters , add a Key --extra-jars and Value as S3 URI to both the JARs , comma separated (same as the step above)
  7. (Optional) : If under Job Parameters, the job already has a Key --datalake-formats and value hudi, remove this property, since it will conflict with the HUDI jar that you are passing explicitly under Library section.
AWS
已回答 2 年前
AWS
支持工程师
已审核 2 年前
0

Hi,

You can follow the guidance of this very detailled video to upgrade Hudi's version: https://www.youtube.com/watch?v=HJ6QQN408AE

Best,

Didier

专家
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。