[ https://issues.apache.org/jira/browse/MAPREDUCE-6889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089488#comment-16089488 ]
Hudson commented on MAPREDUCE-6889: ----------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12018 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/12018/]) MAPREDUCE-6889. Add Job#close API to shutdown MR client services. (sunilg: rev fb3b5d33ffb29ee8e1ffbd2eee7a603a5777ebaf) * (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java * (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/TestMapperReducerCleanup.java > Add Job#close API to shutdown MR client services. > ------------------------------------------------- > > Key: MAPREDUCE-6889 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6889 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Rohith Sharma K S > Assignee: Rohith Sharma K S > Fix For: 2.9.0, 3.0.0-beta1 > > Attachments: MAPREDUCE-6889.0001.patch, MAPREDUCE-6889.0002.patch > > > ATS1.5 uses FileSystemTimelineWriter which creates FS object on every writer > initialization. If writer is not closed, then there is possibility of OOM see > YARN-5438 fixes closing FS object. > TimelineClient is used by YarnClient. So all the user who uses YarnClient > with ATS1.5 need to stop service properly. Otherwise there is big chance of > FS object leak. > Of course MR uses YARN client submit job. If MR do not stop YarnClient then > there is FS object leak. > JobClient provides a API to stop all these service using *JobClient#close*. > But many MR clients uses *Job* object to submit a job. But do not stop > started services by default. > So, provide a API *Job#close* to shutdown MR client services. This API can be > utilized by caller explicitly to stop service which avoids FS leak. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org