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>
85 lines
8.2 KiB
HTML
85 lines
8.2 KiB
HTML
<a name="ALM-16045"></a><a name="ALM-16045"></a>
|
|
|
|
<h1 class="topictitle1">ALM-16045 Hive Data Warehouse Is Deleted</h1>
|
|
<div id="body1546480527717"><div class="section" id="ALM-16045__section27621550"><h4 class="sectiontitle">Description</h4><p id="ALM-16045__p1519816401189">The system checks the Hive data warehouse in every 60 seconds.This alarm is generated when the Hive data warehouse is deleted.</p>
|
|
</div>
|
|
<div class="section" id="ALM-16045__section47267361"><h4 class="sectiontitle">Attribute</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-16045__table4510519" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-16045__row13556155"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.1"><p id="ALM-16045__p24306760">Alarm ID</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.2"><p id="ALM-16045__p22690525">Alarm Severity</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.3"><p id="ALM-16045__p25993251">Auto Clear</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ALM-16045__row25078593"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.1 "><p id="ALM-16045__p18100192">16045</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.2 "><p id="ALM-16045__p556012016103">Critical</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.3 "><p id="ALM-16045__p39785152">Yes</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ALM-16045__section22753069"><h4 class="sectiontitle">Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-16045__table1371856" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-16045__row6362194"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.1"><p id="ALM-16045__p45575691">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.2"><p id="ALM-16045__en-us_topic_0070585193_p57841085">Meaning</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ALM-16045__row122761532102420"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-16045__p192431315431">Source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-16045__p692551319435">Specifies the cluster for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-16045__row52122619"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-16045__p61182593">ServiceName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-16045__p1062616177113">Specifies the service for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-16045__row41825285"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-16045__p32404954">RoleName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-16045__p819482611119">Specifies the role for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-16045__row891897"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-16045__p5134838">HostName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-16045__p1385817435110">Specifies the host for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ALM-16045__section3451036"><h4 class="sectiontitle">Impact on the System</h4><p id="ALM-16045__p15942237877">The default Hive data warehouse is deleted. As a result, creating databases or tables in the default data warehouse fails, and services are affected.</p>
|
|
</div>
|
|
<div class="section" id="ALM-16045__section31059325"><h4 class="sectiontitle">Possible Causes</h4><p id="ALM-16045__p13451647976">Hive periodically checks the status of the default data warehouse and finds that the default data warehouse is deleted.</p>
|
|
</div>
|
|
<div class="section" id="ALM-16045__section91416156914"><h4 class="sectiontitle">Procedure</h4><p class="tableheading" id="ALM-16045__p13244096"><strong id="ALM-16045__b96057151981">Check the default Hive data warehouse.</strong></p>
|
|
<ol id="ALM-16045__ol53293544164023"><li id="ALM-16045__li1176410259154"><span>Log in to the node where the client is located as user <strong id="ALM-16045__b5336424688">root</strong>. <span id="ALM-16045__text15591755181513"></span></span></li></ol><ol start="2" id="ALM-16045__ol9827234164043"><li id="ALM-16045__li102971124025"><span>Run the following command to check whether the <strong id="ALM-16045__b129401048502">warehouse</strong> directory exists in <strong id="ALM-16045__b16271059171518">hdfs://hacluster/user/</strong><em id="ALM-16045__i1255264617210"><username></em><strong id="ALM-16045__b1827135916157">/.Trash/Current/</strong>.</span><p><p id="ALM-16045__p58370342210"><strong id="ALM-16045__b18186102019517">hdfs dfs -ls </strong><strong id="ALM-16045__b11361152411519">hdfs://hacluster/user/</strong><em id="ALM-16045__i1936162415515"><username></em><strong id="ALM-16045__b14188192018512">/.Trash/Current/</strong></p>
|
|
<div class="p" id="ALM-16045__p175744717616">For example, if <strong id="ALM-16045__b1331455562">user/hive/warehouse</strong> exists:<pre class="screen" id="ALM-16045__screen13223174519512">host01:<span id="ALM-16045__ph381512063917">/opt/client</span> # hdfs dfs -ls hdfs://hacluster/user/test/.Trash/Current/
|
|
Found 1 items
|
|
drwx------ - test hadoop 0 2019-06-17 19:53 hdfs://hacluster/user/test/.Trash/Current/user</pre>
|
|
<ul id="ALM-16045__ul1163418321120"><li id="ALM-16045__li1163413321224">If yes, go to <a href="#ALM-16045__li260541320316">3</a>.</li><li id="ALM-16045__li10634133216212">If no, go to <a href="#ALM-16045__li185241657121312">5</a>.</li></ul>
|
|
</div>
|
|
</p></li></ol><ol start="3" id="ALM-16045__ol47041629114617"><li id="ALM-16045__li260541320316"><a name="ALM-16045__li260541320316"></a><a name="li260541320316"></a><span>By default, there is an automatic recovery mechanism for the data warehouse. You can wait for 5 ~10s to check whether the default data warehouse is restored. If the data warehouse is not recovered, manually run the following command to restore the data warehouse.</span><p><p id="ALM-16045__p0132171420313"><strong id="ALM-16045__b43776241535">hdfs dfs -mv hdfs://hacluster/user/</strong><em id="ALM-16045__i17378152414316"><username></em><strong id="ALM-16045__b1377124530">/.Trash/Current/user/hive/warehouse /user/hive/warehouse</strong></p>
|
|
</p></li><li id="ALM-16045__li47041829144611"><span>Check whether the alarm is cleared.</span><p><ul id="ALM-16045__ul25471558194114"><li id="ALM-16045__li11886215423">If yes, no further action is required.</li><li id="ALM-16045__li754725814115">If no, go to <a href="#ALM-16045__li185241657121312">5</a>.</li></ul>
|
|
</p></li></ol>
|
|
<p class="tableheading" id="ALM-16045__p8967395164010"><strong id="ALM-16045__b7911152694314">Collect fault information</strong>.</p>
|
|
<ol start="5" id="ALM-16045__ol19524157201318"><li id="ALM-16045__li185241657121312"><a name="ALM-16045__li185241657121312"></a><a name="li185241657121312"></a><span>Collect related information in the <strong id="ALM-16045__b2268135264211">.Trash/Current/</strong> directory on the client background.</span></li><li id="ALM-16045__li10524105715137"><span>Contact the <span id="ALM-16045__text4614151421417">O&M personnel</span> and send the collected logs.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="ALM-16045__section1529716184534"><h4 class="sectiontitle">Alarm Clearing</h4><p id="ALM-16045__p4677152685316">After the fault is rectified, the system automatically clears this alarm.</p>
|
|
</div>
|
|
<div class="section" id="ALM-16045__section56407894"><h4 class="sectiontitle">Related Information</h4><p id="ALM-16045__en-us_topic_0070543661_p14153363">None</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1298.html">Alarm Reference (Applicable to MRS 3.x)</a></div>
|
|
</div>
|
|
</div>
|
|
|