From hdfs-issues-return-272467-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Wed Jul 17 11:13:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id BDAA418060E for ; Wed, 17 Jul 2019 13:13:03 +0200 (CEST) Received: (qmail 89815 invoked by uid 500); 17 Jul 2019 11:13:02 -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 89735 invoked by uid 99); 17 Jul 2019 11:13:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2019 11:13:02 +0000 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 1F98EE2EFA for ; Wed, 17 Jul 2019 11:13:01 +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 AEF1C2658B for ; Wed, 17 Jul 2019 11:13:00 +0000 (UTC) Date: Wed, 17 Jul 2019 11:13:00 +0000 (UTC) From: "Chen Zhang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-14657) Refine NameSystem lock usage during processing FBR 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-14657?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Chen Zhang updated HDFS-14657: ------------------------------ Status: Patch Available (was: Open) > Refine NameSystem lock usage during processing FBR > -------------------------------------------------- > > Key: HDFS-14657 > URL: https://issues.apache.org/jira/browse/HDFS-14657 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Chen Zhang > Assignee: Chen Zhang > Priority: Major > Attachments: HDFS-14657-001.patch > > > The disk with 12TB capacity is very normal today, which means the FBR siz= e is much larger than before, Namenode holds the NameSystemLock during proc= essing block report for each storage, which might take quite a long time. > On our production environment, processing large FBR usually cause a longe= r RPC queue time, which impacts client latency, so we did some simple work = on refining the lock usage, which improved the p99 latency=C2=A0significant= ly. > In our solution, BlockManager release the NameSystem write lock and reque= st it again for every 5000 blocks(by default) during processing FBR, with t= he fair lock, all the RPC request can be processed before BlockManager re-a= cquire the write lock. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org