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

Kevin Risden commented on KNOX-1964:
------------------------------------

[~Prabhu Joseph] - looked through the patch and looks like this line duplicates 
the one above it:

{code:java}
 <rule dir="IN" name="YARNUI/yarn/inbound/nodemanager/containerlogs/container" 
pattern="*://*:*/**/yarn/nodemanager/node/containerlogs/{**}?{scheme}?{host}?{port}">
     <rewrite template="{scheme}://{host}:{port}/node/containerlogs/{**}"/>
 </rule>
+<rule dir="IN" name="YARNUI/yarn/inbound/nodemanager/node" 
pattern="*://*:*/**/yarn/nodemanager/node/containerlogs/{**}?{scheme}?{host}?{port}">
+    <rewrite template="{scheme}://{host}:{port}/node/containerlogs/{**}"/>
+</rule>
{code}

Is the new "YARNUI/yarn/inbound/nodemanager/node" necessary? Looks like it is 
the exact same with a sightly different name.

> YARN v1 UI - ContainerLogs link broken for Running Jobs
> -------------------------------------------------------
>
>                 Key: KNOX-1964
>                 URL: https://issues.apache.org/jira/browse/KNOX-1964
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Major
>         Attachments: KNOX-1964-001.patch, Screen Shot 2019-08-05 at 7.22.22 
> PM.png, Screen Shot 2019-08-05 at 7.22.46 PM.png
>
>
> YARN v1 UI - ContainerLogs link broken for Running Jobs. Attached Screenshots.
> {code:java}
> https://x.x.x.x:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e260_1564918656048_0004_01_000001/spark/stderr{code}
>  !Screen Shot 2019-08-05 at 7.22.22 PM.png|height=200|width=300!
>  !Screen Shot 2019-08-05 at 7.22.46 PM.png|height=200|width=300!



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to