From hdfs-issues-return-277749-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Thu Aug 15 17:50:02 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 90F61180645 for ; Thu, 15 Aug 2019 19:50:02 +0200 (CEST) Received: (qmail 33537 invoked by uid 500); 15 Aug 2019 17:50:01 -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 33525 invoked by uid 99); 15 Aug 2019 17:50:01 -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; Thu, 15 Aug 2019 17:50:01 +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 C95C9E304B for ; Thu, 15 Aug 2019 17:50: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 35ED827790 for ; Thu, 15 Aug 2019 17:50:00 +0000 (UTC) Date: Thu, 15 Aug 2019 17:50:00 +0000 (UTC) From: =?utf-8?Q?=C3=8D=C3=B1igo_Goiri_=28JIRA=29?= To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-14728) RBF: GetDatanodeReport causes a large GC pressure on the NameNodes 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-14728?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1690= 8352#comment-16908352 ]=20 =C3=8D=C3=B1igo Goiri commented on HDFS-14728: ------------------------------------ The checkstyle complain might point into the good direction... this constru= ctor is getting way too long. Can we do all this init in a function called {{initDNReportCache()}} or sim= ilar? > RBF: GetDatanodeReport causes a large GC pressure on the NameNodes > ------------------------------------------------------------------ > > Key: HDFS-14728 > URL: https://issues.apache.org/jira/browse/HDFS-14728 > Project: Hadoop HDFS > Issue Type: Improvement > Components: rbf > Reporter: xuzq > Assignee: xuzq > Priority: Major > Attachments: HDFS-14728-trunk-001.patch, HDFS-14728-trunk-002.pat= ch, HDFS-14728-trunk-003.patch, HDFS-14728-trunk-004.patch, HDFS-14728-trun= k-005.patch > > > When a cluster contains millions of DNs, *GetDatanodeReport* is pretty ex= pensive, and it will cause a large GC pressure on NameNode. > When multiple NSs share the millions DNs by federation and the router lis= tens to the NSs, the problem will be more serious. > All the NSs will be GC at the same time. > RBF should cache the datanode report informations and have an option to d= isable the cache. -- 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