Help Center> Cloud Data Migration> FAQs> Troubleshooting> Hudi Destination Case Library> What Should I Do If a Job Stays in Running State but the Number of Written Rows Is 0?
Updated on 2023-02-06 GMT+08:00

What Should I Do If a Job Stays in Running State but the Number of Written Rows Is 0?

Troubleshooting

Open the log. If the last line of the log is as follows, concurrent resources of the cluster are exhausted, or the upper limit for the cluster memory usage has been reached. New jobs must wait in a queue.

submit task attempt_local1847334969_1748_m_000003_0, current waiting task number for job job_local1847334969_1748 is : 4

Possible Causes

  • The number of concurrent jobs allowed by the cluster has reached the upper limit.

    Contact SRE to view the CDM background log /var/log/cdm/local/framework.log and search for cluster running task. If the number of concurrent running jobs is the same as the number of available concurrent jobs, the number of concurrent jobs has reached the upper limit.

  • The cluster memory usage has reached the upper limit.

    Contact the SRE to view the CDM background log /var/log/cdm/local/framework.log and search for memory usage exceeds threshold. If the cluster keeps printing this log, the heap memory usage has exceeded 75%, which may result in out of memory (OOM).

Workaround

Adjust the number of concurrent jobs to ensure that it does not exceed the number of concurrent jobs allowed by the cluster. (It is recommended that the number of concurrent jobs allowed by the cluster be less than or equal to 46.) The number of concurrent jobs allowed by the cluster refers to the Maximum Concurrent Extractors parameter on the Settings page shown in the following figure.

Hudi Destination Case Library FAQs

more