[ https://issues.apache.org/jira/browse/MAPREDUCE-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422806#comment-13422806 ]
Harsh J commented on MAPREDUCE-4481: ------------------------------------ No, MAPREDUCE-2415 should not have broken this: {code} public void cleanupStorage() throws IOException { - this.fConf.deleteLocalFiles(); + this.fConf.deleteLocalFiles(SUBDIR); + this.fConf.deleteLocalFiles(TT_PRIVATE_DIR); + this.fConf.deleteLocalFiles(TT_LOG_TMP_DIR); } {code} As we can see there, it now deletes specific sub-dirs instead of all of them, when cleaning the local dirs. > User Log Retention across TT restarts > ------------------------------------- > > Key: MAPREDUCE-4481 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4481 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: tasktracker > Affects Versions: 1.0.0 > Reporter: Benoy Antony > Assignee: Benoy Antony > Priority: Minor > > The tasktrackers cleanup the userlog directory when they restart. > This happens independent of value of mapred.userlog.retain.hours. > The feature is to add a configurable feature to respect > mapred.userlog.retain.hours across TT restarts -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira