You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Matyas Orhidi (Jira)" <ji...@apache.org> on 2020/06/08 07:40:00 UTC

[jira] [Updated] (KNOX-2379) Missing trailing slash for ApplicationMaster links on YARNUI/YARNUIV2

     [ https://issues.apache.org/jira/browse/KNOX-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matyas Orhidi updated KNOX-2379:
--------------------------------
    Description: 
The trailing slash is missing on the YARNUI/YARNUIV2 components for opening application UIs through the ApplicationMaster link. This results in blank pages in some cases when opening the application web UI, for example in Flink.

The issue is caused by a rewrite rule:

{code:xml}
<rule dir="OUT" name="YARNUIV2/yarnuiv2/outbound/proxy" pattern="*://*:*/proxy/{**}">
  <rewrite template="{$frontend[url]}/yarnuiv2/proxy/{**}"/>
</rule>
{code}

  was:
The trailing slash is missing on the YARNUI/YARNUIV2 components for opening application UIs through the ApplicationMaster link.

The issue is caused by a rewrite rule:

{code:xml}
<rule dir="OUT" name="YARNUIV2/yarnuiv2/outbound/proxy" pattern="*://*:*/proxy/{**}">
  <rewrite template="{$frontend[url]}/yarnuiv2/proxy/{**}"/>
</rule>
{code}


> Missing trailing slash for ApplicationMaster links on YARNUI/YARNUIV2
> ---------------------------------------------------------------------
>
>                 Key: KNOX-2379
>                 URL: https://issues.apache.org/jira/browse/KNOX-2379
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Matyas Orhidi
>            Priority: Major
>
> The trailing slash is missing on the YARNUI/YARNUIV2 components for opening application UIs through the ApplicationMaster link. This results in blank pages in some cases when opening the application web UI, for example in Flink.
> The issue is caused by a rewrite rule:
> {code:xml}
> <rule dir="OUT" name="YARNUIV2/yarnuiv2/outbound/proxy" pattern="*://*:*/proxy/{**}">
>   <rewrite template="{$frontend[url]}/yarnuiv2/proxy/{**}"/>
> </rule>
> {code}



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