Insufficient Rights When Accessing Phoenix
Question
When a tenant accesses Phoenix, a message is displayed indicating that the tenant has insufficient rights.
Answer
You need to associate the HBase service and Yarn queues when creating a tenant.
The tenant must be granted additional rights to perform operations on Phoenix, that is, the RWX permission on the Phoenix system table.
Example:
Tenant hbasehas been created. Log in to the HBase Shell as useradminand run thescan 'hbase:acl'command to query the role of the tenant. The role ishbase_1450761169920 (in the format of tenant name_timestamp).
Run the following commands to grant rights to the tenant (if the Phoenix system table has not been generated, log in to the Phoenix client as user admin first and then grant rights on the HBase Shell):
grant '@hbase_1450761169920','RWX','SYSTEM.CATALOG'
grant '@hbase_1450761169920','RWX','SYSTEM.FUNCTION'
grant '@hbase_1450761169920','RWX','SYSTEM.SEQUENCE'
grant '@hbase_1450761169920','RWX','SYSTEM.STATS'
Create user phoenixand bind it with tenanthbase, so that tenanthbasecan access the Phoenix client as userphoenix.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot