You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "rohan (JIRA)" <ji...@apache.org> on 2019/05/30 20:01:00 UTC

[jira] [Updated] (KNOX-1869) Running job (nodemanager ) log links from yarn UI is broken though Knox 1.2

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

rohan updated KNOX-1869:
------------------------
    Description: 
It only happens for a running jobs since the urls are handled differently by the jobhistory,when you click on running jobs where href=/syslog , href=/syserr , href=/launch_container.sh etc , its not redirecting to correct URL.

Broken links from knox YARN UI:

Local logs:
   container-localizer-syslog : Total file length is 616 bytes.
         directory.info : Total file length is 19709 bytes.
         launch_container.sh : Total file length is 8269 bytes.
         prelaunch.err : Total file length is 0 bytes.
         prelaunch.out : Total file length is 100 bytes.
         stderr : Total file length is 1482 bytes.
         stdout : Total file length is 0 bytes.
         syslog : Total file length is 153374 bytes.
  

Correct URL:

{{[https://knox.URL:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e164_1558109307523_0101_01_000001/user-name/syslog/?start=0&scheme=http&host=nodemanager-hostname&port=8042|https://knox.url:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e164_1558109307523_0101_01_000001/user-name/syslog/?start=0&scheme=http&host=nodemanager-hostname&port=8042]}}

 

Wrong redirection URL : (Failing with sorry, got error 404)

{{[https://knox.URL:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e164_1558109307523_0101_01_000001/user-name/syslog|https://knox.url:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e164_1558109307523_0101_01_000001/user-name/syslog]}}

 

Tested on HDP 2.5.3 and HDP (3.1.1.3.1.0.53-1) not working either

  was:
It only happens for a running jobs since the urls are handled differently by the jobhistory,when you click on running jobs where href=/syslog , href=/syserr , href=/launch_container.sh etc , its not redirecting to correct URL.

Broken links from knox YARN UI:

Local logs:
        container-localizer-syslog : Total file length is 616 bytes.
        directory.info : Total file length is 19709 bytes.
        launch_container.sh : Total file length is 8269 bytes.
        prelaunch.err : Total file length is 0 bytes.
        prelaunch.out : Total file length is 100 bytes.
        stderr : Total file length is 1482 bytes.
        stdout : Total file length is 0 bytes.
        syslog : Total file length is 153374 bytes.
 

Correct URL:

{{https://knox.URL:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e164_1558109307523_0101_01_000001/user-name/syslog/?start=0&scheme=http&host=nodemanager-hostname&port=8042}}

 

Wrong redirection URL : (Failing with sorry, got error 404)

{{https://knox.URL:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e164_1558109307523_0101_01_000001/user-name/syslog}}

        Summary: Running job (nodemanager ) log links from yarn UI is broken though Knox 1.2  (was: Running job (nodemanager ) links from yarn UI is broken)

> Running job (nodemanager ) log links from yarn UI is broken though Knox 1.2
> ---------------------------------------------------------------------------
>
>                 Key: KNOX-1869
>                 URL: https://issues.apache.org/jira/browse/KNOX-1869
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: rohan
>            Priority: Major
>
> It only happens for a running jobs since the urls are handled differently by the jobhistory,when you click on running jobs where href=/syslog , href=/syserr , href=/launch_container.sh etc , its not redirecting to correct URL.
> Broken links from knox YARN UI:
> Local logs:
>    container-localizer-syslog : Total file length is 616 bytes.
>          directory.info : Total file length is 19709 bytes.
>          launch_container.sh : Total file length is 8269 bytes.
>          prelaunch.err : Total file length is 0 bytes.
>          prelaunch.out : Total file length is 100 bytes.
>          stderr : Total file length is 1482 bytes.
>          stdout : Total file length is 0 bytes.
>          syslog : Total file length is 153374 bytes.
>   
> Correct URL:
> {{[https://knox.URL:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e164_1558109307523_0101_01_000001/user-name/syslog/?start=0&scheme=http&host=nodemanager-hostname&port=8042|https://knox.url:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e164_1558109307523_0101_01_000001/user-name/syslog/?start=0&scheme=http&host=nodemanager-hostname&port=8042]}}
>  
> Wrong redirection URL : (Failing with sorry, got error 404)
> {{[https://knox.URL:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e164_1558109307523_0101_01_000001/user-name/syslog|https://knox.url:8443/gateway/default/yarn/nodemanager/node/containerlogs/container_e164_1558109307523_0101_01_000001/user-name/syslog]}}
>  
> Tested on HDP 2.5.3 and HDP (3.1.1.3.1.0.53-1) not working either



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)