forked from docs/doc-exports
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>
19 lines
2.4 KiB
HTML
19 lines
2.4 KiB
HTML
<a name="mrs_01_1791"></a><a name="mrs_01_1791"></a>
|
|
|
|
<h1 class="topictitle1">Why the Client Hangs During Job Running?</h1>
|
|
<div id="body1596092470014"><div class="section" id="mrs_01_1791__s5f973c4b8fac447abb56874f71396e8f"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1791__a47280ba9ac954fcda1727d50a37612ca">Why is the client unavailable when the MR ApplicationMaster or ResourceManager is moved to the D state during job running?</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1791__s363247df9a624c81a48a6fb0e3933cc6"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_1791__a0e415b31ce6f4da7b22be8fa0ddea8e5">When a task is running, the MR ApplicationMaster or ResourceManager is moved to D state (uninterrupted sleep state) or T state (stopped state). The client waits to return the task running state, but the MR ApplicationMaster does not return. Therefore, the client remains in the waiting state.</p>
|
|
<p id="mrs_01_1791__ad24fc686b00746ab93de09ff40688e35">To avoid the preceding scenario, use the <span class="parmname" id="mrs_01_1791__p85db523562734a3984c0d0430a564cdc"><b>ipc.client.rpc.timeout</b></span> configuration item in the <strong id="mrs_01_1791__b203687242551410">core-site.xml</strong> file to set the client timeout interval.</p>
|
|
<p id="mrs_01_1791__a15f5c1aedee8419e95ea25084d1776fa">The value of this parameter is millisecond. The default value is <strong id="mrs_01_1791__b203241440751410">0</strong>, indicating that no timeout occurs. The client timeout interval ranges from 0 ms to 2,147,483,647 ms.</p>
|
|
<div class="note" id="mrs_01_1791__n42da86e6ea7f4c90bc2e0a06f3c1a21d"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="mrs_01_1791__ul124451164449"><li id="mrs_01_1791__li1068621994420">If the Hadoop process is in the D state, restart the node where the process is located.</li><li id="mrs_01_1791__li1444519166441">The <strong id="mrs_01_1791__b49089036651410">core-site.xml</strong> configuration file is stored in the <strong id="mrs_01_1791__b159804820551410">conf</strong> directory of the client installation path, for example, <strong id="mrs_01_1791__b111488611951410">/opt/hadoopClient/Yarn/config</strong>.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1788.html">Common Issues About MapReduce</a></div>
|
|
</div>
|
|
</div>
|
|
|