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

Jian He commented on YARN-5122:
-------------------------------

It's not straightforward to add a unit test. I've tested locally. below is the 
output.
{code}
2016-06-13 10:53:17,041 INFO [main] org.apache.hadoop.mapred.MapTask: Map 
output collector class = org.apache.hadoop.mapred.MapTask$MapOutputBuffer

End of LogType:syslog. This log file belongs to a running container 
(container_e01_1465511453678_0004_02_000007) and so may not be complete.
{code}

> "yarn logs" for running containers should print an explicit footer saying 
> that the log may be incomplete
> --------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-5122
>                 URL: https://issues.apache.org/jira/browse/YARN-5122
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Jian He
>         Attachments: YARN-5122.1.patch, YARN-5122.1.patch, YARN-5122.2.patch, 
> YARN-5122.3.patch
>
>
> We can have a footer of the sort {quote}[This log file belongs to a running 
> container and so may not be complete..]{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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