Yang, Tong 3f5759eed2 MRS comp-lts 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>
2023-01-19 17:08:45 +00:00

20 lines
3.1 KiB
HTML

<a name="mrs_01_0957"></a><a name="mrs_01_0957"></a>
<h1 class="topictitle1">Configuring HTTPS/HTTP-based REST APIs</h1>
<div id="body8662426"><div class="section" id="mrs_01_0957__en-us_topic_0000001173471152_se0620a962b7e44959c86a0551b2ab2da"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0957__en-us_topic_0000001173471152_ac37bfd0edce648bb94b079668a096bba">WebHCat provides external REST APIs for Hive. By default, the open-source community version uses the HTTP protocol.</p>
<p id="mrs_01_0957__en-us_topic_0000001173471152_a9046ca7680bd46c4a8085ede3020b725">MRS Hive supports the HTTPS protocol that is more secure, and enables switchover between the HTTP protocol and the HTTPS protocol.</p>
<div class="note" id="mrs_01_0957__en-us_topic_0000001173471152_n1e93de1fc0144a449365477e6969d46c"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="mrs_01_0957__en-us_topic_0000001173471152_abb15eedd50204754bed847aca9d751f3">The security mode supports HTTPS and HTTP, and the common mode supports only HTTP.</p>
</div></div>
</div>
<div class="section" id="mrs_01_0957__en-us_topic_0000001173471152_scd21d73bcc874c78bd58972052b25a70"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_0957__en-us_topic_0000001173471152_ol181811550174911"><li id="mrs_01_0957__en-us_topic_0000001173471152_li777313202051"><span>The Hive service configuration page is displayed.</span><p><p id="mrs_01_0957__p669912154017">Log in to FusionInsight Manager. For details, see <a href="mrs_01_2124.html">Accessing FusionInsight Manager</a>. And choose <strong id="mrs_01_0957__en-us_topic_0000001173471152_b2092851262411">Cluster</strong> &gt; <em id="mrs_01_0957__en-us_topic_0000001173471152_i103191617202412">Name of the desired cluster</em> &gt; <strong id="mrs_01_0957__en-us_topic_0000001173471152_b17546172117244">Services</strong> &gt; <strong id="mrs_01_0957__en-us_topic_0000001173471152_b2084810247243">Hive</strong> &gt; <strong id="mrs_01_0957__en-us_topic_0000001173471152_b84831227162416">Configurations</strong> &gt; <strong id="mrs_01_0957__en-us_topic_0000001173471152_b7728132982412">All Configurations</strong>.</p>
</p></li><li id="mrs_01_0957__en-us_topic_0000001173471152_li91093155563"><span>Modify the Hive configuration.</span><p><p id="mrs_01_0957__p1418164014618">Choose <span class="menucascade" id="mrs_01_0957__en-us_topic_0000001173471152_menucascade134821134195816"><b><span class="uicontrol" id="mrs_01_0957__uicontrol12437129184613">WebHCat</span></b> &gt; <b><span class="uicontrol" id="mrs_01_0957__uicontrol14437152920461">Security</span></b></span>. On the page that is displayed, select <strong id="mrs_01_0957__en-us_topic_0000001173471152_b1638118210251">HTTPS</strong> or <strong id="mrs_01_0957__en-us_topic_0000001173471152_b203825215255">HTTP</strong>. After the modification, restart the Hive service to use the corresponding protocol.</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0581.html">Using Hive</a></div>
</div>
</div>