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 88CB1200BBE for ; Fri, 28 Oct 2016 02:46:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 87503160B01; Fri, 28 Oct 2016 00:46:00 +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 D0B05160AF6 for ; Fri, 28 Oct 2016 02:45:59 +0200 (CEST) Received: (qmail 63639 invoked by uid 500); 28 Oct 2016 00:45:59 -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 63623 invoked by uid 99); 28 Oct 2016 00:45:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2016 00:45:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C85752C2A6B for ; Fri, 28 Oct 2016 00:45:58 +0000 (UTC) Date: Fri, 28 Oct 2016 00:45:58 +0000 (UTC) From: "Hudson (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-2631) Potential resource leaks in BinaryProtocol$TeeOutputStream.java MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 28 Oct 2016 00:46:00 -0000 [ https://issues.apache.org/jira/browse/MAPREDUCE-2631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15613822#comment-15613822 ] Hudson commented on MAPREDUCE-2631: ----------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10714 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10714/]) MAPREDUCE-2631. Potential resource leaks in (naganarasimha_gr: rev 28660f51af161a9fa301523d96a6f8ae4ebd6edd) * (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/pipes/BinaryProtocol.java * (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestIFileStreams.java * (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/IFileOutputStream.java > Potential resource leaks in BinaryProtocol$TeeOutputStream.java > --------------------------------------------------------------- > > Key: MAPREDUCE-2631 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2631 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 0.23.0 > Reporter: Ravi Teja Ch N V > Assignee: Sunil G > Fix For: 2.8.0, 2.9.0, 3.0.0-alpha2 > > Attachments: 0001-MAPREDUCE-2631.patch, 0002-MAPREDUCE-2631.patch, 0003-MAPREDUCE-2631.patch, 0004-MAPREDUCE-2631.patch, MAPREDUCE-2631.0005.patch, MAPREDUCE-2631.0006.patch, MAPREDUCE-2631.0007.patch, MAPREDUCE-2631.02.patch, MAPREDUCE-2631.1.patch, MAPREDUCE-2631.2.patch, MAPREDUCE-2631.3.patch, MAPREDUCE-2631.patch > > > {code:title=BinaryProtocol$TeeOutputStream.java|borderStyle=solid} > public void close() throws IOException { > flush(); > file.close(); > out.close(); > } > {code} > In the above code, if the file.close() throws any exception out will not be closed. > -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org