[ https://issues.apache.org/jira/browse/HADOOP-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528518 ]
Senthil Subramanian commented on HADOOP-1901: --------------------------------------------- stopTracker() calls close() and we want to put the cleanup code for all the systems started by JobTracker under here. We are working on a patch that logs hadoop metrics data into DFS using a simon aggregator that is launched by the JobTracker and this aggregator needs to be shutdown properly for it to close the DFS file (to make the file visible). There might be other use cases as well where people want to commit something before exit for a clean shutdown. > JobTracker.stopTracker() is not invoked when shutting down JobTracker using > bin/stop-{all,mapred}.sh > ---------------------------------------------------------------------------------------------------- > > Key: HADOOP-1901 > URL: https://issues.apache.org/jira/browse/HADOOP-1901 > Project: Hadoop > Issue Type: Bug > Components: mapred > Reporter: Senthil Subramanian > Assignee: Senthil Subramanian > Attachments: HADOOP-1901.patch > > > This can be fixed by adding a shutdown hook to the JobTracker RunTime that > invokes stopTracker(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.