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

Kevin Risden commented on KNOX-2125:
------------------------------------

bq. Can I add lines to rewrite.xml  - once added do they automatically get 
picked up/

Any changes to service definitions (rewrite.xml/service.xml) require a Knox 
restart and then to touch the topology to get it to be regenerated.

bq. Happens in 1.3.0 Knox  .. WORKS in 1.2.0   Atleast I have a working 
solution ..

Here are the changes between Knox 1.2.0 and 1.3.0 for the Zeppelin service 
definitions.

{code:java}
# git log v1.2.0-release...v1.3.0-release -- 
gateway-service-definitions/src/main/resources/services/zeppelin*

commit 3e73a7a04eb71f00611a027ddcd5fea37ae34187
Author: Kevin Risden <[email protected]>
Date:   Thu Jun 13 14:30:13 2019 -0400

    KNOX-1876 - Zeppelin should default to trusted proxy for service definition 
(#100)
    
    Signed-off-by: Kevin Risden <[email protected]>

commit 3fd62231e51901073e5c9a44ef8a62394bd7c808
Author: Kevin Risden <[email protected]>
Date:   Mon Jun 3 13:16:42 2019 -0400

    KNOX-1870 - Zeppelin UI service definition service.xml has wrong version
    
    Signed-off-by: Kevin Risden <[email protected]>

commit fdeeec693e73a63e3470786eeda2eb3085a7f80c
Author: Shawn Weeks <[email protected]>
Date:   Fri Apr 26 08:50:08 2019 -0500

    KNOX-1827 - Knox Fails to Rewrite WebFonts for Zeppelin (#76)
{code}

The service definitions in Knox are versioned and we ship the old versions. You 
should be able to use Knox 1.3.0 and in the topology xml specify the service 
definition version. 

Something like this:


{code:java}
<service>
    <role>ZEPPELINUI</role>
    <url>...</url>
    <version>0.8.0</version>
</service>
<service>
    <role>ZEPPELINWS</role>
    <url>...</url>
    <version>0.6.0</version>
</service>
{code}


> Zeppelin 0.8.2 mapping error
> ----------------------------
>
>                 Key: KNOX-2125
>                 URL: https://issues.apache.org/jira/browse/KNOX-2125
>             Project: Apache Knox
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Daryl Erwin
>            Priority: Major
>
> Getting this error .. and it seems to mean it wont show the editor.
> 2019-11-14 15:49:10,442 WARN knox.gateway (GatewayFilter.java:doFilter(181)) 
> - Failed to match path /zeppelin/app.223f1250e5a93cdb5cdb.js.map
> 2019-11-14 15:49:10,564 WARN knox.gateway (GatewayFilter.java:doFilter(181)) 
> - Failed to match path /zeppelin/app.223f1250e5a93cdb5cdb.css.map



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to