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 C9B5217B9D for ; Fri, 27 Mar 2015 23:49:58 +0000 (UTC) Received: (qmail 67123 invoked by uid 500); 27 Mar 2015 23:49:53 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 67070 invoked by uid 500); 27 Mar 2015 23:49:53 -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 67058 invoked by uid 99); 27 Mar 2015 23:49:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2015 23:49:53 +0000 Date: Fri, 27 Mar 2015 23:49:53 +0000 (UTC) From: "Haohui Mai (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7748) Separate ECN flags from the Status in the DataTransferPipelineAck 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-7748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14384909#comment-14384909 ] Haohui Mai commented on HDFS-7748: ---------------------------------- I take a quick crack based on Anu's work. The only significant difference is that the code combines the bits into the flags which result in better encoding efficiency in protobuf (2 bytes per flags vs. 5bytes). [~anu], does it look good to you? > Separate ECN flags from the Status in the DataTransferPipelineAck > ----------------------------------------------------------------- > > Key: HDFS-7748 > URL: https://issues.apache.org/jira/browse/HDFS-7748 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Haohui Mai > Assignee: Anu Engineer > Priority: Blocker > Attachments: HDFS-7748.007.patch, hdfs-7748.001.patch, hdfs-7748.002.patch, hdfs-7748.003.patch, hdfs-7748.004.patch, hdfs-7748.005.patch, hdfs-7748.006.patch, hdfs-7748.branch-2.7.006.patch > > > Prior to the discussions on HDFS-7270, the old clients might fail to talk to the newer server when ECN is turned on. This jira proposes to separate the ECN flags in a separate protobuf field to make the ack compatible on both versions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)