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

29 lines
6.9 KiB
HTML

<a name="mrs_01_0132"></a><a name="mrs_01_0132"></a>
<h1 class="topictitle1">Accessing the Hue Web UI</h1>
<div id="body1598413135022"><div class="section" id="mrs_01_0132__sf9c6b6827b7145b081eff31b193282f3"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0132__p1476113815193">After Hue is installed in an MRS cluster, users can use Hadoop-related components on the Hue web UI.</p>
<p id="mrs_01_0132__a8b75505cc4bb41ccbc44feeac454dd22">This section describes how to open the Hue web UI on the MRS cluster.</p>
<div class="note" id="mrs_01_0132__n9a9623a1d07245bf96f019e55b76958c"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_0132__p187461153174110">To access the Hue web UI, you are advised to use a browser that is compatible with the Hue WebUI, for example, Google Chrome 50. The Internet Explorer may be incompatible with the Hue web UI. </p>
</div></div>
</div>
<div class="section" id="mrs_01_0132__s061d5c51119b4146b96b91a0495a5042"><h4 class="sectiontitle">Impact on the System</h4><p id="mrs_01_0132__aea4879b8bd36469792d5968c82656a54">Site trust must be added to the browser when you access Manager and Hue web UI for the first time. Otherwise, the Hue web UI cannot be accessed.</p>
</div>
<div class="section" id="mrs_01_0132__sbffe2dde8108458fa04cafc49371a793"><h4 class="sectiontitle">Prerequisites</h4><p id="mrs_01_0132__aa17a01c53c86450fb84ea031ebf787a0">When Kerberos authentication is enabled, the MRS cluster administrator has assigned the permission for using Hive to the user. For details, see <a href="https://docs.otc.t-systems.com/usermanual/mrs/mrs_01_0345.html" target="_blank" rel="noopener noreferrer">Creating a User</a>. For example, create a human-machine user named <span class="parmname" id="mrs_01_0132__parmname70678761062"><b>hueuser</b></span>, add the user to user groups <span class="parmname" id="mrs_01_0132__parmname1022471610628"><b>hive</b></span> (the primary group), <span class="parmname" id="mrs_01_0132__parmname72121032195920"><b>hadoop</b></span>, <span class="parmname" id="mrs_01_0132__parmname4182955185920"><b>supergroup</b></span>, and <span class="parmname" id="mrs_01_0132__parmname1113327910648"><b>System_administrator</b></span>, and assign the <span class="parmname" id="mrs_01_0132__parmname1923373608113524"><b>System_administrator</b></span> role.</p>
<p id="mrs_01_0132__p762710300410">This user is used to log in to Manager.</p>
</div>
<div class="section" id="mrs_01_0132__s03aabc6eef834965add62eb571753d1d"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_0132__o7d774762b9d54bea99a7f2a2e2cc825c"><li id="mrs_01_0132__li777313202051"><span>Log in to the service page.</span><p><p id="mrs_01_0132__p553210391663">For versions earlier than MRS 3.<em id="mrs_01_0132__i5706741111217">x</em>, click the cluster name on the MRS console and choose <strong id="mrs_01_0132__b1787841961218">Components</strong> &gt; <strong id="mrs_01_0132__b1487911941216">Hue</strong>.</p>
<p id="mrs_01_0132__p78911254388">For MRS 3.<em id="mrs_01_0132__i3517742144314">x</em> or later, log in to FusionInsight Manager (for details, see <a href="mrs_01_2124.html">Accessing FusionInsight Manager (MRS 3.x or Later)</a>) and choose <strong id="mrs_01_0132__b125173423439">Cluster </strong>&gt; <strong id="mrs_01_0132__b65172426430">Services</strong> &gt; <strong id="mrs_01_0132__b0236729101114">Hue</strong>.</p>
</p></li><li id="mrs_01_0132__le46c25d15b43451995993a826e4450f3"><span>On the right of <span class="parmname" id="mrs_01_0132__p240f342d25624908b5c4740fb5dee8ca"><b>Hue WebUI</b></span>, click the link to open the Hue web UI.</span><p><p id="mrs_01_0132__a6e6f8d340c0843ba9a4358a348bed145">Hue WebUI provides the following functions: </p>
<ul id="mrs_01_0132__ub8a6bff9cccb410198dbae71891f203b"><li id="mrs_01_0132__led3cd4e6e9614e28a5b0cf2d7288b472">Click <span><img id="mrs_01_0132__image188071542102916" src="en-us_image_0000001296250156.png"></span> to execute query statements of Hive and SparkSQL as well as Notebook code. Make sure that Hive and Spark2x have been installed in the MRS cluster before this operation.</li><li id="mrs_01_0132__li2514132683110">Click <span><img id="mrs_01_0132__image16662411194712" src="en-us_image_0000001349289833.png"></span> to submit workflow tasks, scheduled tasks, and bundle tasks.</li><li id="mrs_01_0132__li86273094816">Click <span><img id="mrs_01_0132__image882011164818" src="en-us_image_0000001349090353.png"></span> to view, import, and export tasks on the Hue web UI, such as workflow tasks, scheduled tasks, and bundle tasks.</li><li id="mrs_01_0132__l2b1c1bf077a7496097659b1607ccf51c">Click <span><img id="mrs_01_0132__image565191310408" src="en-us_image_0000001295770724.png"></span> to manage metadata in Hive and SparkSQL. Make sure that Hive and Spark2x have been installed in the MRS cluster before this operation.</li><li id="mrs_01_0132__l00ee4f478ccd4157b9fac1e98c77682f">Click <span><img id="mrs_01_0132__image102738913011" src="en-us_image_0000001349289837.png"></span> to view the directories and files in HDFS. Make sure that HDFS has been installed in the MRS cluster before this operation.</li><li id="mrs_01_0132__l964cb94b1a734ba4994ed59a55cb16cd">Click <span><img id="mrs_01_0132__image1575413172411" src="en-us_image_0000001295930684.png"></span> to view all jobs in the MRS cluster. Make sure that Yarn has been installed in the MRS cluster before this operation.</li><li id="mrs_01_0132__li109041046104911">Use <span><img id="mrs_01_0132__image1594416192506" src="en-us_image_0000001349170249.png"></span> to create or query HBase tables. Make sure that the HBase component has been installed in the MRS cluster and the Thrift1Server instance has been added before this operation.</li><li id="mrs_01_0132__li93330200521">Use <span><img id="mrs_01_0132__image747115561534" src="en-us_image_0000001348770541.png"></span> to import data that is in the CSV or TXT format.</li></ul>
<div class="note" id="mrs_01_0132__n8c6a7fdfc3f8429699775f81391711e3"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="mrs_01_0132__u3b23c85f608d4895b353c3feb1a821d5"><li id="mrs_01_0132__li114815483390">When you log in to the Hue web UI as user <strong id="mrs_01_0132__b870968122113524">hueuser</strong> for the first time, you need to change the password.</li><li id="mrs_01_0132__le1765bb475c8459b8df87a63b4dabcd0">After obtaining the URL for accessing the Hue web UI, you can give the URL to other users who cannot access MRS Manager for accessing the Hue web UI. </li><li id="mrs_01_0132__l975aee584d3b49f1acf6d12938c06801">If you perform operations on the Hue WebUI only but not on Manager, you must enter the password of the current login user when accessing Manager again.</li></ul>
</div></div>
</p></li></ol>
</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>