Created 12-21-2016 12:00 AM
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:
... 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 ...
However, in Ranger UI the correct permissions seem to be in place; user "atlas" has full permissions to HBase table "atlas_titan".
Any thoughts, or pointers on this?
Thanks
Created 12-21-2016 12:28 AM
This : Insufficient permissions (user=atlas, scope=default,params=[namespace=default,table=default:atlas_titan,family=s],action=CREATE
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 .
First , stop the Atlas service in Ambari Admin Ui, then connect in the container as a root follow these steps:
# su hbase hbase shell
hbase(main):001:0> grant 'atlas', 'RWXCA'
hbase(main):001:0> revoke 'atlas'
hbase(main):001:0> grant 'atlas', 'RWXCA', 'atlas_titan'
hbase(main):001:0> grant 'atlas', 'RWXCA', 'ATLAS_ENTITY_AUDIT_EVENTS'
hbase(main):001:0> exit
Return to the Ambari Admin UI , start the Altas service
You should be able to check by connecting back to Atlas dashboard , or simple watch the log
tail -f /var/log/atlas/application.log
For details please refer to the following : http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_data-governance/content/ch_hdp_data_gove...
Created 12-21-2016 12:28 AM
This : Insufficient permissions (user=atlas, scope=default,params=[namespace=default,table=default:atlas_titan,family=s],action=CREATE
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 .
First , stop the Atlas service in Ambari Admin Ui, then connect in the container as a root follow these steps:
# su hbase hbase shell
hbase(main):001:0> grant 'atlas', 'RWXCA'
hbase(main):001:0> revoke 'atlas'
hbase(main):001:0> grant 'atlas', 'RWXCA', 'atlas_titan'
hbase(main):001:0> grant 'atlas', 'RWXCA', 'ATLAS_ENTITY_AUDIT_EVENTS'
hbase(main):001:0> exit
Return to the Ambari Admin UI , start the Altas service
You should be able to check by connecting back to Atlas dashboard , or simple watch the log
tail -f /var/log/atlas/application.log
For details please refer to the following : http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_data-governance/content/ch_hdp_data_gove...