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

Robert Kanter commented on MAPREDUCE-6415:
------------------------------------------

I didn't realize that that can happen.  In that case, having a monotonically 
increasing number in each container's env independent of the CONTAINER_ID 
sounds like a good solution.  Plus, I won't have to do any parsing to get the 
unique number.

I'll double check, but I think each shell has the same env (other than the 
CONTAINER_ID), and there's no way to set different ones per shell.  If that's 
the case, it should be fairly easy to add a "SHELL_ID" env var to the 
DistributedShell AM that behaves how we want, as a separate JIRA.  

> Create a tool to combine aggregated logs into HAR files
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-6415
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6415
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>    Affects Versions: 2.8.0
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>         Attachments: HAR-ableAggregatedLogs_v1.pdf, 
> MAPREDUCE-6415_branch-2_prelim_001.patch, MAPREDUCE-6415_prelim_001.patch
>
>
> While we wait for YARN-2942 to become viable, it would still be great to 
> improve the aggregated logs problem.  We can write a tool that combines 
> aggregated log files into a single HAR file per application, which should 
> solve the too many files and too many blocks problems.  See the design 
> document for details.
> See YARN-2942 for more context.



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

Reply via email to