dobesv commented on issue #2001: DRILL-7547: Support credentials store for 
mongo connections
URL: https://github.com/apache/drill/pull/2001#issuecomment-592610782
 
 
   > 1. What happens if the user has multiple mongo storage plugins?  Are the 
creds carried over to all of them?  If a user specifies creds in the storage 
plugin config does it overwrite the config file?
   
   The configuration key is based on the plugin name, actually.  `mongo` is the 
default name for the storage plugin, but if you had another one named 
`mongo-prod` you would set `drill.exec.store.mongo-prod.username`.
   
   If the connection string already has credentials, this will not replace them.
   
   > 2. This isn't for this PR, but would it make sense for us to do this for 
other storage plugins that are not likely to have multiple instances?  Kudu, 
HBase or Hive for instance?
   
   I think it is an OK approach for any plugin that has credentials currently 
stored in ZooKeeper.  Note that the key I use is based on the plugin's name so 
you can setup multiple.
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to