You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/08/15 20:06:00 UTC
[jira] [Commented] (KNOX-1744) [Spark History UI Service] Executor
logs (stdout/stderr) links are broken
[ https://issues.apache.org/jira/browse/KNOX-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908444#comment-16908444 ]
ASF subversion and git services commented on KNOX-1744:
-------------------------------------------------------
Commit 51d25c541f4ff47b6bf85d507477970518d415da in knox's branch refs/heads/master from Wing Yew Poon
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=51d25c5 ]
KNOX-1988 - In Spark History Server UI, make links for Executor logs point to YARN UI v2 (#132)
KNOX-1744 fixed the links but made them point to the old YARN UI.
Change the links to point to YARN UI v2.
> [Spark History UI Service] Executor logs (stdout/stderr) links are broken
> --------------------------------------------------------------------------
>
> Key: KNOX-1744
> URL: https://issues.apache.org/jira/browse/KNOX-1744
> Project: Apache Knox
> Issue Type: Bug
> Affects Versions: 1.2.0, 1.3.0
> Reporter: Nicolas Colomer
> Assignee: Ankur Gupta
> Priority: Minor
> Fix For: 1.4.0
>
> Attachments: image-2019-01-22-13-04-53-935.png, image-2019-01-22-13-11-55-412.png
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The executor logs (stdout/stderr) links from the Yarn UI Service all directly points to the slaves nodes.
> !image-2019-01-22-13-11-55-412.png!
> Eg. the link:
> {noformat}
> http://emr-slave-hostname:8042/node/containerlogs/container_1547901130703_0034_01_000001/hadoop/stdout?start=-4096{noformat}
> Should have been instead:
> {noformat}
> https://knox/gateway/cluster/yarn/nodemanager/node/containerlogs/container_1547901130703_0034_01_000001/hadoop?scheme=http&host=emr-slave-hostname&port=8042{noformat}
> And finally respect pattern:
> {noformat}
> https://knox/gateway/emr/yarn/nodemanager/node/containerlogs/{your container id}/hadoop?scheme=http&host={executor host}&port=8042 {noformat}
> I guess adding some voodoo in the Knox yarnui's [rewrite.xml|https://github.com/apache/knox/blob/master/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml] file might be enough to fix this.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)