From hdfs-issues-return-210125-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Tue Feb 13 06:48:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 8C64E180656 for ; Tue, 13 Feb 2018 06:48:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7BB06160C61; Tue, 13 Feb 2018 05:48:05 +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 C2845160C3F for ; Tue, 13 Feb 2018 06:48:04 +0100 (CET) Received: (qmail 39376 invoked by uid 500); 13 Feb 2018 05:48:03 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 39360 invoked by uid 99); 13 Feb 2018 05:48:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2018 05:48:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9757C1801AA for ; Tue, 13 Feb 2018 05:48:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 7Y7wUU4KhM82 for ; Tue, 13 Feb 2018 05:48:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2A48A5F522 for ; Tue, 13 Feb 2018 05:48:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 583D1E0047 for ; Tue, 13 Feb 2018 05:48:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 170DC21E84 for ; Tue, 13 Feb 2018 05:48:00 +0000 (UTC) Date: Tue, 13 Feb 2018 05:48:00 +0000 (UTC) From: "Rakesh R (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-13110) [SPS]: Reduce the number of APIs in NamenodeProtocol used by external satisfier MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-13110?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh R updated HDFS-13110: ---------------------------- Attachment: HDFS-13110-HDFS-10285-04.patch > [SPS]: Reduce the number of APIs in NamenodeProtocol used by external sat= isfier > -------------------------------------------------------------------------= ------ > > Key: HDFS-13110 > URL: https://issues.apache.org/jira/browse/HDFS-13110 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Rakesh R > Assignee: Rakesh R > Priority: Major > Attachments: HDFS-13110-HDFS-10285-00.patch, HDFS-13110-HDFS-1028= 5-01.patch, HDFS-13110-HDFS-10285-02.patch, HDFS-13110-HDFS-10285-03.patch,= HDFS-13110-HDFS-10285-04.patch > > > This task is to address the following=C2=A0[~daryn]'s comments. Please=C2= =A0refer=C2=A0HDFS-10285=C2=A0to see more detailed=C2=A0discussion. > *Comment-10)* > {quote} > NamenodeProtocolTranslatorPB > Most of the api changes appear unnecessary. > IntraSPSNameNodeContext#getFileInfo swallows all IOEs, based on assumptio= n that any and all IOEs means FNF which probably isn=E2=80=99t the intentio= n during rpc exceptions. > {quote} > =C2=A0*Comment-13)* > {quote} > StoragePolicySatisfier > It appears to make back-to-back calls to hasLowRedundancyBlocks and getF= ileInfo for every file. Haven=E2=80=99t fully groked the code, but if low r= edundancy is not the common case, then it shouldn=E2=80=99t be called unles= s/until needed. It looks like files that are under replicated are re-queued= again? > {quote} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org