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>
148 lines
24 KiB
HTML
148 lines
24 KiB
HTML
<a name="mrs_01_0950"></a><a name="mrs_01_0950"></a>
|
|
|
|
<h1 class="topictitle1">Configuring Permissions for Hive Tables, Columns, or Databases</h1>
|
|
<div id="body1590395281688"><div class="section" id="mrs_01_0950__s5842f4574aef4291a5212cbac67a70d2"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0950__ab3ca0198826c440f95eaa0052a211df9">You can configure related permissions if you need to access tables or databases created by other users. Hive supports column-based permission control. If a user needs to access some columns in tables created by other users, the user must be granted the permission for columns. The following describes how to grant table, column, and database permissions to users by using the role management function of MRS Manager.</p>
|
|
<div class="note" id="mrs_01_0950__n5a8b83fa336e45e3b30a56a56e028a61"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="mrs_01_0950__ul1591225692812"><li class="text" id="mrs_01_0950__li991275612815">You can configure permissions for Hive tables, columns, or databases only in security mode.</li><li id="mrs_01_0950__li168631085544">MRS 3.x or later supports Ranger. If the current component uses Ranger for permission control, you need to configure permission management policies based on Ranger. For details, see <a href="mrs_01_1858.html">Adding a Ranger Access Permission Policy for Hive</a>.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="mrs_01_0950__s0e2bb366036e45efafd1137e7cd017b6"><h4 class="sectiontitle">Prerequisites</h4><ul id="mrs_01_0950__ud9a9f28125ce485588d2f8246f9afced"><li id="mrs_01_0950__lace6f07a481342c591c1d7c3547b7a99">You have obtained a user account with the <span id="mrs_01_0950__ph6189183402">system </span>administrator permissions, such as <strong id="mrs_01_0950__b121153211165">admin</strong>.</li><li id="mrs_01_0950__l363e72bc753f4003a547255f6f7d6f9b">You have created a role, for example, <strong id="mrs_01_0950__b93051016201712">hrole</strong>, on Manager by referring to instructions in <a href="mrs_01_0949.html">Creating a Hive Role</a>. You do not need to set the Hive permission but need to set the permission to submit the HQL command to Yarn for execution.</li><li id="mrs_01_0950__l553d7db296824437925a2556ca46a158">You have created two Hive human-machine users, such as <strong id="mrs_01_0950__b20896164312184">huser1</strong> and <strong id="mrs_01_0950__b1941113517181">huser2</strong>, on Manager and added them to the <strong id="mrs_01_0950__b206511010161911">hive</strong> group. <strong id="mrs_01_0950__b171007143195">huser2</strong> has been bound to <strong id="mrs_01_0950__b1818971871915">hrole</strong>. The <strong id="mrs_01_0950__b5391337161920">hdb</strong> database has created by user <strong id="mrs_01_0950__b5769145418197">huser1</strong> and the <strong id="mrs_01_0950__b1045713144204">htable</strong> table has been created in the database.</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_01_0950__s201eaee70ec4416caeab058ada4051c3"><h4 class="sectiontitle">Procedure</h4><ul id="mrs_01_0950__uf104b9face0d404a815b719ae897a538"><li id="mrs_01_0950__lf9643731cd3247659a5258741d5c0dce">Granting Table Permissions<p id="mrs_01_0950__ad80b257533b04b27a47fd91115bffb3f"><a name="mrs_01_0950__lf9643731cd3247659a5258741d5c0dce"></a><a name="lf9643731cd3247659a5258741d5c0dce"></a>Users have complete permission on the tables created by themselves in Hive and the HDFS. To access the tables created by others, they need to be granted the permission. After the Hive metadata permission is granted, the HDFS permission is automatically granted. The procedure for granting a role the permission of querying, inserting, and deleting <strong id="mrs_01_0950__b3371913219">htable</strong> data is as follows:</p>
|
|
<p id="mrs_01_0950__p1072019133617">For versions earlier than MRS 3.x, perform the following operations to grant table permissions:</p>
|
|
<ol id="mrs_01_0950__o414b02782460475b818fec5400fe7846"><li id="mrs_01_0950__l40b4e610bdc840638e3572c9b03bae09">On MRS Manager, choose <strong id="mrs_01_0950__b772320130114">System</strong> > <strong id="mrs_01_0950__b127241913519">Permission</strong> > <strong id="mrs_01_0950__b2725181316115">Manage Role</strong>.</li><li id="mrs_01_0950__lf6ba59a421214ebca622957fa8513ac3">Locate the row that contains <strong id="mrs_01_0950__b492911213221">hrole</strong>, and click <strong id="mrs_01_0950__b1959731722210">Modify</strong>.</li><li id="mrs_01_0950__lb61e16b37e464936aef5099e627ca0c2">Choose <strong id="mrs_01_0950__b156129268224">Hive</strong> > <strong id="mrs_01_0950__b83862313225">Hive Read Write Privileges</strong>.</li><li id="mrs_01_0950__l0739a9d17d64442295816d0474bfac52">Click the name of the specified database <strong id="mrs_01_0950__b8988757122210">hdb</strong> in the database list. Table <strong id="mrs_01_0950__b674421216235">htable</strong> in the database is displayed.</li><li id="mrs_01_0950__ldff66b1d5a98432a92410d6be47c2bb1">In the <strong id="mrs_01_0950__b125102792315">Permission</strong> column of the <strong id="mrs_01_0950__b14529103092310">htable</strong> table, select <strong id="mrs_01_0950__b11132183615230">Select</strong>, <strong id="mrs_01_0950__b152025391236">Insert</strong>, and <strong id="mrs_01_0950__b1523134302315">Delete</strong>.</li><li id="mrs_01_0950__l69586a6252ba4355b1260a6f9c287eab">Click <strong id="mrs_01_0950__b615664410236">OK</strong>.</li></ol>
|
|
<p id="mrs_01_0950__p136440173378">For MRS 3.<em id="mrs_01_0950__i1765314016384">x</em> or later, perform the following operations to grant table permissions:</p>
|
|
<ol id="mrs_01_0950__ol2070731654219"><li id="mrs_01_0950__li7707141618425">On FusionInsight Manager, choose <strong id="mrs_01_0950__b68730510951957">System </strong>> <strong id="mrs_01_0950__b138935608851957">Permission </strong>> <strong id="mrs_01_0950__b60403422651957">Role</strong>.</li><li id="mrs_01_0950__li14707191612427">Locate the row that contains <strong id="mrs_01_0950__b1301170599">hrole</strong>, and click <strong id="mrs_01_0950__b1703317526">Modify</strong>.</li><li id="mrs_01_0950__li167071416124211">Choose <em id="mrs_01_0950__i204813307751957">Name of the desired cluster</em> > <strong id="mrs_01_0950__b99781695051957">Hive </strong>> <strong id="mrs_01_0950__b28816137851957">Hive Read Write Privileges</strong>.</li><li id="mrs_01_0950__li970861615428">Click the name of the specified database <strong id="mrs_01_0950__b26570011">hdb</strong> in the database list. Table <strong id="mrs_01_0950__b346865164">htable</strong> in the database is displayed.</li><li id="mrs_01_0950__li19708816144215">In the <strong id="mrs_01_0950__b1679815216254">Permission</strong> column of the <strong id="mrs_01_0950__b125535084551957">htable </strong>table, select <strong id="mrs_01_0950__b36968772251957">SELECT</strong>, <strong id="mrs_01_0950__b207286644151957">INSERT</strong>, and <strong id="mrs_01_0950__b34400794151957">DELETE</strong>.</li><li id="mrs_01_0950__li1870819169421">Click <strong id="mrs_01_0950__b1608596975">OK</strong>.</li></ol>
|
|
</li></ul>
|
|
<div class="note" id="mrs_01_0950__n36efd4381efe46bf943765153106cf47"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="mrs_01_0950__ae008dbed00b0422baa7da35ec615f064">In role management, the procedure for granting a role the permission of querying, inserting, and deleting Hive external table data is the same. After the metadata permission is granted, the HDFS permission is automatically granted.</p>
|
|
</div></div>
|
|
<ul id="mrs_01_0950__u35de2e3e77a744b3b9993dd1b74cc62f"><li id="mrs_01_0950__le6c49d4553df4ec7aa0f61682f50d9c1">Granting Column Permissions<p id="mrs_01_0950__ae6f026403a20443286230a773c463e14"><a name="mrs_01_0950__le6c49d4553df4ec7aa0f61682f50d9c1"></a><a name="le6c49d4553df4ec7aa0f61682f50d9c1"></a>Users have all permissions for the tables created by themselves in Hive and HDFS. Users do not have the permission to access the tables created by others. If a user needs to access some columns in tables created by other users, the user must be granted the permission for columns. After the Hive metadata permission is granted, the HDFS permission is automatically granted. The procedure for granting a role the permission of querying and inserting data in <strong id="mrs_01_0950__b62222266275">hcol</strong> of <strong id="mrs_01_0950__b23391629142512">htable</strong> is as follows:</p>
|
|
<p id="mrs_01_0950__p7175104564419">For versions earlier than MRS 3.x, perform the following operations to grant column permissions:</p>
|
|
<ol id="mrs_01_0950__o29ba71ddecbb4651bafac279fd129aaf"><li id="mrs_01_0950__ld69255dc8f90421da679554515658dee">On MRS Manager, choose <strong id="mrs_01_0950__b1262316151110">System</strong> > <strong id="mrs_01_0950__b962521515118">Permission</strong> > <strong id="mrs_01_0950__b1762513154112">Manage Role</strong>.</li><li id="mrs_01_0950__l3cee032f720e4c1aaa71a68098372c1f">Locate the row that contains <strong id="mrs_01_0950__b1285257192813">hrole</strong>, and click <strong id="mrs_01_0950__b08571776289">Modify</strong>.</li><li id="mrs_01_0950__lba69234e7eb847c89e90bfe0f423711e">Choose <strong id="mrs_01_0950__b207811842817">Hive</strong> > <strong id="mrs_01_0950__b147822842819">Hive Read Write Privileges</strong>.</li><li id="mrs_01_0950__lbedf7518fdb343d181aa523f048d83c4">In the database list, click the specified database <strong id="mrs_01_0950__b5763114442810">hdb</strong> to display the <strong id="mrs_01_0950__b3228165010285">htable</strong> table in the database. Click the <strong id="mrs_01_0950__b19888454152812">htable</strong> table to display the <strong id="mrs_01_0950__b17252959172811">hcol</strong> column in the table.</li><li id="mrs_01_0950__l6451c28f28cc4ecd8853cb1e7ecd6aea">In the <strong id="mrs_01_0950__b1422418378292">Permission</strong> column of the <strong id="mrs_01_0950__b179301221112912">hcol</strong> column, select <strong id="mrs_01_0950__b1428092752920">Select</strong> and <strong id="mrs_01_0950__b10204113022913">Insert</strong>.</li><li id="mrs_01_0950__l98047d2481fb42b0be4f2e708af37cd0">Click <strong id="mrs_01_0950__b195515014293">OK</strong>.</li></ol>
|
|
<p id="mrs_01_0950__p0529922456">For MRS 3.<em id="mrs_01_0950__i45161511153914">x</em> or later, perform the following operations:</p>
|
|
<ol id="mrs_01_0950__ol1617653013456"><li id="mrs_01_0950__li6176163034511">On FusionInsight Manager, choose <strong id="mrs_01_0950__b79346876351957">System </strong>> <strong id="mrs_01_0950__b127681995851957">Permission </strong>> <strong id="mrs_01_0950__b25092108151957">Role</strong>.</li><li id="mrs_01_0950__li1717683044518">Locate the row that contains <strong id="mrs_01_0950__b1966179280">hrole</strong>, and click <strong id="mrs_01_0950__b125174145">Modify</strong>.</li><li id="mrs_01_0950__li161761930134510">Choose <em id="mrs_01_0950__i129352744951957">Name of the desired cluster</em> > <strong id="mrs_01_0950__b41695039251957">Hive </strong>> <strong id="mrs_01_0950__b87460144851957">Hive Read Write Privileges</strong>.</li><li id="mrs_01_0950__li4176930174513">In the database list, click the specified database <strong id="mrs_01_0950__b753885386">hdb</strong> to display the <strong id="mrs_01_0950__b885014456">htable</strong> table in the database. Click the <strong id="mrs_01_0950__b2021846291">htable</strong> table to display the <strong id="mrs_01_0950__b1191884038">hcol</strong> column in the table.</li><li id="mrs_01_0950__li10176530184517">In the <strong id="mrs_01_0950__b20820151251957">Permission</strong> column of the <strong id="mrs_01_0950__b203939611751957">hcol</strong> column, select <strong id="mrs_01_0950__b83623755251957">SELECT</strong> and <strong id="mrs_01_0950__b165479986251957">INSERT</strong>.</li><li id="mrs_01_0950__li101761730184513">Click <strong id="mrs_01_0950__b664384555">OK</strong>.</li></ol>
|
|
</li></ul>
|
|
<div class="note" id="mrs_01_0950__nee8e7a613e3b404da77518ef30cf56ca"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="mrs_01_0950__a04f393d46aba4cb5bcd880a94a25e638">In role management, after the metadata permission is granted, the HDFS permission is automatically granted. Therefore, after the column permission is granted, the HDFS ACL permission for all files of the table is automatically granted.</p>
|
|
</div></div>
|
|
<ul id="mrs_01_0950__ufab115a4c9714a87b2a99b32797a9f59"><li id="mrs_01_0950__l494a36bc366f49a183a7bac2f24295f6">Granting Database Permissions<p id="mrs_01_0950__a0e943e8ff93743118494d96f2aff7dba"><a name="mrs_01_0950__l494a36bc366f49a183a7bac2f24295f6"></a><a name="l494a36bc366f49a183a7bac2f24295f6"></a>Users have complete permission on the databases created by themselves in Hive and the HDFS. To access the databases created by others, they need to be granted the permission. After the Hive metadata permission is granted, the HDFS permission is automatically granted. The procedure for granting a role the permission of querying data and creating tables in database <strong id="mrs_01_0950__b81011043119">hdb</strong> is as follows. Other types of database operation permission are not supported.</p>
|
|
<p id="mrs_01_0950__p14180353194618">For versions earlier than MRS 3.x, perform the following database authorization operations:</p>
|
|
<ol id="mrs_01_0950__o625cde305b9c4813adf14371fe7c6b2c"><li id="mrs_01_0950__le5d9638ff3a84d9184d38ef0fe9a70e9">On MRS Manager, choose <strong id="mrs_01_0950__b67480181412">System</strong> > <strong id="mrs_01_0950__b177491418312">Permission</strong> > <strong id="mrs_01_0950__b10751918812">Manage Role</strong>.</li><li id="mrs_01_0950__l2f19ebb33cd940a4b40c8fb845bf3555">Locate the row that contains <strong id="mrs_01_0950__b9256111963115">hrole</strong>, and click <strong id="mrs_01_0950__b14257619103118">Modify</strong>.</li><li id="mrs_01_0950__lb4cb087b086a4aa5a8099d97670d8a28">Choose <strong id="mrs_01_0950__b9317202314">Hive</strong> > <strong id="mrs_01_0950__b144202093114">Hive Read Write Privileges</strong>.</li><li id="mrs_01_0950__l128f654c19cc428c853243fe40fc8b65">In the <strong id="mrs_01_0950__b1571992513311">Permission</strong> column of the <strong id="mrs_01_0950__b12652142963115">hdb</strong> database, select <strong id="mrs_01_0950__b1492883420316">Select</strong> and <strong id="mrs_01_0950__b17648193718319">Create</strong>.</li><li id="mrs_01_0950__l9b9667b07f76439e83adfdf26a32fcd5">Click <strong id="mrs_01_0950__b155381238163115">OK</strong>.</li></ol>
|
|
<p id="mrs_01_0950__p3170128104715">For MRS 3.<em id="mrs_01_0950__i18872123611395">x</em> or later, perform the following operations to grant database permissions:</p>
|
|
<ol id="mrs_01_0950__ol11457213463"><li id="mrs_01_0950__li1645122124610">On FusionInsight Manager, choose <strong id="mrs_01_0950__b66302369351957">System </strong>> <strong id="mrs_01_0950__b125888184351957">Permission </strong>> <strong id="mrs_01_0950__b107729063251957">Role</strong>.</li><li id="mrs_01_0950__li13458215461">Locate the row that contains <strong id="mrs_01_0950__b1352654881">hrole</strong>, and click <strong id="mrs_01_0950__b2067303867">Modify</strong>.</li><li id="mrs_01_0950__li1345112174611">Choose <em id="mrs_01_0950__i178367051651957">Name of the desired cluster</em> > <strong id="mrs_01_0950__b49186498151957">Hive </strong>> <strong id="mrs_01_0950__b164172914951957">Hive Read Write Privileges</strong>.</li><li id="mrs_01_0950__li9463217468">In the <strong id="mrs_01_0950__b161398917951957">Permission</strong> column of the <strong id="mrs_01_0950__b200712701751957">hdb </strong>database, select <strong id="mrs_01_0950__b141959140351957">SELECT</strong> and <strong id="mrs_01_0950__b146803737651957">CREATE</strong>.</li><li id="mrs_01_0950__li184692154617">Click <strong id="mrs_01_0950__b30621929">OK</strong>.</li></ol>
|
|
</li></ul>
|
|
<div class="note" id="mrs_01_0950__na24c65fb944b40c0bb2790a4bd3b4d11"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="mrs_01_0950__uab99b6f0a6084de4bcbe7fe29ebbb7c8"><li id="mrs_01_0950__l148b65bf40004fb6a2e748479910a75f">Any permission for a table in the database is automatically associated with the HDFS permission for the database directory to facilitate permission management. When any permission for a table is canceled, the system does not automatically cancel the HDFS permission for the database directory to ensure performance. In this case, users can only log in to the database and view table names.</li><li id="mrs_01_0950__l7af57260cbc7496d97ddb045ac733ba5">When the query permission on a database is added to or deleted from a role, the query permission on tables in the database is automatically added to or deleted from the role.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="mrs_01_0950__sc05acac1f1354709b365dfc191d0af4b"><h4 class="sectiontitle">Concepts</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_0950__t61b1f27ae37c4015ac2596a8c29aa39e" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Scenarios of using Hive tables, columns, or databases</caption><thead align="left"><tr id="mrs_01_0950__rdc1fc688dee94c5889ee7e14b696ee85"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.2.3.1.1"><p id="mrs_01_0950__a73853cb57d4e48a4bdcb8e088cbb64b5">Scenario</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.2.3.1.2"><p id="mrs_01_0950__ac0e56cc0e1804823af411cc4cb226203">Required Permission</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_0950__r00d0944e22f34091bbed52d5ea2d0eda"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__a71d1f776660240d1b1b54dc621e4fda3">DESCRIBE TABLE</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p034919421215">SELECT</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r59f55cb3b9fa49c1b9bf3de0f8ea9fe6"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__a8607cae9aa644ffaab6a5aed5b5fd2ea">SHOW PARTITIONS</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p1334915420129">SELECT</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r25d6d7ba0dbe4ce08e21461fe1ac0164"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__a425150871ee6422a9a05dea904b03bda">ANALYZE TABLE</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p23493410128">SELECT and INSERT</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r1d640045fd124559a55badb94a266617"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__a2cf7f3ae47c9405ca0516d4cd7cfa35f">SHOW COLUMNS</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p1035012411127">SELECT</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r75101b83924a45f0afaadf6765077129"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__a96d3d002c6bd4bbf920340e7d197a100">SHOW TABLE STATUS</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p143504417124">SELECT</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r950a72b00df248f49a4f79651d54be0e"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__aa270d874a6f840c6ab478d3026a58909">SHOW TABLE PROPERTIES</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p53501441124">SELECT</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__rdd41d9eb323048838ffdaefb7638f81f"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__af461528467e24b699770ab15769a0436">SELECT</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p23508411212">SELECT</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__ra76b7b690cf0437ab76d653dfb6fd670"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__afded35d032c34197a94b65f2a6643c08">EXPLAIN</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p18350134151212">SELECT</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r52b3aabd3aea4758b10543181d98ed8e"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__ad970e9e0f9de4f27b227c6e4b952b718">CREATE VIEW</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p19350448129">SELECT, Grant Of Select, and CREATE</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__rf2938b8196324894bdf762834363907e"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__aa1c3c9a99b904084b74aeefd13d06a6b">SHOW CREATE TABLE</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p103509451217">SELECT and Grant Of Select</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__rc16b3cee44e54afb8f1940eb38cd929a"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__aa8ac6c495f6441f490d3dd5f4e61e0e7">CREATE TABLE</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p143505414121">CREATE</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r557ced26755e42b191e09859934fb83d"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__a014a55eaf5ea402db4bf41836d34a40a">ALTER TABLE ADD PARTITION</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p83508415123">INSERT</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r9a1ccf25472144bbaec66d639e686127"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__acef598c44a384596a08d79268e16b58e">INSERT</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p83501041128">INSERT</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r70294250946e4654845a50e5b39980b7"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__af05b04953cc64b559d1200b0d2d8a880">INSERT OVERWRITE</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p1635113471212">INSERT and DELETE</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r761549092cbd40f099fe595518d4e36a"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__aca9b16064c9442ebbeb17827edd5f36c">LOAD</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p93510421219">INSERT and DELETE</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r76721df0fedc4f0fa79a6248d6647d43"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__a0d7147938b8a40268e0affacba65fda7">ALTER TABLE DROP PARTITION</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p1735112413123">DELETE</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r67f846919346463f830fb3bffff27379"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__ac255e5044a244d8eba3655e28c331535">CREATE FUNCTION</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p93511145123">Hive Admin Privilege</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r93b6676fc25945e7a7e8ba69097c7fe0"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__afb9c9305916a408eb1ee74e73c25a63d">DROP FUNCTION</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p171486192188">Hive Admin Privilege</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_0950__r92becea616474e19a815ace66351234c"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="mrs_01_0950__a1ed39a49117d41c983e5ad3c2e038bb8">ALTER DATABASE</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="mrs_01_0950__p343432421816">Hive Admin Privilege</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0947.html">Permission Management</a></div>
|
|
</div>
|
|
</div>
|
|
|