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>
21 lines
4.3 KiB
HTML
21 lines
4.3 KiB
HTML
<a name="mrs_01_0960"></a><a name="mrs_01_0960"></a>
|
|
|
|
<h1 class="topictitle1">Specifying Whether the <strong id="en-us_topic_0000001173949408_b122071918315">ADMIN</strong> Permissions Is Required for Creating Temporary Functions</h1>
|
|
<div id="body8662426"><div class="section" id="mrs_01_0960__en-us_topic_0000001173949408_sec1c6e66e7c049d6aea7dbd1c0bd12ee"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0960__en-us_topic_0000001173949408_a73d36471fbf140bda4919bb1e27ad394">You must have <strong id="mrs_01_0960__en-us_topic_0000001173949408_b1347414251315">ADMIN</strong> permission when creating temporary functions on Hive of the open source community version.</p>
|
|
<p id="mrs_01_0960__en-us_topic_0000001173949408_abd0a234de22b48c1b66400a244ca32fe">MRS Hive supports the configuration of the function for creating temporary functions with <strong id="mrs_01_0960__en-us_topic_0000001173949408_b7833182810311">ADMIN</strong> permission. The function is disabled by default, which is the same as that of the open-source community version.</p>
|
|
<p id="mrs_01_0960__en-us_topic_0000001173949408_a3018e01eb5c54f7588a96ee651c5e9dd">You can modify configurations of this function. After the function is enabled, you can create temporary functions without <strong id="mrs_01_0960__en-us_topic_0000001173949408_b29133293116">ADMIN</strong> permission. If this parameter is set to <strong id="mrs_01_0960__en-us_topic_0000001173949408_b1658919336327">false</strong>, security risks exist.</p>
|
|
<div class="note" id="mrs_01_0960__en-us_topic_0000001173949408_n72d169975b5e48c2b9dfbe6b3280bb1a"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="mrs_01_0960__en-us_topic_0000001173949408_a82df98607abc463c8677ff20dadac075">The security mode supports the configuration of whether the ADMIN permission is required for creating temporary functions, but the common mode does not support this function.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="mrs_01_0960__en-us_topic_0000001173949408_sd796435b2c254ca7aaa370451e468a24"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_0960__en-us_topic_0000001173949408_ol181811550174911"><li id="mrs_01_0960__en-us_topic_0000001173949408_li874802051810"><span>Log in to FusionInsight Manager. For details, see <a href="mrs_01_2124.html">Accessing FusionInsight Manager</a>. Choose <strong id="mrs_01_0960__en-us_topic_0000001173949408_b91131145105313">Cluster</strong> > <strong id="mrs_01_0960__en-us_topic_0000001173949408_b9935161513376">Services</strong> > <strong id="mrs_01_0960__en-us_topic_0000001173949408_b12937151514375">Hive</strong> > <strong id="mrs_01_0960__en-us_topic_0000001173949408_b199399155371">Configurations</strong> > <strong id="mrs_01_0960__en-us_topic_0000001173949408_b7941515113717">All Configurations</strong>.</span></li><li id="mrs_01_0960__en-us_topic_0000001173949408_li051003218413"><span>Enter the parameter name in the search box, search for <strong id="mrs_01_0960__en-us_topic_0000001173949408_b119651230203711">hive.security.temporary.function.need.admin</strong>, change the parameter value to <strong id="mrs_01_0960__en-us_topic_0000001173949408_b109721130183710">true</strong> or <strong id="mrs_01_0960__en-us_topic_0000001173949408_b17975123020373">false</strong>, and restart all HiveServer instances.</span><p><div class="note" id="mrs_01_0960__en-us_topic_0000001173949408_note451019321446"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="mrs_01_0960__en-us_topic_0000001173949408_ul551123211414"><li id="mrs_01_0960__en-us_topic_0000001173949408_li185114328415">If this parameter is set to <strong id="mrs_01_0960__en-us_topic_0000001173949408_b810678163414">true</strong>, the ADMIN permission is required for creating temporary functions, which is the same as that in the open source community.</li><li id="mrs_01_0960__en-us_topic_0000001173949408_li1351114324417">If this parameter is set to <strong id="mrs_01_0960__en-us_topic_0000001173949408_b9244163313417">false</strong>, the ADMIN permission is not required for creating temporary functions.</li></ul>
|
|
</div></div>
|
|
</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>
|
|
|