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

23 lines
3.5 KiB
HTML

<a name="mrs_01_0135"></a><a name="mrs_01_0135"></a>
<h1 class="topictitle1">Using the Metadata Browser on the Hue Web UI</h1>
<div id="body1598413141179"><div class="section" id="mrs_01_0135__s005f823b53fb448aa190d542f069040f"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0135__p119731828181320">Users can use the Hue web UI to manage Hive metadata in an MRS cluster.</p>
</div>
<div class="section" id="mrs_01_0135__sd71c303869ac441398c55ef7b5ccf200"><h4 class="sectiontitle">Using Metadata Manager</h4><p id="mrs_01_0135__p1295134953817">Access the Hue web UI. For details, see <a href="mrs_01_0132.html">Accessing the Hue Web UI</a>.</p>
<ul id="mrs_01_0135__u6e49bf15e77b46d8b6e6280902d75119"><li id="mrs_01_0135__le04aa16f50d044ad9529de5c94b3d2b0">Viewing metadata of Hive tables<p id="mrs_01_0135__a64364b5dcfed448983d871e881eeb634"><a name="mrs_01_0135__le04aa16f50d044ad9529de5c94b3d2b0"></a><a name="le04aa16f50d044ad9529de5c94b3d2b0"></a>Click <span><img id="mrs_01_0135__image414013237133" src="en-us_image_0000001295930724.png"></span> in the navigation tree on the left and click a table name. The metadata of the Hive table is displayed.</p>
</li><li id="mrs_01_0135__l382b3c11a3354a369f9e9292d0d45d00">Managing metadata of Hive tables<p id="mrs_01_0135__p311263742717"><a name="mrs_01_0135__l382b3c11a3354a369f9e9292d0d45d00"></a><a name="l382b3c11a3354a369f9e9292d0d45d00"></a>On the metadata information page of a Hive table:</p>
<ul id="mrs_01_0135__ul11920125062719"><li id="mrs_01_0135__li726413588272">Click <strong id="mrs_01_0135__b452111142182">Import</strong> in the upper right corner to import data.</li><li id="mrs_01_0135__li13714647112719">Click <span class="uicontrol" id="mrs_01_0135__uicontrol18515191262819"><b>Overview</b></span> to view the location of the table file in the <strong id="mrs_01_0135__b5464131507">PROPERTIES</strong> field.<p id="mrs_01_0135__p103071745204710">View the field information of each column in a Hive table and manually add description information. Note that the added description information is not the field comments in the Hive table.</p>
</li><li id="mrs_01_0135__li11472828286">Click <span class="uicontrol" id="mrs_01_0135__uicontrol44738212813"><b>Sample</b></span> to browse data.</li></ul>
</li><li id="mrs_01_0135__lace0c3ea8a674b31a306d25ee0a5dac6">Managing Hive metadata tables<p id="mrs_01_0135__a9670c1752c67416fa36f4ae1ef20bfcf"><a name="mrs_01_0135__lace0c3ea8a674b31a306d25ee0a5dac6"></a><a name="lace0c3ea8a674b31a306d25ee0a5dac6"></a>Click <span><img id="mrs_01_0135__image233915172914" src="en-us_image_0000001295770764.png"></span> in the left list to create a table based on the uploaded file in the database. You can also manually create a table.</p>
</li></ul>
<div class="caution" id="mrs_01_0135__note2228538205219"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="mrs_01_0135__en-us_topic_0264266662_p02781117181714">The Hue page is used to view and analyze data such as files and tables. Do not perform high-risk management operations such as deleting objects on the page. If an operation is required, you are advised to perform the operation on each component after confirming that the operation has no impact on services. For example, you can use the HDFS client to perform operations on HDFS files and use the Hive client to perform operations on Hive tables.</p>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0130.html">Using Hue (MRS 3.x or Later)</a></div>
</div>
</div>