You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by sm...@apache.org on 2026/09/21 12:17:37 UTC

(knox) branch master updated: KNOX-3474: Add spark4historyui Knox service definition (#1413)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 40097fc48 KNOX-3474: Add spark4historyui Knox service definition (#1413)
40097fc48 is described below

commit 40097fc48401f055a8c655ec56abdae4283714bc
Author: samuhasavak5 <sa...@gmail.com>
AuthorDate: Mon Sep 21 17:47:31 2026 +0530

    KNOX-3474: Add spark4historyui Knox service definition (#1413)
---
 .../new-desc-wizard/new-desc-wizard.component.ts   |   1 +
 .../Spark4HistoryUIServiceModelGenerator.java      |  38 ++++++++
 ...way.topology.discovery.cm.ServiceModelGenerator |   1 +
 .../cm/ClouderaManagerServiceDiscoveryTest.java    |  26 ++++++
 .../Spark4HistoryUIServiceModelGeneratorTest.java  |  54 +++++++++++
 .../services/spark4historyui/4.0.0/rewrite.xml     | 101 +++++++++++++++++++++
 .../services/spark4historyui/4.0.0/service.xml     |  48 ++++++++++
 .../resources/services/yarnui/2.7.0/rewrite.xml    |   3 +
 .../resources/services/yarnuiv2/3.0.0/rewrite.xml  |   3 +
 .../home/assets/service-logos/spark4historyui.png  | Bin 0 -> 67362 bytes
 10 files changed, 275 insertions(+)

diff --git a/gateway-admin-ui/admin-ui/app/new-desc-wizard/new-desc-wizard.component.ts b/gateway-admin-ui/admin-ui/app/new-desc-wizard/new-desc-wizard.component.ts
index b372ebc30..d19d53890 100644
--- a/gateway-admin-ui/admin-ui/app/new-desc-wizard/new-desc-wizard.component.ts
+++ b/gateway-admin-ui/admin-ui/app/new-desc-wizard/new-desc-wizard.component.ts
@@ -71,6 +71,7 @@ export class NewDescWizardComponent implements OnInit {
         'SOLR',
         'SPARKHISTORYUI',
         'SPARK3HISTORYUI',
+        'SPARK4HISTORYUI',
         'STORM',
         'STORM-LOGVIEWER',
         'SUPERSET',
diff --git a/gateway-discovery-cm/src/main/java/org/apache/knox/gateway/topology/discovery/cm/model/spark/Spark4HistoryUIServiceModelGenerator.java b/gateway-discovery-cm/src/main/java/org/apache/knox/gateway/topology/discovery/cm/model/spark/Spark4HistoryUIServiceModelGenerator.java
new file mode 100644
index 000000000..bc59b1bb3
--- /dev/null
+++ b/gateway-discovery-cm/src/main/java/org/apache/knox/gateway/topology/discovery/cm/model/spark/Spark4HistoryUIServiceModelGenerator.java
@@ -0,0 +1,38 @@
+/*
+ * 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.
+ */
+package org.apache.knox.gateway.topology.discovery.cm.model.spark;
+
+public class Spark4HistoryUIServiceModelGenerator extends SparkHistoryUIServiceModelGenerator {
+  public static final String SERVICE = "SPARK4HISTORYUI";
+  public static final String SERVICE_TYPE = "SPARK4_ON_YARN";
+  public static final String ROLE_TYPE = "SPARK4_YARN_HISTORY_SERVER";
+
+  @Override
+  public String getService() {
+    return SERVICE;
+  }
+
+  @Override
+  public String getServiceType() {
+    return SERVICE_TYPE;
+  }
+
+  @Override
+  public String getRoleType() {
+    return ROLE_TYPE;
+  }
+}
diff --git a/gateway-discovery-cm/src/main/resources/META-INF/services/org.apache.knox.gateway.topology.discovery.cm.ServiceModelGenerator b/gateway-discovery-cm/src/main/resources/META-INF/services/org.apache.knox.gateway.topology.discovery.cm.ServiceModelGenerator
index 45bec31ce..f4df9bde4 100644
--- a/gateway-discovery-cm/src/main/resources/META-INF/services/org.apache.knox.gateway.topology.discovery.cm.ServiceModelGenerator
+++ b/gateway-discovery-cm/src/main/resources/META-INF/services/org.apache.knox.gateway.topology.discovery.cm.ServiceModelGenerator
@@ -46,6 +46,7 @@ org.apache.knox.gateway.topology.discovery.cm.model.ranger.RangerUIServiceModelG
 org.apache.knox.gateway.topology.discovery.cm.model.solr.SolrServiceModelGenerator
 org.apache.knox.gateway.topology.discovery.cm.model.spark.SparkHistoryUIServiceModelGenerator
 org.apache.knox.gateway.topology.discovery.cm.model.spark.Spark3HistoryUIServiceModelGenerator
+org.apache.knox.gateway.topology.discovery.cm.model.spark.Spark4HistoryUIServiceModelGenerator
 org.apache.knox.gateway.topology.discovery.cm.model.yarn.JobHistoryUIServiceModelGenerator
 org.apache.knox.gateway.topology.discovery.cm.model.yarn.JobTrackerServiceModelGenerator
 org.apache.knox.gateway.topology.discovery.cm.model.yarn.ResourceManagerApiServiceModelGenerator
diff --git a/gateway-discovery-cm/src/test/java/org/apache/knox/gateway/topology/discovery/cm/ClouderaManagerServiceDiscoveryTest.java b/gateway-discovery-cm/src/test/java/org/apache/knox/gateway/topology/discovery/cm/ClouderaManagerServiceDiscoveryTest.java
index a87d30360..bcd258e86 100644
--- a/gateway-discovery-cm/src/test/java/org/apache/knox/gateway/topology/discovery/cm/ClouderaManagerServiceDiscoveryTest.java
+++ b/gateway-discovery-cm/src/test/java/org/apache/knox/gateway/topology/discovery/cm/ClouderaManagerServiceDiscoveryTest.java
@@ -70,6 +70,7 @@ import org.apache.knox.gateway.topology.discovery.cm.model.phoenix.PhoenixServic
 import org.apache.knox.gateway.topology.discovery.cm.model.ranger.RangerServiceModelGenerator;
 import org.apache.knox.gateway.topology.discovery.cm.model.solr.SolrServiceModelGenerator;
 import org.apache.knox.gateway.topology.discovery.cm.model.spark.Spark3HistoryUIServiceModelGenerator;
+import org.apache.knox.gateway.topology.discovery.cm.model.spark.Spark4HistoryUIServiceModelGenerator;
 import org.apache.knox.gateway.topology.discovery.cm.model.spark.SparkHistoryUIServiceModelGenerator;
 import org.apache.knox.gateway.topology.discovery.cm.model.zeppelin.ZeppelinServiceModelGenerator;
 import org.apache.knox.gateway.topology.discovery.cm.monitor.ClouderaManagerClusterConfigurationMonitor;
@@ -795,6 +796,16 @@ public class ClouderaManagerServiceDiscoveryTest {
     doTestSpark3HistoryUIDiscovery("spark-history-host", "18089", "18489", true);
   }
 
+  @Test
+  public void testSpark4HistoryUIDiscovery() {
+    doTestSpark4HistoryUIDiscovery("spark-history-host", "18090", "18490", false);
+  }
+
+  @Test
+  public void testSpark4HistoryUIDiscoverySSL() {
+    doTestSpark4HistoryUIDiscovery("spark-history-host", "18090", "18490", true);
+  }
+
   @Test
   public void testZeppelinDiscovery() {
     doTestZeppelinDiscovery("ZEPPELIN", false);
@@ -1234,6 +1245,21 @@ public class ClouderaManagerServiceDiscoveryTest {
                            roleProperties);
   }
 
+  private ServiceDiscovery.Cluster doTestSpark4HistoryUIDiscovery(final String  hostName,
+                                                                  final String  port,
+                                                                  final String  sslPort,
+                                                                  final boolean isSSL) {
+    Map<String, String> roleProperties = sparkHistoryUIRoleProperties(port, sslPort, isSSL);
+
+    return doTestDiscovery(hostName,
+                           "SPARK4_ON_YARN-1",
+                           Spark4HistoryUIServiceModelGenerator.SERVICE_TYPE,
+                           "SPAR4fcf419a-SPARK4_YARN_HISTORY_SERVER-12345",
+                           Spark4HistoryUIServiceModelGenerator.ROLE_TYPE,
+                           Collections.emptyMap(),
+                           roleProperties);
+  }
+
   private Map<String, String> sparkHistoryUIRoleProperties(final String  port,
                                                            final String  sslPort,
                                                            final boolean isSSL) {
diff --git a/gateway-discovery-cm/src/test/java/org/apache/knox/gateway/topology/discovery/cm/model/spark/Spark4HistoryUIServiceModelGeneratorTest.java b/gateway-discovery-cm/src/test/java/org/apache/knox/gateway/topology/discovery/cm/model/spark/Spark4HistoryUIServiceModelGeneratorTest.java
new file mode 100644
index 000000000..8b968d786
--- /dev/null
+++ b/gateway-discovery-cm/src/test/java/org/apache/knox/gateway/topology/discovery/cm/model/spark/Spark4HistoryUIServiceModelGeneratorTest.java
@@ -0,0 +1,54 @@
+/*
+ * 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.
+ */
+package org.apache.knox.gateway.topology.discovery.cm.model.spark;
+
+import org.apache.knox.gateway.topology.discovery.cm.ServiceModelGenerator;
+import org.apache.knox.gateway.topology.discovery.cm.model.AbstractServiceModelGeneratorTest;
+import org.junit.Test;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
+
+public class Spark4HistoryUIServiceModelGeneratorTest extends AbstractServiceModelGeneratorTest {
+
+  @Test
+  public void testServiceModelMetadata() {
+    final Map<String, String> serviceConfig = Collections.emptyMap();
+    final Map<String, String> roleConfig = new HashMap<>();
+    roleConfig.put(Spark4HistoryUIServiceModelGenerator.SSL_ENABLED, "false");
+    roleConfig.put(Spark4HistoryUIServiceModelGenerator.HISTORY_SERVER_PORT, "18090");
+    roleConfig.put(Spark4HistoryUIServiceModelGenerator.SSL_SERVER_PORT, "18490");
+
+    validateServiceModel(createServiceModel(serviceConfig, roleConfig), serviceConfig, roleConfig);
+  }
+
+  @Override
+  protected String getServiceType() {
+    return Spark4HistoryUIServiceModelGenerator.SERVICE_TYPE;
+  }
+
+  @Override
+  protected String getRoleType() {
+    return Spark4HistoryUIServiceModelGenerator.ROLE_TYPE;
+  }
+
+  @Override
+  protected ServiceModelGenerator newGenerator() {
+    return new Spark4HistoryUIServiceModelGenerator();
+  }
+
+}
diff --git a/gateway-service-definitions/src/main/resources/services/spark4historyui/4.0.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/spark4historyui/4.0.0/rewrite.xml
new file mode 100644
index 000000000..7fec7729c
--- /dev/null
+++ b/gateway-service-definitions/src/main/resources/services/spark4historyui/4.0.0/rewrite.xml
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+   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.
+-->
+<rules>
+  <rule dir="IN" name="SPARK4HISTORYUI/spark4history/inbound/root" pattern="*://*:*/**/spark4history/">
+    <rewrite template="{$serviceUrl[SPARK4HISTORYUI]}/"/>
+  </rule>
+  <rule dir="IN" name="SPARK4HISTORYUI/spark4history/inbound/path" pattern="*://*:*/**/spark4history/{**}">
+    <rewrite template="{$serviceUrl[SPARK4HISTORYUI]}/{**}"/>
+  </rule>
+  <rule dir="IN" name="SPARK4HISTORYUI/spark4history/inbound/simpleQuery" pattern="*://*:*/**/spark4history/?{**}">
+    <rewrite template="{$serviceUrl[SPARK4HISTORYUI]}/?{**}"/>
+  </rule>
+  <rule dir="IN" name="SPARK4HISTORYUI/spark4history/inbound/query" pattern="*://*:*/**/spark4history/{**}?{**}">
+    <rewrite template="{$serviceUrl[SPARK4HISTORYUI]}/{**}?{**}"/>
+  </rule>
+  <rule dir="IN" name="SPARK4HISTORYUI/spark4history/inbound/history" pattern="*://*:*/**/spark4history/history/{**}/?{**}">
+    <rewrite template="{$serviceUrl[SPARK4HISTORYUI]}/history/{**}/?{**}"/>
+  </rule>
+  <rule dir="IN" name="SPARK4HISTORYUI/spark4history/inbound/apps" pattern="*://*:*/**/spark4history/?{page}?{showIncomplete}">
+    <rewrite template="{$serviceUrl[SPARK4HISTORYUI]}/?{page}?{showIncomplete}"/>
+  </rule>
+
+  <rule dir="OUT" name="SPARK4HISTORYUI/spark4history/outbound/history" pattern="/history/{**}">
+    <rewrite template="{$frontend[url]}/spark4history/history/{**}"/>
+  </rule>
+  <rule dir="OUT" name="SPARK4HISTORYUI/spark4history/outbound/history/job" pattern="/history/{**}?{**}">
+    <rewrite template="{$frontend[url]}/spark4history/history/{**}?{**}"/>
+  </rule>
+
+  <rule dir="OUT" name="SPARK4HISTORYUI/spark4history/outbound/apps" pattern="/?{page}?{showIncomplete}">
+    <rewrite template="{$frontend[url]}/spark4history/?{page}?{showIncomplete}"/>
+  </rule>
+
+  <rule dir="OUT" name="SPARK4HISTORYUI/spark4history/outbound/headers/location">
+    <match pattern="*://*:*/history/{**}/?{**}"/>
+    <rewrite template="{$frontend[url]}/spark4history/history/{**}/?{**}"/>
+  </rule>
+  <rule flow="OR" dir="OUT" name="SPARK4HISTORYUI/spark4history/outbound/headers/jobs/location">
+    <match pattern="*://*:*/history/{**}/jobs">
+      <rewrite template="{$frontend[url]}/spark4history/history/{**}/jobs"/>
+    </match>
+    <match pattern="*://*:*/history/{**}/jobs/">
+      <rewrite template="{$frontend[url]}/spark4history/history/{**}/jobs/"/>
+    </match>
+  </rule>
+  <rule dir="IN" name="SPARK4HISTORYUI/spark4history/outbound/rqheaders/xfc">
+    <match pattern="{**}"/>
+    <rewrite template="/{**}/spark4history" />
+  </rule>
+
+  <filter name="SPARK4HISTORYUI/spark4history/outbound/headers">
+    <content type="application/x-http-headers">
+      <apply path="Location" rule="SPARK4HISTORYUI/spark4history/outbound/headers/location"/>
+    </content>
+  </filter>
+  <filter name="SPARK4HISTORYUI/spark4history/outbound/headers/jobs">
+    <content type="application/x-http-headers">
+      <apply path="Location" rule="SPARK4HISTORYUI/spark4history/outbound/headers/jobs/location"/>
+    </content>
+  </filter>
+  <filter name="SPARK4HISTORYUI/spark4history/outbound/rqheaders">
+    <content type="application/x-http-headers">
+      <apply path="X-Forwarded-Context" rule="SPARK4HISTORYUI/spark4history/outbound/rqheaders/xfc"/>
+    </content>
+  </filter>
+
+  <!-- re-write rule for location when SHS redirects to Knox SSO login page -->
+  <rule dir="OUT" name="SPARK4HISTORYUI/spark4history/outbound/headers/location/sso">
+    <match pattern="{scheme}://{host}:{port}/{gateway}/{knoxsso}/{api}/{v}/websso?originalUrl={**}"/>
+    <rewrite template="{scheme}://{host}:{port}/{gateway}/{knoxsso}/{api}/{v}/websso?originalUrl={$postfix[url,/spark4history/]}"/>
+  </rule>
+  <filter name="SPARK4HISTORYUI/spark4history/outbound/headers/sso/filter">
+    <content type="application/x-http-headers">
+      <apply path="Location" rule="SPARK4HISTORYUI/spark4history/outbound/headers/location/sso"/>
+    </content>
+  </filter>
+
+  <!-- re-write rules for yarn container logs -->
+  <rule dir="OUT" name="SPARK4HISTORYUI/spark4history/outbound/yarn/containerlogs" pattern="{scheme}://{host}:{port}/node/containerlogs/{**}">
+    <rewrite template="{$frontend[url]}/yarnuiv2/node/containerlogs/{**}?{scheme}?{host}?{port}"/>
+  </rule>
+
+  <rule dir="OUT" name="SPARK4HISTORYUI/spark4history/outbound/yarn/containerlogs2" pattern="{scheme}://{host}:{port}/node/containerlogs/{**}?{**}">
+    <rewrite template="{$frontend[url]}/yarnuiv2/node/containerlogs/{**}?{**}?{scheme}?{host}?{port}"/>
+  </rule>
+</rules>
diff --git a/gateway-service-definitions/src/main/resources/services/spark4historyui/4.0.0/service.xml b/gateway-service-definitions/src/main/resources/services/spark4historyui/4.0.0/service.xml
new file mode 100644
index 000000000..afda361c6
--- /dev/null
+++ b/gateway-service-definitions/src/main/resources/services/spark4historyui/4.0.0/service.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+   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.
+-->
+<service role="SPARK4HISTORYUI" name="spark4history" version="4.0.0">
+    <metadata>
+        <type>UI</type>
+        <context>/spark4history/</context>
+        <shortDesc>Spark 4 History Server Web UI</shortDesc>
+        <description>Spark 4 History Server Web UI provides a comprehensive view of: A list of scheduler stages and tasks - A summary of RDD sizes and memory usage - Environmental information - Information about the running executors.</description>
+    </metadata>
+    <routes>
+        <route path="/spark4history/">
+            <rewrite apply="SPARK4HISTORYUI/spark4history/outbound/rqheaders" to="request.headers"/>
+            <rewrite apply="SPARK4HISTORYUI/spark4history/outbound/headers/sso/filter" to="response.headers"/>
+        </route>
+        <route path="/spark4history/**">
+            <rewrite apply="SPARK4HISTORYUI/spark4history/outbound/rqheaders" to="request.headers"/>
+            <rewrite apply="SPARK4HISTORYUI/spark4history/outbound/headers/sso/filter" to="response.headers"/>
+        </route>
+        <route path="/spark4history/**?**"/>
+        <route path="/spark4history/history/**?**">
+            <rewrite apply="SPARK4HISTORYUI/spark4history/outbound/headers" to="response.headers"/>
+            <rewrite apply="SPARK4HISTORYUI/spark4history/outbound/rqheaders" to="request.headers"/>
+        </route>
+        <route path="/spark4history/history/**/?**">
+            <rewrite apply="SPARK4HISTORYUI/spark4history/outbound/headers/jobs" to="response.headers"/>
+            <rewrite apply="SPARK4HISTORYUI/spark4history/outbound/rqheaders" to="request.headers"/>
+        </route>
+        <route path="/spark4history/history/**/jobs/**?**">
+            <rewrite apply="SPARK4HISTORYUI/spark4history/outbound/headers/jobs" to="response.headers"/>
+            <rewrite apply="SPARK4HISTORYUI/spark4history/outbound/rqheaders" to="request.headers"/>
+        </route>
+    </routes>
+</service>
diff --git a/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml
index bd4243d65..d41f8e21e 100644
--- a/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml
@@ -152,6 +152,9 @@
     <match pattern="{scheme}://{host}:{port}/jobhistory/{**}">
         <rewrite template="{$frontend[url]}/jobhistory/{**}?{scheme}?{host}?{port}"/>
     </match>
+    <match pattern="*://*:*/history/{**}?spark4=true?{**}">
+        <rewrite template="{$frontend[url]}/spark4history/history/{**}?{**}"/>
+    </match>
     <match pattern="*://*:*/history/{**}?{**}">
         <rewrite template="{$frontend[url]}/sparkhistory/history/{**}?{**}"/>
     </match>
diff --git a/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
index cd9679609..6b8bd04bb 100644
--- a/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
@@ -371,6 +371,9 @@
     <match pattern="{scheme}://{host}:{port}/jobhistory/{**}">
       <rewrite template="{$frontend[url]}/jobhistory/{**}?{scheme}?{host}?{port}"/>
     </match>
+    <match pattern="*://*:*/history/{**}?spark4=true?{**}">
+      <rewrite template="{$frontend[url]}/spark4history/history/{**}?{**}"/>
+    </match>
     <match pattern="*://*:*/history/{**}?{**}">
       <rewrite template="{$frontend[url]}/sparkhistory/history/{**}?{**}"/>
     </match>
diff --git a/knox-homepage-ui/home/assets/service-logos/spark4historyui.png b/knox-homepage-ui/home/assets/service-logos/spark4historyui.png
new file mode 100644
index 000000000..5b4c2011b
Binary files /dev/null and b/knox-homepage-ui/home/assets/service-logos/spark4historyui.png differ