Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7D6B3200CC9 for ; Mon, 17 Jul 2017 10:15:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7BDFB1647F7; Mon, 17 Jul 2017 08:15:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C9A611647F0 for ; Mon, 17 Jul 2017 10:15:05 +0200 (CEST) Received: (qmail 84551 invoked by uid 500); 17 Jul 2017 08:15:04 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 84538 invoked by uid 99); 17 Jul 2017 08:15:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2017 08:15:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C60C61A084A for ; Mon, 17 Jul 2017 08:15:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Z7GUqyw-LefI for ; Mon, 17 Jul 2017 08:15:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4D5FC5FCB0 for ; Mon, 17 Jul 2017 08:15:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 08764E0E26 for ; Mon, 17 Jul 2017 08:15:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4B04724765 for ; Mon, 17 Jul 2017 08:15:00 +0000 (UTC) Date: Mon, 17 Jul 2017 08:15:00 +0000 (UTC) From: "Sunil G (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-6889) Add Job#close API to shutdown MR client services. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 17 Jul 2017 08:15:06 -0000 [ https://issues.apache.org/jira/browse/MAPREDUCE-6889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sunil G updated MAPREDUCE-6889: ------------------------------- Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 3.0.0-beta1 2.9.0 Status: Resolved (was: Patch Available) Thanks [~rohithsharma]. Committed to trunk/branch-2. and thanks [~jlowe] for the reviews. > 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-unsubscribe@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org