<?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 Security features not available in HBase (Kerberized cluster) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Security-features-not-available-in-HBase-Kerberized-cluster/m-p/173159#M37572</link>
    <description>&lt;P&gt;Error "DISABLED: Security features are not available" is thrown&lt;/P&gt;&lt;PRE&gt;hbase(main):002:0&amp;gt; user_permission 'TABLE_NAME'
User              
                                                                        
   
Namespace,Table,Family,Qualifier:Permission                             
                                                                        
                                                                        
                                                       

ERROR: DISABLED: Security features are not available

Here is some help for this command:
Show all permissions for the particular user.
Syntax : user_permission &amp;lt;table&amp;gt;

Note: A namespace must always precede with '@' character.

For example:

    hbase&amp;gt; user_permission
    hbase&amp;gt; user_permission '@ns1'
    hbase&amp;gt; user_permission '@.*'
    hbase&amp;gt; user_permission '@^[a-c].*'
    hbase&amp;gt; user_permission 'table1'
    hbase&amp;gt; user_permission 'namespace1:table1'
    hbase&amp;gt; user_permission '.*'
    hbase&amp;gt; user_permission '^[A-C].*'
&lt;/PRE&gt;&lt;P&gt;


Below configuraton is set in hbase-site.xml&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.coprocessor.region.classes&amp;lt;/name&amp;gt;
 
     
&amp;lt;value&amp;gt;org.apache.hadoop.hbase.security.access.AccessController,org.apache.hadoop.hbase.security.token.TokenProvider,org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

    &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.coprocessor.regionserver.classes&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;org.apache.hadoop.hbase.security.access.AccessController&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;
       &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.coprocessor.master.classes&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;org.apache.hadoop.hbase.security.access.AccessController&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

      &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.security.authorization&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

        &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.security.authentication&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;kerberos&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

        &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.master.kerberos.principal&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;hbase/_HOST@HWX.VIBGYOR.COM&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

    &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.master.keytab.file&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;/etc/security/keytabs/hbase.service.keytab&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

&lt;/PRE&gt;</description>
    <pubDate>Thu, 11 Aug 2016 19:06:15 GMT</pubDate>
    <dc:creator>nshetty</dc:creator>
    <dc:date>2016-08-11T19:06:15Z</dc:date>
    <item>
      <title>Security features not available in HBase (Kerberized cluster)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Security-features-not-available-in-HBase-Kerberized-cluster/m-p/173159#M37572</link>
      <description>&lt;P&gt;Error "DISABLED: Security features are not available" is thrown&lt;/P&gt;&lt;PRE&gt;hbase(main):002:0&amp;gt; user_permission 'TABLE_NAME'
User              
                                                                        
   
Namespace,Table,Family,Qualifier:Permission                             
                                                                        
                                                                        
                                                       

ERROR: DISABLED: Security features are not available

Here is some help for this command:
Show all permissions for the particular user.
Syntax : user_permission &amp;lt;table&amp;gt;

Note: A namespace must always precede with '@' character.

For example:

    hbase&amp;gt; user_permission
    hbase&amp;gt; user_permission '@ns1'
    hbase&amp;gt; user_permission '@.*'
    hbase&amp;gt; user_permission '@^[a-c].*'
    hbase&amp;gt; user_permission 'table1'
    hbase&amp;gt; user_permission 'namespace1:table1'
    hbase&amp;gt; user_permission '.*'
    hbase&amp;gt; user_permission '^[A-C].*'
&lt;/PRE&gt;&lt;P&gt;


Below configuraton is set in hbase-site.xml&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.coprocessor.region.classes&amp;lt;/name&amp;gt;
 
     
&amp;lt;value&amp;gt;org.apache.hadoop.hbase.security.access.AccessController,org.apache.hadoop.hbase.security.token.TokenProvider,org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

    &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.coprocessor.regionserver.classes&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;org.apache.hadoop.hbase.security.access.AccessController&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;
       &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.coprocessor.master.classes&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;org.apache.hadoop.hbase.security.access.AccessController&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

      &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.security.authorization&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

        &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.security.authentication&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;kerberos&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

        &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.master.kerberos.principal&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;hbase/_HOST@HWX.VIBGYOR.COM&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

    &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;hbase.master.keytab.file&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;/etc/security/keytabs/hbase.service.keytab&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;

&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:06:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Security-features-not-available-in-HBase-Kerberized-cluster/m-p/173159#M37572</guid>
      <dc:creator>nshetty</dc:creator>
      <dc:date>2016-08-11T19:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Security features not available in HBase (Kerberized cluster)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Security-features-not-available-in-HBase-Kerberized-cluster/m-p/173160#M37573</link>
      <description>&lt;P&gt;It seems your hbase:acl table is not created.&lt;/P&gt;&lt;P&gt;can you check hbase-site.xml at master side as well it should have:-&lt;/P&gt;&lt;PRE&gt;       &amp;lt;property&amp;gt;      
&amp;lt;name&amp;gt;hbase.coprocessor.master.classes&amp;lt;/name&amp;gt;    
  &amp;lt;value&amp;gt;org.apache.hadoop.hbase.security.access.AccessController&amp;lt;/value&amp;gt;  
  &amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;try restarting your cluster as postStartMaster step should create this table, once you are able to do scan 'hbase:acl' , you will not see above error "ERROR: DISABLED:Security features are not available"&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 20:18:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Security-features-not-available-in-HBase-Kerberized-cluster/m-p/173160#M37573</guid>
      <dc:creator>asinghal</dc:creator>
      <dc:date>2016-08-11T20:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Security features not available in HBase (Kerberized cluster)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Security-features-not-available-in-HBase-Kerberized-cluster/m-p/173161#M37574</link>
      <description>&lt;P&gt;Got the logs from &lt;A rel="user" href="https://community.cloudera.com/users/6858/nshetty.html" nodeid="6858"&gt;@nshetty&lt;/A&gt; and checked somehow the hbase:acl table is not created because earlier hbase:acl znode is present but the table is not present. Once after deleting the hbase:acl table znode and restarting the service it's working fine.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 20:25:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Security-features-not-available-in-HBase-Kerberized-cluster/m-p/173161#M37574</guid>
      <dc:creator>rchintaguntla</dc:creator>
      <dc:date>2016-08-11T20:25:00Z</dc:date>
    </item>
  </channel>
</rss>

