hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4773) Log aggregation performs extraneous filesystem operations when rolling log aggregation is disabled
Date Thu, 24 Mar 2016 18:55:25 GMT

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

Jason Lowe commented on YARN-4773:
----------------------------------

Patch looks good overall, just a few nits:
- getCleanupOldLogTimes should be package private, eliminating the need for the Private annotation
- Why was stdout changed to sysout in the test?  Seems unrelated.



> Log aggregation performs extraneous filesystem operations when rolling log aggregation
is disabled
> --------------------------------------------------------------------------------------------------
>
>                 Key: YARN-4773
>                 URL: https://issues.apache.org/jira/browse/YARN-4773
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.6.0
>            Reporter: Jason Lowe
>            Assignee: Jun Gong
>            Priority: Minor
>         Attachments: YARN-4773.01.patch
>
>
> I noticed when log aggregation occurs for an application the nodemanager is listing the
application's log directory in HDFS.  Apparently this is for removing old logs before uploading
new ones.  This is a wasteful operation when rolling log aggregation is disabled, since there
will be no prior logs in HDFS -- aggregation only occurs once when rolling log aggregation
is disabled.



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

Mime
View raw message