apache / apache/hudi

[SUPPORT] Metadata compaction periodically fails/hangs

Open
#12,261 5 comments 0 reactions 0 assignees View on GitHub
area:metadata-table priority:critical
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

**Describe the problem you faced**

Hi Hudi community, I have a glue job that is ingesting data to a Hudi MOR table. However, this job periodically failed in the below stage
image
image
image

Could you help to investigate this issue? I have went through [this issue](https://github.com/apache/hudi/issues/8567), but doesn't seem like the same issue. When I deleted the requested/inflight deltacommit, also tried to increase resources, the errors still persisted. Thanks!

**Environment Description**

* Hudi version : 0.13.1

* Spark version : 3.1

* Storage (HDFS/S3/GCS..) : S3

**Additional context**

Add any other context about the problem here.

**Stacktrace**

```
Exception in User Class: jp.ne.paypay.daas.data.exceptions.JobFatalError : Streaming batch load failed with error: Could not compact s3://pay2-datalake-prod-standard/datasets/bronze/payment-accounting-db1-20241010-aurora-prod/payment_accounting/sub_payments_accounting-1761348391

Job aborted due to stage failure: Task 169 in stage 87.0 failed 4 times, most recent failure: Lost task 169.3 in stage 87.0 (TID 21675) (10.12.56.40 executor 13): ExecutorLostFailure (executor 13 exited caused by one of the running tasks) Reason: Executor heartbeat timed out after 508519 ms
--

```

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are named. Begin by reviewing the Hudi 0.13.1 metadata-compaction failure in the reported Glue/Spark 3.1 on S3 setup and the executor-heartbeat stack trace; done means identifying a reproducible cause or confirming the diagnostic details needed for one.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, spark
Domain
cloud, data-engineering, stream-processing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.