Help Center/ MapReduce Service/ FAQs/ Job Management/ What Should I Do If the Error Message "slot request timeout" Is Displayed When I Submit a Flink Job?
Updated on 2025-10-23 GMT+08:00
What Should I Do If the Error Message "slot request timeout" Is Displayed When I Submit a Flink Job?
Symptom
When a Flink job is submitted, JobManager is started successfully. However, TaskManager remains in the starting state until timeout. The following error information is displayed:
org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException: Could not allocate the required slot within slot request timeout. Please make sure that the cluster has enough resources
Possible Causes
- The resources in the YARN queue are insufficient. As a result, TaskManager fails to start.
- Your JAR files conflict with those in the environment. You can execute the WordCount program to determine whether the issue occurs.
- If the cluster is in security mode, the SSL certificate of Flink may be incorrectly configured or has expired.
Solution
- Add resources to the YARN queue.
- Exclude the Flink and Hadoop dependencies in your JAR files so that Flink and Hadoop can depend only on the JAR files in the environment.
- Reconfigure the SSL certificate of Flink..
Parent topic: Job Management
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.