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>
22 lines
4.7 KiB
HTML
22 lines
4.7 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="body1590395283027"><div class="section" id="mrs_01_0957__se0620a962b7e44959c86a0551b2ab2da"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0957__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__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__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__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__scd21d73bcc874c78bd58972052b25a70"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_0957__ol181811550174911"><li id="mrs_01_0957__li13806122116487"><span>The Hive service configuration page is displayed.</span><p><ul id="mrs_01_0957__ul1692910323486"><li id="mrs_01_0957__li792916322486">For versions earlier than MRS 1.9.2, log in to MRS Manager, choose <strong id="mrs_01_0957__b1259473281410">Services</strong> > <strong id="mrs_01_0957__b5541834171411">Hive</strong> > <strong id="mrs_01_0957__b839183711419">Service Configuration</strong>, and select <strong id="mrs_01_0957__b20782144691416">All</strong> from the <strong id="mrs_01_0957__b5317133119185">Basic</strong> drop-down list.</li><li id="mrs_01_0957__li979413816488">For MRS 1.9.2 or later, click the cluster name on the MRS console, choose <strong id="mrs_01_0957__b72158441184">Components</strong> > <strong id="mrs_01_0957__b1167514460182">Hive</strong> > <strong id="mrs_01_0957__b823555213182">Service Configuration</strong>, and select <strong id="mrs_01_0957__b966455515189">All</strong> from the <strong id="mrs_01_0957__b7907115712181">Basic</strong> drop-down list.<div class="note" id="mrs_01_0957__note260718795420"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_0957__p1228613134010">If the <strong id="mrs_01_0957__b635953725812">Components</strong> tab is unavailable, complete IAM user synchronization first. (On the <strong id="mrs_01_0957__b8365153716586">Dashboard</strong> page, click <strong id="mrs_01_0957__b193651937155811">Synchronize</strong> on the right side of <span class="parmname" id="mrs_01_0957__parmname73651537165811"><b>IAM User Sync</b></span> to synchronize IAM users.)</p>
|
|
</div></div>
|
|
</li><li id="mrs_01_0957__li19497205535311">For MRS 3.<em id="mrs_01_0957__i89865252028">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_0957__b28882341825">Cluster</strong> > <em id="mrs_01_0957__i8889534723">Name of the desired cluster</em> > <strong id="mrs_01_0957__b889011341225">Services</strong> > <strong id="mrs_01_0957__b88916341823">Hive</strong> > <strong id="mrs_01_0957__b889320348215">Configurations</strong> > <strong id="mrs_01_0957__b689419345213">All Configurations</strong>.</li></ul>
|
|
</p></li><li id="mrs_01_0957__li91093155563"><span>Modify the Hive configuration.</span><p><ul id="mrs_01_0957__ul116641756115612"><li id="mrs_01_0957__li1666412567569">For versions earlier than MRS 3.x: Enter the parameter name in the search box, search for <strong id="mrs_01_0957__b16781173519249">templeton.protocol.type</strong>, change the parameter value to <strong id="mrs_01_0957__b27819353244">HTTPS</strong> or <strong id="mrs_01_0957__b2783133562420">HTTP</strong>, and restart the Hive service to use the corresponding protocol.</li><li id="mrs_01_0957__li1260515547571">For MRS 3.<em id="mrs_01_0957__i17181141012253">x</em> or earlier: Choose <span class="menucascade" id="mrs_01_0957__menucascade134821134195816"><b><span class="uicontrol" id="mrs_01_0957__uicontrol1648203435818">WebHCat</span></b> > <b><span class="uicontrol" id="mrs_01_0957__uicontrol5482834135812">Security</span></b></span>. On the page that is displayed, select <strong id="mrs_01_0957__b1638118210251">HTTPS</strong> or <strong id="mrs_01_0957__b203825215255">HTTP</strong>. After the modification, restart the Hive service to use the corresponding protocol.</li></ul>
|
|
</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>
|
|
|