A-little-bit-of-data commented on issue #6402:
URL: https://github.com/apache/kyuubi/issues/6402#issuecomment-2574545799

   > That sounds reasonable, and if you look at the code, it's easy to 
implement such a functionality.
   > 
   > 
https://github.com/apache/kyuubi/blob/v1.8.2/kyuubi-server/src/main/scala/org/apache/kyuubi/session/HadoopGroupProvider.scala#L32
   > 
   > For example, we can define a `kyuubi.session.preferGroup`, when it is 
present, we chose it instead of the first group as the user's primary group, or 
deny if the preferGroup is not valid.
   
   
   Hello, the changes here are good, but I have another question. If I set it 
through `kyuubi.session.preferGroup`, which is controlled globally in the` 
kyuubi-defaults.conf` file, what if I need multiple users, such as starting 
multiple spark SQLs?
   ```
   ## User provided Kyuubi configurations
   ___trino___.spark.app.name=trino
   ___trino___.spark.executor.instances=2
   ___trino___.spark.driver.cores=1
   ___trino___.spark.executor.cores=2
   ___trino___.spark.kubernetes.driver.limit.cores=2 
   ___trino___.spark.kubernetes.executor.limit.cores=4
    ___trino___.spark.driver.memory=1g
    ___trino___.spark.executor.memory=4g
   
    ___admin___.spark.app.name=sparksql-admin
    ___admin___.spark.executor.instances=1 
   ___admin___.spark.driver.cores=1
    ___admin___.spark.executor.cores=1
    ___admin___.spark.kubernetes.driver.limit.cores=1
    ___admin___.spark.kubernetes.executor.limit.cores=1
    ___admin___.spark.driver.memory=1g 
   ___admin___.spark.executor.memory=1g
   ```
   
   Can I configure one for each user?


-- 
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: notifications-unsubscr...@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org
For additional commands, e-mail: notifications-h...@kyuubi.apache.org

Reply via email to