[ 
https://issues.apache.org/jira/browse/KNOX-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116475#comment-18116475
 ] 

Arun Kumar M edited comment on KNOX-3473 at 9/21/26 7:12 AM:
-------------------------------------------------------------

Upstream PR: https://github.com/apache/knox/pull/1412
Depends on: https://github.com/apache/knox/pull/1411
Branch: samuhasavak5:KNOX-3473-livy-for-spark4
Build: mvn -pl gateway-service-definitions,gateway-discovery-cm -am test 
-DskipITs — BUILD SUCCESS (345/345 tests passed)

Manual verification:
- Verified on a test deployment with Knox Homepage and LIVY_FOR_SPARK4 
configured in the gateway topology.
- The Knox Homepage shows a dedicated Livy for Spark 4 tile with the Livy logo.
- Clicking the tile opens the Livy UI through the Knox gateway path 
/livy_for_spark4/.

 

!image-2026-09-18-01-09-03-277.png|width=980,height=615!


was (Author: JIRAUSER314139):
Upstream PR: https://github.com/apache/knox/pull/1411
Branch: samuhasavak5:KNOX-3472-livy-for-spark3
Build: mvn -pl gateway-service-definitions,gateway-discovery-cm -am test 
-DskipITs — BUILD SUCCESS

Manual verification:
- Verified on a test deployment with Knox Homepage and LIVY_FOR_SPARK3 
configured in the gateway topology.
- The Knox Homepage shows a dedicated Livy for Spark 3 tile with the Livy logo.
- Clicking the tile opens the Livy UI through the Knox gateway path 
/livy_for_spark3/.

 

!image-2026-09-18-01-09-03-277.png|width=980,height=615!

> Add Knox service definition for Livy for Spark 4 (livy_for_spark4)
> ------------------------------------------------------------------
>
>                 Key: KNOX-3473
>                 URL: https://issues.apache.org/jira/browse/KNOX-3473
>             Project: Apache Knox
>          Issue Type: Task
>            Reporter: Arun Kumar M
>            Priority: Major
>         Attachments: image-2026-09-18-01-09-03-277.png
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> *Summary*
> Add upstream Knox support for Livy for Spark 4 (role: LIVY_FOR_SPARK4).
>  
> *Depends on*
> KNOX-3472 (livy_for_spark3) — mirror the same structure with Spark 4 naming.
>  
> *Implementation*
> Mirror livy_for_spark3 with these identifiers:
>  
> | Item | Value |
> |------|-------|
> | Service role | LIVY_FOR_SPARK4 |
> | Service name / URL path | livy_for_spark4 |
> | CM service type | LIVY_FOR_SPARK4 |
> | CM role type | LIVY_SERVER_FOR_SPARK4 |
> | Discovery class | LivyForSpark4ServiceModelGenerator |
> | Dispatch | org.apache.knox.gateway.livy.LivyDispatch |
> | Icon | livyserver.png (same as Spark 3) |
>  
> *Scope (parallel file set to KNOX-3472)*
> - gateway-service-definitions/services/livy_for_spark4/0.6.0/service.xml + 
> rewrite.xml
> - gateway-discovery-cm/.../LivyForSpark4ServiceModelGenerator.java + unit 
> tests
> - META-INF/services ServiceModelGenerator registration
> - ClouderaManagerServiceDiscoveryTest for LIVY_FOR_SPARK4
> - gateway-admin-ui: add LIVY_FOR_SPARK4 to service role list
> - gateway-release/home/conf/gateway-site.xml: add LIVY_FOR_SPARK4 to 
> x-forwarded servicename list
>  
> *Out of scope*
> - Per-instance HA routing (same as KNOX-3472)
>  
> *Acceptance criteria*
> - livy_for_spark4 routes correctly through Knox proxy
> - CM discovery resolves LIVY_FOR_SPARK4 backend URLs
> - Service visible on Knox Homepage and Admin UI descriptor wizard
> - All new unit tests pass



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to