<?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: restrict hbase users in ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/restrict-hbase-users-in-ambari/m-p/141660#M48188</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2302/arunpoy.html"&gt;ARUN&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I do not see any option from ambari side to do that.  However you should be able to set the ACL via HBase itself as described in: &lt;A href="http://hbase.apache.org/0.94/book/hbase.accesscontrol.configuration.html" target="_blank"&gt;http://hbase.apache.org/0.94/book/hbase.accesscontrol.configuration.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;"hbase:acl"&lt;/STRONG&gt; table defines Access Control Lists  which helps us in to limiting the privileges of users to hbase table.&lt;/P&gt;&lt;P&gt;You must set the ACLs for all those users who will be responsible 
for create/update/delete operations in HBase. As by default every once 
can access others table.&lt;/P&gt;&lt;P&gt;HBase ACLs support the following privileges:&lt;/P&gt;&lt;P&gt;a)Read&lt;/P&gt;&lt;P&gt;b)Write&lt;/P&gt;&lt;P&gt;c)Create tables&lt;/P&gt;&lt;P&gt;d)Administrator&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;1. Start the HBase shell. On the HBase Master host: &lt;/P&gt;&lt;PRE&gt;hbase shell &lt;/PRE&gt;&lt;P&gt;2. Set ACLs using the HBase shell: &lt;/P&gt;&lt;PRE&gt;grant '$USER', '$permissions'&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Ranger: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can also create Ranger policies by issuing grant/revoke commands via hbase shell.&lt;/P&gt;&lt;P&gt;As described in &lt;EM&gt;Page-25&lt;/EM&gt; in the following slide:  &lt;A href="http://www.slideshare.net/Hadoop_Summit/securing-hadoop-with-apache-ranger" target="_blank"&gt;http://www.slideshare.net/Hadoop_Summit/securing-hadoop-with-apache-ranger&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 21:09:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-12-07T21:09:14Z</dc:date>
    <item>
      <title>restrict hbase users in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/restrict-hbase-users-in-ambari/m-p/141659#M48187</link>
      <description>&lt;P&gt;By default hbase allows all users to drop hbase tables and delete rows. How to prevent the users from doing drop and delete from ambari. i remember using it through the property hbase.superuser. the above property has just hbase in its value. any thoughts&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 20:01:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/restrict-hbase-users-in-ambari/m-p/141659#M48187</guid>
      <dc:creator>arunpoy</dc:creator>
      <dc:date>2016-12-07T20:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: restrict hbase users in ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/restrict-hbase-users-in-ambari/m-p/141660#M48188</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2302/arunpoy.html"&gt;ARUN&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I do not see any option from ambari side to do that.  However you should be able to set the ACL via HBase itself as described in: &lt;A href="http://hbase.apache.org/0.94/book/hbase.accesscontrol.configuration.html" target="_blank"&gt;http://hbase.apache.org/0.94/book/hbase.accesscontrol.configuration.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;"hbase:acl"&lt;/STRONG&gt; table defines Access Control Lists  which helps us in to limiting the privileges of users to hbase table.&lt;/P&gt;&lt;P&gt;You must set the ACLs for all those users who will be responsible 
for create/update/delete operations in HBase. As by default every once 
can access others table.&lt;/P&gt;&lt;P&gt;HBase ACLs support the following privileges:&lt;/P&gt;&lt;P&gt;a)Read&lt;/P&gt;&lt;P&gt;b)Write&lt;/P&gt;&lt;P&gt;c)Create tables&lt;/P&gt;&lt;P&gt;d)Administrator&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;1. Start the HBase shell. On the HBase Master host: &lt;/P&gt;&lt;PRE&gt;hbase shell &lt;/PRE&gt;&lt;P&gt;2. Set ACLs using the HBase shell: &lt;/P&gt;&lt;PRE&gt;grant '$USER', '$permissions'&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Ranger: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can also create Ranger policies by issuing grant/revoke commands via hbase shell.&lt;/P&gt;&lt;P&gt;As described in &lt;EM&gt;Page-25&lt;/EM&gt; in the following slide:  &lt;A href="http://www.slideshare.net/Hadoop_Summit/securing-hadoop-with-apache-ranger" target="_blank"&gt;http://www.slideshare.net/Hadoop_Summit/securing-hadoop-with-apache-ranger&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 21:09:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/restrict-hbase-users-in-ambari/m-p/141660#M48188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-07T21:09:14Z</dc:date>
    </item>
  </channel>
</rss>

