Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D385C1801C for ; Tue, 23 Feb 2016 11:56:52 +0000 (UTC) Received: (qmail 79640 invoked by uid 500); 23 Feb 2016 11:56:18 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 79588 invoked by uid 500); 23 Feb 2016 11:56:18 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 79525 invoked by uid 99); 23 Feb 2016 11:56:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2016 11:56:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 284452C1F60 for ; Tue, 23 Feb 2016 11:56:18 +0000 (UTC) Date: Tue, 23 Feb 2016 11:56:18 +0000 (UTC) From: "Lin Yiqun (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9812) Streamer threads leak if failure happens when closing the dfsoutputstream MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-9812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15158765#comment-15158765 ] Lin Yiqun commented on HDFS-9812: --------------------------------- Thanks [~ajisakaa] for comments. Updating the latest patch and removing unnecessary code. > Streamer threads leak if failure happens when closing the dfsoutputstream > ------------------------------------------------------------------------- > > Key: HDFS-9812 > URL: https://issues.apache.org/jira/browse/HDFS-9812 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs-client > Affects Versions: 2.7.1 > Reporter: Lin Yiqun > Assignee: Lin Yiqun > Attachments: HDFS-9812.002.patch, HDFS-9812.003.patch, HDFS.001.patch > > > In HDFS-9794, it has solved problem of that stream thread leak if failure happens when closing the striped outputstream. And in {{DfsOutpuStream}}, it also exists the same problem in {{DfsOutpuStream#closeImpl}}. If failures happen when flushing data blocks, the streamer threads will also not be closed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)