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

rohannimmagadda commented on KNOX-1988:
---------------------------------------

we are facing issue with yarnuiv2 new URL's so we ended up using to 
"yarn/nodemanager"  itself for spark history exector logs that works for us 

HDP version 2.5.3 ,Knox 1.4

 
{code:java}
<!-- re-write rules for yarn container logs -->
  <rule dir="OUT" 
name="SPARKHISTORYUI/sparkhistory/outbound/yarn/containerlogs" 
pattern="{scheme}://{host}:{port}/node/containerlogs/{**}">
    <rewrite 
template="{$frontend[url]}/yarn/nodemanager/node/containerlogs/{**}?{scheme}?{host}?{port}"/>
  </rule>  <rule dir="OUT" 
name="SPARKHISTORYUI/sparkhistory/outbound/yarn/containerlogs2" 
pattern="{scheme}://{host}:{port}/node/containerlogs/{**}?{**}">
    <rewrite 
template="{$frontend[url]}/yarn/nodemanager/node/containerlogs/{**}?{**}?{scheme}?{host}?{port}"/>
  </rule>
{code}

> [Spark History UI Service] Executor logs (stdout/stderr) links should point 
> to YARN UI v2
> -----------------------------------------------------------------------------------------
>
>                 Key: KNOX-1988
>                 URL: https://issues.apache.org/jira/browse/KNOX-1988
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Wing Yew Poon
>            Assignee: Wing Yew Poon
>            Priority: Minor
>             Fix For: 1.4.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> KNOX-1744 fixed the links but they point to the old YARN UI. They should 
> point to the YARN UI v2.



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

Reply via email to