diff --git a/docs/client/advanced/features/engine_pool.rst b/docs/client/advanced/features/engine_pool.rst deleted file mode 100644 index ed97f3c98e4..00000000000 --- a/docs/client/advanced/features/engine_pool.rst +++ /dev/null @@ -1,18 +0,0 @@ -.. Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - -.. http://www.apache.org/licenses/LICENSE-2.0 - -.. Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -Enabling Kyuubi Engine Pool -=========================== - diff --git a/docs/deployment/engine_share_level.md b/docs/deployment/engine_share_level.md index 8e6c210efc5..f96e1723a09 100644 --- a/docs/deployment/engine_share_level.md +++ b/docs/deployment/engine_share_level.md @@ -42,12 +42,13 @@ With this feature, Kyuubi give you a more flexible way to handle different big d The current supported share levels are, -| Share Level | Syntax | Scenario | Isolation Degree | Shareability | -|----------------|------------------------------|------------------------------|----------------------------------------------|-----------------------| -| **CONNECTION** | One engine per session | Large-scale ETL Ad hoc | High | Low | -| **USER** | One engine per user | Ad hoc Small-scale ETL | Medium | Medium | -| **GROUP** | One engine per primary group | Ad hoc Small-scale ETL | Low | High | -| **SERVER** | One engine per cluster | Admin | Highest If Secured Lowest If Unsecured | Admin ONLY If Secured | +| Share Level | Syntax | Scenario | Isolation Degree | Shareability | +|------------------|------------------------------|------------------------------|----------------------------------------------|-----------------------| +| **CONNECTION** | One engine per session | Large-scale ETL Ad hoc | High | Low | +| **USER** | One engine per user | Ad hoc Small-scale ETL | Medium | Medium | +| **GROUP** | One engine per primary group | Ad hoc Small-scale ETL | Low | High | +| **SERVER_LOCAL** | One engine per Kyuubi server | Resource load balancing | Very Low | Very High | +| **SERVER** | One engine per cluster | Admin | Highest If Secured Lowest If Unsecured | Admin ONLY If Secured | - Better isolation degree of engines gives us better stability of an engine and the query executions running on it. - Better shareability of engines means we are more likely to reuse an engine which is already in full speed. @@ -167,6 +168,21 @@ The session user and the primary group name(as sparkUser/execute user) will be b By default, the sparkUser will be used to check the YARN/HDFS ACLs. If you want fine-grained access control for session user, you need to get it from `SparkContext.getLocalProperty("kyuubi.session.user")` and send it to security service, like Apache Ranger. +### SERVER_LOCAL + +
+ + +