Files
doc-exports/docs/mrs/umn/mrs_03_1237.html
Yang, Tong 3b1f73dece MRS UMN 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-13 12:03:34 +00:00

18 lines
2.0 KiB
HTML

<a name="mrs_03_1237"></a><a name="mrs_03_1237"></a>
<h1 class="topictitle1">How Do I Do If the Error Message "slot request timeout" Is Displayed When I Submit a Flink Job?</h1>
<div id="body0000001322012013"><div class="section" id="mrs_03_1237__section1703205311210"><h4 class="sectiontitle">Symptom</h4><p id="mrs_03_1237__p13569114218300">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:</p>
<pre class="screen" id="mrs_03_1237__screen139614317516">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</pre>
</div>
<div class="section" id="mrs_03_1237__section5415127185215"><h4 class="sectiontitle">Possible Causes</h4><ol id="mrs_03_1237__ol11416674527"><li id="mrs_03_1237__li16416127135212">The resources in the YARN queue are insufficient. As a result, TaskManager fails to start.</li><li id="mrs_03_1237__li131913185418">Your JAR files conflict with those in the environment. You can execute the WordCount program to determine whether the issue occurs.</li><li id="mrs_03_1237__li16416127205211">If the cluster is in security mode, the SSL certificate of Flink may be incorrectly configured or has expired.</li></ol>
</div>
<div class="section" id="mrs_03_1237__section145271827122111"><h4 class="sectiontitle">Solution</h4><ol id="mrs_03_1237__ol11588173219315"><li id="mrs_03_1237__li158983213311">Add resources to the YARN queue.</li><li id="mrs_03_1237__li823094183315">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.</li><li id="mrs_03_1237__li13741842143116">Reconfigure the SSL certificate of Flink..</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_03_2009.html">Job Development</a></div>
</div>
</div>