<?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: Atlas not accessible due to &amp;quot;atlas_titan&amp;quot; permissions in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-not-accessible-due-to-quot-atlas-titan-quot/m-p/165239#M49605</link>
    <description>&lt;P&gt;This : &lt;EM&gt;&lt;STRONG&gt;Insufficient permissions (user=atlas, scope=default,params=[namespace=default,table=default:atlas_titan,family=s],action=CREATE&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Simply means that your Atlas service user has no longer access to the backend tables , therefore the Atlas Rest API service can't serve the records  which in turn causes the empty http response .  &lt;/P&gt;&lt;P&gt;First , stop the Atlas service in Ambari Admin Ui,  then connect in the container  as a root  follow these steps:&lt;/P&gt;&lt;P&gt;# su hbase hbase shell&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Execute the following command in HBase shell, to grant global permissions to 'atlas' user so it can create the tables it needs:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;hbase(main):001:0&amp;gt; &lt;/STRONG&gt;&lt;STRONG&gt;grant 'atlas', 'RWXCA'&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Start Atlas service in Ambari Admin Ui, Execute the following command in HBase shell, to revoke global permissions granted to 'atlas' user:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; hbase(main):001:0&amp;gt; revoke 'atlas'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Execute the following commands in HBase shell, to enable Atlas to access necessary HBase tables&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt; hbase(main):001:0&amp;gt;  grant 'atlas', 'RWXCA', 'atlas_titan'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; hbase(main):001:0&amp;gt;  grant 'atlas', 'RWXCA', 'ATLAS_ENTITY_AUDIT_EVENTS'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;hbase(main):001:0&amp;gt; exit &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Return to the Ambari Admin UI , start the Altas service&lt;/P&gt;&lt;P&gt;You should be able to check  by connecting back to Atlas dashboard , or simple watch the log &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;     tail -f /var/log/atlas/application.log&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For details please refer to the following :&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_data-governance/content/ch_hdp_data_governance_install_atlas_ambari.html"&gt; http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_data-governance/content/ch_hdp_data_governance_install_atlas_ambari.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2016 08:28:41 GMT</pubDate>
    <dc:creator>oascofare</dc:creator>
    <dc:date>2016-12-21T08:28:41Z</dc:date>
    <item>
      <title>Atlas not accessible due to "atlas_titan" permissions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-not-accessible-due-to-quot-atlas-titan-quot/m-p/165238#M49604</link>
      <description>&lt;P&gt;I have a docker HDP 2.5 installed on Azure.  Atlas was working fine but after running for a while it became inaccessible.  Looking at the logs I see the below HBase permission error:&lt;/P&gt;&lt;PRE&gt;... 38 more
Caused by: org.apache.hadoop.hbase.security.AccessDeniedException: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=atlas, scope=default, params=[namespace=default,table=default:atlas_titan,family=s],action=CREATE)

  at org.apache.hadoop.hbase.security.access.AccessController.requireNamespacePermission(AccessController.java:624)

  at ...&lt;/PRE&gt;&lt;P&gt;However, in Ranger UI the correct permissions seem to be in place; user "atlas" has full permissions to HBase table "atlas_titan".&lt;/P&gt;&lt;P&gt;Any thoughts, or pointers on this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 08:00:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-not-accessible-due-to-quot-atlas-titan-quot/m-p/165238#M49604</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2016-12-21T08:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas not accessible due to "atlas_titan" permissions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-not-accessible-due-to-quot-atlas-titan-quot/m-p/165239#M49605</link>
      <description>&lt;P&gt;This : &lt;EM&gt;&lt;STRONG&gt;Insufficient permissions (user=atlas, scope=default,params=[namespace=default,table=default:atlas_titan,family=s],action=CREATE&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Simply means that your Atlas service user has no longer access to the backend tables , therefore the Atlas Rest API service can't serve the records  which in turn causes the empty http response .  &lt;/P&gt;&lt;P&gt;First , stop the Atlas service in Ambari Admin Ui,  then connect in the container  as a root  follow these steps:&lt;/P&gt;&lt;P&gt;# su hbase hbase shell&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Execute the following command in HBase shell, to grant global permissions to 'atlas' user so it can create the tables it needs:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;hbase(main):001:0&amp;gt; &lt;/STRONG&gt;&lt;STRONG&gt;grant 'atlas', 'RWXCA'&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Start Atlas service in Ambari Admin Ui, Execute the following command in HBase shell, to revoke global permissions granted to 'atlas' user:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; hbase(main):001:0&amp;gt; revoke 'atlas'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Execute the following commands in HBase shell, to enable Atlas to access necessary HBase tables&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt; hbase(main):001:0&amp;gt;  grant 'atlas', 'RWXCA', 'atlas_titan'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; hbase(main):001:0&amp;gt;  grant 'atlas', 'RWXCA', 'ATLAS_ENTITY_AUDIT_EVENTS'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;hbase(main):001:0&amp;gt; exit &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Return to the Ambari Admin UI , start the Altas service&lt;/P&gt;&lt;P&gt;You should be able to check  by connecting back to Atlas dashboard , or simple watch the log &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;     tail -f /var/log/atlas/application.log&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For details please refer to the following :&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_data-governance/content/ch_hdp_data_governance_install_atlas_ambari.html"&gt; http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_data-governance/content/ch_hdp_data_governance_install_atlas_ambari.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 08:28:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-not-accessible-due-to-quot-atlas-titan-quot/m-p/165239#M49605</guid>
      <dc:creator>oascofare</dc:creator>
      <dc:date>2016-12-21T08:28:41Z</dc:date>
    </item>
  </channel>
</rss>

