<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: What are the ideal ACL's that need to be applied on a HDFS directory containing Hive External Ta in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-ideal-ACL-s-that-need-to-be-applied-on-a-HDFS/m-p/55692#M62668</link>
    <description>&lt;P&gt;From my understanding when you use the Sentry HDFS synchronization plugin you only need to set the following ACLs :&lt;/P&gt;&lt;P&gt;hive:hive / 771&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_sg_hiveserver2_security.html#concept_vxf_pgx_nm&lt;/PRE&gt;&lt;PRE&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/sg_sentry_service_config.html#concept_z5b_42s_p4__section_lvc_4g4_rp&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then it is the plugin that will manage the other permission according to permissions granted in Sentry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you set the permissions yourself then there is not point in using the Sentry HDFS synchronization plugin.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jun 2017 11:46:37 GMT</pubDate>
    <dc:creator>mathieu.d</dc:creator>
    <dc:date>2017-06-12T11:46:37Z</dc:date>
    <item>
      <title>What are the ideal ACL's that need to be applied on a HDFS directory containing Hive External Tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-ideal-ACL-s-that-need-to-be-applied-on-a-HDFS/m-p/55654#M62667</link>
      <description>&lt;P&gt;What are the ideal / Minimum required ACL's that need to be applied on a HDFS directory containing Hive External Tables?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I have a directory '/user/devteam/custdata' with permissions 770.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hdfs dfs -getfacl /user/devteam/custdata&lt;/P&gt;&lt;P&gt;# file: /user/devteam/custdata&lt;/P&gt;&lt;P&gt;# owner: devteam&lt;/P&gt;&lt;P&gt;# group: devteam&lt;/P&gt;&lt;P&gt;user::rwx&lt;/P&gt;&lt;P&gt;group::rwx&lt;/P&gt;&lt;P&gt;other::---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I set ACL of...&lt;/P&gt;&lt;P&gt;hdfs dfs -setfacl -R -m group:hive:rwx,group:qateam:r-x /user/devteam/custdata&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Sentry Roles&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;create role qateamrole;&lt;/P&gt;&lt;P&gt;grant select on database devdb to role qateamrole;&lt;/P&gt;&lt;P&gt;create role devteamrole;&lt;/P&gt;&lt;P&gt;grant all on database devdb to role devteamrole;&lt;/P&gt;&lt;P&gt;grant all on uri '&lt;SPAN&gt;/user/devteam/custdata' to role devteamteamrole;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By setting these two permissions with HDFS sentry sync enabled. Will I be able to run all my sqoop jobs and hive queries as the owner and qateam successfully? At the same time I want data to be visible only to the owner and teams that have permissions to query / cat / list them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:44:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-ideal-ACL-s-that-need-to-be-applied-on-a-HDFS/m-p/55654#M62667</guid>
      <dc:creator>suryajayanthi</dc:creator>
      <dc:date>2022-09-16T11:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: What are the ideal ACL's that need to be applied on a HDFS directory containing Hive External Ta</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-ideal-ACL-s-that-need-to-be-applied-on-a-HDFS/m-p/55692#M62668</link>
      <description>&lt;P&gt;From my understanding when you use the Sentry HDFS synchronization plugin you only need to set the following ACLs :&lt;/P&gt;&lt;P&gt;hive:hive / 771&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_sg_hiveserver2_security.html#concept_vxf_pgx_nm&lt;/PRE&gt;&lt;PRE&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/sg_sentry_service_config.html#concept_z5b_42s_p4__section_lvc_4g4_rp&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then it is the plugin that will manage the other permission according to permissions granted in Sentry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you set the permissions yourself then there is not point in using the Sentry HDFS synchronization plugin.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 11:46:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-ideal-ACL-s-that-need-to-be-applied-on-a-HDFS/m-p/55692#M62668</guid>
      <dc:creator>mathieu.d</dc:creator>
      <dc:date>2017-06-12T11:46:37Z</dc:date>
    </item>
  </channel>
</rss>

