跳至內容

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 年前檢視次數 675 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。