You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2022/02/27 16:00:33 UTC

[GitHub] [drill] cgivre opened a new pull request #2475: DRILL-8121: Add UserSession to StoragePlugins

cgivre opened a new pull request #2475:
URL: https://github.com/apache/drill/pull/2475


   # [DRILL-8121](https://issues.apache.org/jira/browse/DRILL-8121): Add UserSession to StoragePlugins
   
   ## Description
   
   One of the major limitations of Drill is that per-user credentials are not supported in non-Hadoop, or file system storage plugins. In conducting experiments, one of the major challenges preventing this was that there was no reliable way for a storage plugin to obtain the username of the user who submitted the query.
   
   This PR represents the first step in making this possible by passing the UserSession object down to the storage plugin instance. Thus for each query, the storage plugin can obtain the active user id. This does not affect any current Drill behavior, but will make it possible to implement per-user credentials for plugins such as JDBC, Splunk, ElasticSearch and others that do not have the concept of user impersonation.
   
   ## Documentation
   No user facing changes
   
   ## Testing
   Added unit tests.


-- 
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: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [drill] cgivre closed pull request #2475: DRILL-8121: Add UserSession to StoragePlugins

Posted by GitBox <gi...@apache.org>.
cgivre closed pull request #2475:
URL: https://github.com/apache/drill/pull/2475


   


-- 
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: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org