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 831E617410 for ; Wed, 13 May 2015 18:59:01 +0000 (UTC) Received: (qmail 42967 invoked by uid 500); 13 May 2015 18:59:01 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 42923 invoked by uid 500); 13 May 2015 18:59:01 -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 42909 invoked by uid 99); 13 May 2015 18:59:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2015 18:59:01 +0000 Date: Wed, 13 May 2015 18:59:01 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-8323) Bump GenerationStamp for write faliure in DFSStripedOutputStream 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-8323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542451#comment-14542451 ] Jing Zhao commented on HDFS-8323: --------------------------------- Thanks for working on this, Nicholas! The patch looks good to me. Some comments but most of them can be done in separate jiras as follow-on work: # Currently when bumping the GS we close all existing streamers which is expensive. It will be nice we can reuse these connections. This may be a big change thus we can do it in separate jiras. # We can also do some code refactoring (in trunk maybe) to separate {{setupPipelineForAppendOrRecovery}} into multiple functions for handling different failure scenarios. +1 for the current patch. > Bump GenerationStamp for write faliure in DFSStripedOutputStream > ---------------------------------------------------------------- > > Key: HDFS-8323 > URL: https://issues.apache.org/jira/browse/HDFS-8323 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Tsz Wo Nicholas Sze > Assignee: Tsz Wo Nicholas Sze > Attachments: h8323_20150511.patch, h8323_20150511b.patch, h8323_20150512.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)