[
https://issues.apache.org/jira/browse/DRILL-7579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17377219#comment-17377219
]
Christian Pfarr commented on DRILL-7579:
----------------------------------------
Yes this is already usable. (at least in 1.16)
We did this via drill-overrride.conf with following snippet:
{code:java}
drill.exec: {
cluster-id: "drillcluster",
...
}
security.admin: {
users: "drill",
user_groups: "hadoop"
}
{code}
I cannot say something about the documentation. I found this in
drill-override-example.conf
> Specifying initial admin user with authentication enabled is impossible /
> undocumented
> --------------------------------------------------------------------------------------
>
> Key: DRILL-7579
> URL: https://issues.apache.org/jira/browse/DRILL-7579
> Project: Apache Drill
> Issue Type: Improvement
> Components: Security
> Affects Versions: 1.17.0
> Reporter: Dobes Vandermeer
> Priority: Major
>
> The documentation doesn't really give a clear path forward if you have
> enabled authentication but don't have any admin users already set up. You
> cannot use ALTER SYSTEM to add an admin user if you are not already an admin
> user.
> It would be good if there was a way to specify admin users in
> drill-override.conf. If this is already possible, it would be good to update
> the docs to clarify that.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)