Browse Source

HUE-8888 [docs] Add Phoenix impersonation example

Romain 5 years ago
parent
commit
0ed12f7c19

+ 9 - 0
docs/docs-site/content/administrator/configuration/connectors/_index.md

@@ -477,6 +477,15 @@ If using security:
     options='{"url": "phoenix://sql-phoenix.gethue.com:8765", "tls": true, "connect_args": {"authentication": "SPNEGO", "verify": false }}'
     options='{"url": "phoenix://sql-phoenix.gethue.com:8765", "tls": true, "connect_args": {"authentication": "SPNEGO", "verify": false }}'
 
 
 
 
+Grant the appropriate hbase rights to the 'hue' user, e.g.:
+
+    grant 'hue', 'RWXCA'
+
+
+With impersonation:
+
+        options='{"url": "phoenix://sql-phoenix.gethue.com:8765", "has_impersonation": true}'
+
 **Notes**
 **Notes**
 
 
 1. Existing HBase tables need to be mapped to views
 1. Existing HBase tables need to be mapped to views