This is an automated email from the ASF dual-hosted git repository.

yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 3677f3a26 [KYUUBI #5762] [DOC] Introduce Kyuubi Web UI Engine Page
3677f3a26 is described below

commit 3677f3a26e0088a95d80613ca380836585648f36
Author: hezhao2 <[email protected]>
AuthorDate: Fri Dec 1 18:00:13 2023 +0800

    [KYUUBI #5762] [DOC] Introduce Kyuubi Web UI Engine Page
    
    # :mag: Description
    ## Issue References ๐Ÿ”—
    
    This pull request fixes #5572
    
    ## Describe Your Solution ๐Ÿ”ง
    
    Introduce Kyuubi Web UI Engine Page as the screenshot shown.
    
    ## Types of changes :bookmark:
    
    - [ ] Bugfix (non-breaking change which fixes an issue)
    - [x] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
    
    ## Test Plan ๐Ÿงช
    
    #### Behavior Without This Pull Request :coffin:
    
    #### Behavior With This Pull Request :tada:
    
    <img width="835" alt="Screenshot 2023-11-27 at 10 39 55" 
src="https://github.com/apache/kyuubi/assets/32693629/363426e8-9808-4fd7-a711-2f0f80164147";>
    
    #### Related Unit Tests
    
    ---
    
    # Checklists
    ## ๐Ÿ“ Author Self Checklist
    
    - [x] My code follows the [style 
guidelines](https://kyuubi.readthedocs.io/en/master/contributing/code/style.html)
 of this project
    - [x] I have performed a self-review
    - [x] I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] My changes generate no new warnings
    - [ ] I have added tests that prove my fix is effective or that my feature 
works
    - [ ] New and existing unit tests pass locally with my changes
    - [ ] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
    
    ## ๐Ÿ“ Committer Pre-Merge Checklist
    
    - [x] Pull request title is okay.
    - [x] No license issues.
    - [x] Milestone correctly set?
    - [x] Test coverage is ok
    - [x] Assignees are selected.
    - [x] Minimum number of approvals
    - [x] No changes are requested
    
    **Be nice. Be informative.**
    
    Closes #5762 from zhaohehuhu/dev-1123.
    
    Closes #5762
    
    4a85af03e [hezhao2] compress picture
    5aed43e63 [hezhao2] refactor
    16d2d2f83 [hezhao2] reformat
    ad9c30bf1 [hezhao2] Introduce Kyuubi Web UI Engine Page
    
    Authored-by: hezhao2 <[email protected]>
    Signed-off-by: Kent Yao <[email protected]>
---
 docs/client/ui/engine_ui.md |  39 +++++++++++++++++++++++++++++++++++++++
 docs/client/ui/index.rst    |   2 +-
 docs/imgs/ui/engine_ui.png  | Bin 0 -> 27933 bytes
 3 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/docs/client/ui/engine_ui.md b/docs/client/ui/engine_ui.md
new file mode 100644
index 000000000..312606eca
--- /dev/null
+++ b/docs/client/ui/engine_ui.md
@@ -0,0 +1,39 @@
+<!--
+- 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.
+-->
+
+# Engine UI
+
+This engine UI is able to help you understand status of the engine behind 
Kyuubi servers.
+
+## Engine Management Details
+
+The Engine UI offers an Engine Management feature on the left side of UI page. 
This allows users to access detailed information about the engines.
+However, not all available engines are displayed by default. Thus, users have 
to add correct filter conditions to get engines they prefer. After setting the 
right conditions, please click on 'search' button.
+The engines that meet your specified requirements should be listed on the page 
as the below picture shown.
+
+![workspace](../../imgs/ui/engine_ui.png)
+
+| Name           | Description                                                 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
+|:---------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 [...]
+| Engine address | The engine IP address                                       
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
+| Engine ID      | The unique identifier of engine                             
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
+| Engine Type    | The engine types(only SPARK-SQL engine can be shown in this 
page now)                                                                       
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
+| Share Level    | The share level of engine, such as user, connection, group 
and server                                                                      
                                                                                
                                                                                
                                                                                
                                                                                
               [...]
+| User           | The user created the engine                                 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
+| Version        | The version of the Kyuubi server associated with this 
engine                                                                          
                                                                                
                                                                                
                                                                                
                                                                                
                    [...]
+| Operation      | Extra operations that users can do further.<br/> 1. View 
native engine UI<br/>find and select the engine you wish to view its native UI. 
<br/>clink on the view button, you should be redirected to the native engine UI 
powered by Kyuubi proxy.  <br/>2. Delete the specified engine gracefully 
<br/>select the specific engine you would like to delete from the Engine 
Management page. <br/>click on delete button and confirm your choice, then the 
engine will be remove from serv [...]
+
diff --git a/docs/client/ui/index.rst b/docs/client/ui/index.rst
index 63a02cbd4..7ac3b9d28 100644
--- a/docs/client/ui/index.rst
+++ b/docs/client/ui/index.rst
@@ -20,5 +20,5 @@ Web UI
 .. toctree::
     :maxdepth: 2
 
-    hive_beeline
+    engine_ui
 
diff --git a/docs/imgs/ui/engine_ui.png b/docs/imgs/ui/engine_ui.png
new file mode 100644
index 000000000..a0044b4dc
Binary files /dev/null and b/docs/imgs/ui/engine_ui.png differ

Reply via email to