You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2025/03/14 05:37:01 UTC

(spark) branch master updated: [SPARK-51509][CORE][UI] Make `Spark Master` Environment page support filters

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c66d2d946367 [SPARK-51509][CORE][UI] Make `Spark Master` Environment page support filters
c66d2d946367 is described below

commit c66d2d94636715be6171da4d8d316659ce409b81
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Mar 13 22:36:52 2025 -0700

    [SPARK-51509][CORE][UI] Make `Spark Master` Environment page support filters
    
    ### What changes were proposed in this pull request?
    
    This PR aims to support `filter` in `Spark Master`'s `Environment` page.
    - http://localhost:8080/environment/
    
    ### Why are the changes needed?
    
    This is an extension of the recent improvement.
    - #50233
    
    ### Does this PR introduce _any_ user-facing change?
    
    Yes, this is a new feature.
    
    <img width="352" alt="Screenshot 2025-03-13 at 21 25 04" src="https://github.com/user-attachments/assets/d8454012-dd11-49f5-8456-3436386f5e53" />
    
    <img width="523" alt="Screenshot 2025-03-13 at 21 23 33" src="https://github.com/user-attachments/assets/f8e312dd-855a-4c4e-8cfc-8861220dd26d" />
    
    ### How was this patch tested?
    
    Manual review.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #50274 from dongjoon-hyun/SPARK-51509.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .../main/scala/org/apache/spark/deploy/master/ui/EnvironmentPage.scala   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/src/main/scala/org/apache/spark/deploy/master/ui/EnvironmentPage.scala b/core/src/main/scala/org/apache/spark/deploy/master/ui/EnvironmentPage.scala
index c05b20d30b98..977f8cfae75e 100644
--- a/core/src/main/scala/org/apache/spark/deploy/master/ui/EnvironmentPage.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/master/ui/EnvironmentPage.scala
@@ -142,6 +142,7 @@ private[ui] class EnvironmentPage(
         <div class="aggregated-environmentVariables collapsible-table collapsed">
           {environmentVariablesTable}
         </div>
+        <script src={UIUtils.prependBaseUri(request, "/static/environmentpage.js")}></script>
       </span>
     UIUtils.basicSparkPage(request, content, "Environment")
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org