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

chengpan pushed a commit to branch branch-1.9
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/branch-1.9 by this push:
     new 7db47f141 [KYUUBI #6288] [KYUUBI  #6283] Improve the message of 
distribution built without enabling web ui
7db47f141 is described below

commit 7db47f141c9e3db9bc924c44b914545ee87732d0
Author: dupeng <[email protected]>
AuthorDate: Thu Apr 11 13:42:03 2024 +0800

    [KYUUBI #6288] [KYUUBI  #6283] Improve the message of distribution built 
without enabling web ui
    
    # :mag: Description
    Improve message of distribution built without enabling web ui.
    ## Issue References ๐Ÿ”—
    
    This pull request fixes #6283
    
    ## Describe Your Solution ๐Ÿ”ง
    
    Here is my implement:
    
    <img width="1512" alt="image" 
src="https://github.com/apache/kyuubi/assets/34719039/fc5e859e-1c92-44a1-8e27-316986c5d9c3";>
    
    ## Types of changes :bookmark:
    
    - [x] Bugfix (non-breaking change which fixes an issue)
    - [ ] 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:
    
    #### Related Unit Tests
    
    ---
    
    # Checklist ๐Ÿ“
    
    - [ ] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
    
    **Be nice. Be informative.**
    
    Closes #6288 from dupen01/issue-6283.
    
    Closes #6288
    
    a5886e271 [dupeng] revise the message of page
    bad14a748 [dupeng] improve the message of distribution built without 
enabling web ui
    
    Authored-by: dupeng <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
    (cherry picked from commit e02be17b4eb1def27fc66036e9f49ad80c6f4221)
    Signed-off-by: Cheng Pan <[email protected]>
---
 kyuubi-server/src/main/resources/dist/index.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/kyuubi-server/src/main/resources/dist/index.html 
b/kyuubi-server/src/main/resources/dist/index.html
index ab54fc14a..9d2659f76 100644
--- a/kyuubi-server/src/main/resources/dist/index.html
+++ b/kyuubi-server/src/main/resources/dist/index.html
@@ -23,6 +23,10 @@
     <title>Apache Kyuubi Dashboard</title>
   </head>
   <body>
-    <div>This is a dummy page for development.</div>
+    <h2 style="text-align: center;">๐Ÿ™ The Web UI is currently unavailable.</h2>
+    <h4 style="text-align: center;">๐Ÿ‘‰ To enable Web UI, `--web-ui` is required 
when using `build/dist` tool to create binary distributions, e.g.</h4>
+    <pre style="text-align: center;"><code class="language-shell">
+./build/dist --tgz --web-ui --spark-provided --flink-provided --hive-provided
+</code></pre>
   </body>
 </html>

Reply via email to