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 0C7D217AE7 for ; Mon, 2 Mar 2015 17:03:20 +0000 (UTC) Received: (qmail 61615 invoked by uid 500); 2 Mar 2015 17:03:07 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 61568 invoked by uid 500); 2 Mar 2015 17:03:07 -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 61555 invoked by uid 99); 2 Mar 2015 17:03:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 17:03:07 +0000 Date: Mon, 2 Mar 2015 17:03:07 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-7210) Avoid two separate RPC's namenode.append() and namenode.getFileInfo() for an append call from DFSClient 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-7210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HDFS-7210: ----------------------------------- Fix Version/s: (was: 3.0.0) > Avoid two separate RPC's namenode.append() and namenode.getFileInfo() for an append call from DFSClient > ------------------------------------------------------------------------------------------------------- > > Key: HDFS-7210 > URL: https://issues.apache.org/jira/browse/HDFS-7210 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs-client, namenode > Reporter: Vinayakumar B > Assignee: Vinayakumar B > Fix For: 2.7.0 > > Attachments: HDFS-7210-001.patch, HDFS-7210-002.patch, HDFS-7210-003.patch, HDFS-7210-004.patch, HDFS-7210-005.patch, HDFS-7210-006.patch > > > Currently DFSClient does 2 RPCs to namenode for an append operation. > {{append()}} for re-opening the file and getting the last block, > {{getFileInfo()}} Another on to get HdfsFileState > If we can combine result of these 2 calls and make one RPC, then it can reduce load on NameNode. > For the backward compatibility we need to keep existing {{append()}} call as is -- This message was sent by Atlassian JIRA (v6.3.4#6332)