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

Prabhu Joseph updated YARN-9725:
--------------------------------
    Description: 
[YARN UI2] Running Containers Logs from NM Local Dir are not shown in 
Applications - Logs Section. It shows only the aggregated log files for that 
container and does not show the log files which are present under NM Local Dir. 
YARN UI V1 was showing the log files from NM local dir.

On Analysis found, UI2 calls AHSWebServices /containers/{containerid}/logs 
without nm.id and so AHSWebServices does not fetch from NodeManager 
WebServices, it fetches only from Aggregated App Log Dir.

{color:#14892c}*UI2 Shows Only Aggregated Logs*{color}

!Running_Container_Logs.png|height=200!

{color:#14892c}*NM Local Dir Logs which are not shown*{color}

!NM_Local_Dir.png|height=200!

{color:#14892c}*UI1 Shown local dir logs*{color}

!YARN_UI_V1.png|height=200!

{color:#14892c}*UI2 does not show log for Container_2*{color}

!Running_Container2_UI.png|height=200!

{color:#14892c}*Container_2 has logs under NM Local Dir*{color}

!Running_Container_Log_Dir.png|height=200!





  was:
[YARN UI2] Running Containers Logs from NM Local Dir are not shown in 
Applications - Logs Section. It shows only the aggregated log files for that 
container and does not show the log files which are present under NM Local Dir. 
YARN UI V1 was showing the log files from NM local dir.

{color:#14892c}*UI2 Shows Only Aggregated Logs*{color}

!Running_Container_Logs.png|height=200!

{color:#14892c}*NM Local Dir Logs which are not shown*{color}

!NM_Local_Dir.png|height=200!

{color:#14892c}*UI1 Shown local dir logs*{color}

!YARN_UI_V1.png|height=200!

{color:#14892c}*UI2 does not show log for Container_2*{color}

!Running_Container2_UI.png|height=200!

{color:#14892c}*Container_2 has logs under NM Local Dir*{color}

!Running_Container_Log_Dir.png|height=200!



On Analysis found, UI2 calls AHSWebServices /containers/{containerid}/logs 
without nm.id and so AHSWebServices does not fetch from NodeManager 
WebServices, it fetches only from Aggregated App Log Dir.


> [YARN UI2] Running Containers Logs from NM Local Dir are not shown in 
> Applications - Logs Section
> -------------------------------------------------------------------------------------------------
>
>                 Key: YARN-9725
>                 URL: https://issues.apache.org/jira/browse/YARN-9725
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn-ui-v2
>    Affects Versions: 3.2.0
>            Reporter: Prabhu Joseph
>            Priority: Major
>         Attachments: NM_Local_Dir.png, Running_Container2_UI.png, 
> Running_Container_Log_Dir.png, Running_Container_Logs.png, YARN_UI_V1.png
>
>
> [YARN UI2] Running Containers Logs from NM Local Dir are not shown in 
> Applications - Logs Section. It shows only the aggregated log files for that 
> container and does not show the log files which are present under NM Local 
> Dir. YARN UI V1 was showing the log files from NM local dir.
> On Analysis found, UI2 calls AHSWebServices /containers/{containerid}/logs 
> without nm.id and so AHSWebServices does not fetch from NodeManager 
> WebServices, it fetches only from Aggregated App Log Dir.
> {color:#14892c}*UI2 Shows Only Aggregated Logs*{color}
> !Running_Container_Logs.png|height=200!
> {color:#14892c}*NM Local Dir Logs which are not shown*{color}
> !NM_Local_Dir.png|height=200!
> {color:#14892c}*UI1 Shown local dir logs*{color}
> !YARN_UI_V1.png|height=200!
> {color:#14892c}*UI2 does not show log for Container_2*{color}
> !Running_Container2_UI.png|height=200!
> {color:#14892c}*Container_2 has logs under NM Local Dir*{color}
> !Running_Container_Log_Dir.png|height=200!



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to