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>
74 lines
8.2 KiB
HTML
74 lines
8.2 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="body8662426"><div class="section" id="mrs_01_2076__en-us_topic_0000001173470698_s66e76ef6dd73479398655c776116bb7b"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2076__en-us_topic_0000001173470698_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__en-us_topic_0000001173470698_b18756144412210">Hive Queries</strong> page.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_2076__en-us_topic_0000001173470698_sa92aab5ff63e42d291e3b90f1d277e51"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_2076__en-us_topic_0000001173470698_a6c0d011832ce43738e5e1349d8253b18">To display Hive Queries task data on the Tez web UI, you need to set the following parameters:</p>
|
|
<p id="mrs_01_2076__en-us_topic_0000001173470698_p753210514323">On Manager, choose <span id="mrs_01_2076__en-us_topic_0000001173470698_text113361016145311"><strong id="mrs_01_2076__en-us_topic_0000001173470698_b130413820231">Cluster</strong> > </span><strong id="mrs_01_2076__en-us_topic_0000001173470698_b4865122402313">Services </strong>> <strong id="mrs_01_2076__en-us_topic_0000001173470698_b1769122610235">Hive </strong>> <strong id="mrs_01_2076__en-us_topic_0000001173470698_b1190516277239">Configurations</strong> > <strong id="mrs_01_2076__en-us_topic_0000001173470698_b1426553132311">All Configurations</strong> > <strong id="mrs_01_2076__en-us_topic_0000001173470698_b490883292317">Hive </strong>> <strong id="mrs_01_2076__en-us_topic_0000001173470698_b114661434102317">Customization</strong>. Add the following configuration to <strong id="mrs_01_2076__en-us_topic_0000001173470698_b19855154014233">yarn-site.xml</strong>:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_2076__en-us_topic_0000001173470698_table7494145143212" frame="border" border="1" rules="all"><thead align="left"><tr id="mrs_01_2076__en-us_topic_0000001173470698_row1353235153210"><th align="left" class="cellrowborder" valign="top" width="49.88%" id="mcps1.3.2.4.1.3.1.1"><p id="mrs_01_2076__en-us_topic_0000001173470698_p1953215515328">Attribute</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.12%" id="mcps1.3.2.4.1.3.1.2"><p id="mrs_01_2076__en-us_topic_0000001173470698_p125320503213"><strong id="mrs_01_2076__en-us_topic_0000001173470698_b35325543213">Attribute Value</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_2076__en-us_topic_0000001173470698_row135331856326"><td class="cellrowborder" valign="top" width="49.88%" headers="mcps1.3.2.4.1.3.1.1 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p65331658326">yarn.timeline-service.enabled</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.12%" headers="mcps1.3.2.4.1.3.1.2 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p12533175133211">true</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_2076__en-us_topic_0000001173470698_row55331754327"><td class="cellrowborder" valign="top" width="49.88%" headers="mcps1.3.2.4.1.3.1.1 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p753317516324">yarn.timeline-service.webapp.https.address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.12%" headers="mcps1.3.2.4.1.3.1.2 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p18533195173213">#{tl_hostname}:#{tl_https_port}</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_2076__en-us_topic_0000001173470698_row653313512328"><td class="cellrowborder" valign="top" width="49.88%" headers="mcps1.3.2.4.1.3.1.1 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p1053345113219">yarn.resourcemanager.system-metrics-publisher.enabled</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.12%" headers="mcps1.3.2.4.1.3.1.2 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p1533115133218">true</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_2076__en-us_topic_0000001173470698_row9533258329"><td class="cellrowborder" valign="top" width="49.88%" headers="mcps1.3.2.4.1.3.1.1 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p11533858328">yarn.timeline-service.generic-application-history.enabled</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.12%" headers="mcps1.3.2.4.1.3.1.2 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p85331256328">true</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="mrs_01_2076__en-us_topic_0000001173470698_p9864547173210">On Manager, choose <span id="mrs_01_2076__en-us_topic_0000001173470698_text3710746172317"><strong id="mrs_01_2076__en-us_topic_0000001173470698_b27041246102318">Cluster</strong> > </span><strong id="mrs_01_2076__en-us_topic_0000001173470698_b177122469232">Services </strong>> <strong id="mrs_01_2076__en-us_topic_0000001173470698_b1713154612235">Hive </strong>> <strong id="mrs_01_2076__en-us_topic_0000001173470698_b271512466237">Configurations</strong> > <strong id="mrs_01_2076__en-us_topic_0000001173470698_b1271654614231">All Configurations</strong> > <strong id="mrs_01_2076__en-us_topic_0000001173470698_b1271844682320">HiveServer</strong> > <strong id="mrs_01_2076__en-us_topic_0000001173470698_b117193462239">Customization</strong>. Add the following configuration to <strong id="mrs_01_2076__en-us_topic_0000001173470698_b7721346112314">hive-site.xml</strong>:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_2076__en-us_topic_0000001173470698_table12832164763211" frame="border" border="1" rules="all"><thead align="left"><tr id="mrs_01_2076__en-us_topic_0000001173470698_row16864947103218"><th align="left" class="cellrowborder" valign="top" width="36.3%" id="mcps1.3.2.6.1.3.1.1"><p id="mrs_01_2076__en-us_topic_0000001173470698_p586464717328">Attribute</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="63.7%" id="mcps1.3.2.6.1.3.1.2"><p id="mrs_01_2076__en-us_topic_0000001173470698_p78641847203213"><strong id="mrs_01_2076__en-us_topic_0000001173470698_b1864347103216">Attribute Value</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_2076__en-us_topic_0000001173470698_row8864947123214"><td class="cellrowborder" valign="top" width="36.3%" headers="mcps1.3.2.6.1.3.1.1 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p886411474329">hive.exec.pre.hooks</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.7%" headers="mcps1.3.2.6.1.3.1.2 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p486424710329">org.apache.hadoop.hive.ql.hooks.ATSHook</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_2076__en-us_topic_0000001173470698_row3864347123219"><td class="cellrowborder" valign="top" width="36.3%" headers="mcps1.3.2.6.1.3.1.1 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p16864447173212">hive.exec.post.hooks</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.7%" headers="mcps1.3.2.6.1.3.1.2 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p586510474324">org.apache.hadoop.hive.ql.hooks.ATSHook</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_2076__en-us_topic_0000001173470698_row6865184793211"><td class="cellrowborder" valign="top" width="36.3%" headers="mcps1.3.2.6.1.3.1.1 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p786510478327">hive.exec.failure.hooks</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.7%" headers="mcps1.3.2.6.1.3.1.2 "><p id="mrs_01_2076__en-us_topic_0000001173470698_p148651447133217">org.apache.hadoop.hive.ql.hooks.ATSHook</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="mrs_01_2076__en-us_topic_0000001173470698_note18386764172759"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_2076__en-us_topic_0000001173470698_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__en-us_topic_0000001173470698_b1039358298112816">yarn.timeline-service.enabled</strong> to <strong id="mrs_01_2076__en-us_topic_0000001173470698_b885442494112816">false</strong> in <strong id="mrs_01_2076__en-us_topic_0000001173470698_b1217080006112816">yarn-site.xml</strong>. Otherwise, the Hive task fails to be executed.</p>
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_2072.html">Common Issues</a></div>
|
|
</div>
|
|
</div>
|
|
|