[
https://issues.apache.org/jira/browse/DRILL-8061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17480647#comment-17480647
]
ASF GitHub Bot commented on DRILL-8061:
---------------------------------------
vdiravka commented on a change in pull request #2422:
URL: https://github.com/apache/drill/pull/2422#discussion_r790288210
##########
File path: contrib/storage-phoenix/README.md
##########
@@ -87,6 +79,16 @@ Tips :
}
```
+### Impersonation
+Configurations :
+1. Enable [Drill User
Impersonation](https://drill.apache.org/docs/configuring-user-impersonation/)
+2. Enable [PQS
Impersonation](https://phoenix.apache.org/server.html#Impersonation)
+3. PQS URL:
+ 1. Provide `host` and `port` and Drill will generate the PQS URL with a doAs
parameter of current session user
+ 2. Provide the `jdbcURL` with a `doAs` url param and `$user` placeholder as
a value, for instance:
Review comment:
Hi Christian,
`doAs=$user` is adding automatically in case the first approach of
configuring PQS is chosen - `host` and `port`. As Paul mentioned
[earlier](https://github.com/apache/drill/pull/2332#discussion_r758116891) in
the original PR #2332 for Phoenix plugin, the second approach is more advanced
case and for more manual configuration. So I preferred to avoid automagic
change of the final URL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Add Impersonation Support for Phoenix
> -------------------------------------
>
> Key: DRILL-8061
> URL: https://issues.apache.org/jira/browse/DRILL-8061
> Project: Apache Drill
> Issue Type: Sub-task
> Components: Storage - Other
> Reporter: Cong Luo
> Assignee: Vitalii Diravka
> Priority: Major
> Fix For: 1.20.0
>
>
> *Discussion:*
> * [https://github.com/apache/drill/issues/2296]
> *Documentation:*
> * [https://phoenix.apache.org/server.html#Impersonation]
> * [https://drill.apache.org/docs/configuring-user-impersonation]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)