Yang, Tong 6182f91ba8 MRS component operation guide_normal 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-09 14:55:21 +00:00

45 lines
4.4 KiB
HTML

<a name="mrs_01_2076"></a><a name="mrs_01_2076"></a>
<h1 class="topictitle1">Table Data Is Empty on the TezUI HiveQueries Page</h1>
<div id="body1594801618052"><div class="section" id="mrs_01_2076__s66e76ef6dd73479398655c776116bb7b"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2076__a162942e7b78a40e7a94c13433cbea0ef">A user logs in to Manager and switches to the Tez web UI page, but no data for the submitted task is displayed on the <strong id="mrs_01_2076__b18756144412210">Hive Queries</strong> page.</p>
</div>
<div class="section" id="mrs_01_2076__sa92aab5ff63e42d291e3b90f1d277e51"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_2076__a6c0d011832ce43738e5e1349d8253b18">To display task data on the <strong id="mrs_01_2076__b486775204210">Hive Queries</strong> page on the Tez web UI, you need to set the following parameters:</p>
<p id="mrs_01_2076__p9864547173210">On FusionInsight Manager, choose <span id="mrs_01_2076__text3710746172317"><strong id="mrs_01_2076__b27041246102318">Cluster</strong> &gt; </span><strong id="mrs_01_2076__b177122469232">Service </strong>&gt; <strong id="mrs_01_2076__b1713154612235">Hive </strong> and click the <strong id="mrs_01_2076__b271512466237">Configurations</strong> tab and then <strong id="mrs_01_2076__b1271654614231">All Configurations</strong>. In the navigation pane on the left, choose <strong id="mrs_01_2076__b1271844682320">HiveServer</strong> &gt; <strong id="mrs_01_2076__b117193462239">Customization</strong>. Add the following configuration to <strong id="mrs_01_2076__b7721346112314">hive-site.xml</strong>:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_2076__table12832164763211" frame="border" border="1" rules="all"><thead align="left"><tr id="mrs_01_2076__row16864947103218"><th align="left" class="cellrowborder" valign="top" width="36.3%" id="mcps1.3.2.4.1.3.1.1"><p id="mrs_01_2076__p586464717328">Attribute</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="63.7%" id="mcps1.3.2.4.1.3.1.2"><p id="mrs_01_2076__p78641847203213"><strong id="mrs_01_2076__b1864347103216">Attribute Value</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_2076__row8864947123214"><td class="cellrowborder" valign="top" width="36.3%" headers="mcps1.3.2.4.1.3.1.1 "><p id="mrs_01_2076__p886411474329">hive.exec.pre.hooks</p>
</td>
<td class="cellrowborder" valign="top" width="63.7%" headers="mcps1.3.2.4.1.3.1.2 "><p id="mrs_01_2076__p486424710329">org.apache.hadoop.hive.ql.hooks.ATSHook</p>
</td>
</tr>
<tr id="mrs_01_2076__row3864347123219"><td class="cellrowborder" valign="top" width="36.3%" headers="mcps1.3.2.4.1.3.1.1 "><p id="mrs_01_2076__p16864447173212">hive.exec.post.hooks</p>
</td>
<td class="cellrowborder" valign="top" width="63.7%" headers="mcps1.3.2.4.1.3.1.2 "><p id="mrs_01_2076__p586510474324">org.apache.hadoop.hive.ql.hooks.ATSHook</p>
</td>
</tr>
<tr id="mrs_01_2076__row6865184793211"><td class="cellrowborder" valign="top" width="36.3%" headers="mcps1.3.2.4.1.3.1.1 "><p id="mrs_01_2076__p786510478327">hive.exec.failure.hooks</p>
</td>
<td class="cellrowborder" valign="top" width="63.7%" headers="mcps1.3.2.4.1.3.1.2 "><p id="mrs_01_2076__p148651447133217">org.apache.hadoop.hive.ql.hooks.ATSHook</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="mrs_01_2076__note18386764172759"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_2076__p31263156172759">Data display on TezUI depends on the TimelineServer instance of Yarn. If the TimelineServer instance is faulty or not started, you need to set <strong id="mrs_01_2076__b1039358298112816">yarn.timeline-service.enabled</strong> to <strong id="mrs_01_2076__b885442494112816">false</strong> in <strong id="mrs_01_2076__b1217080006112816">yarn-site.xml</strong>. Otherwise, the Hive task fails to be executed.</p>
</div></div>
</div>
<p id="mrs_01_2076__p1328810389547">After you configure the parameters and re-execute the Hive task, data can be displayed on the <strong id="mrs_01_2076__b268491116">Hive Queries</strong> page. However, data of previous tasks cannot be displayed.</p>
<p id="mrs_01_2076__p763595817295"><span><img id="mrs_01_2076__image3951155911297" src="en-us_image_0000001387925652.png"></span></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_2072.html">Common Issues</a></div>
</div>
</div>