From hdfs-issues-return-277261-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Tue Aug 13 10:56: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 CA6971804BB for ; Tue, 13 Aug 2019 12:56:01 +0200 (CEST) Received: (qmail 90464 invoked by uid 500); 13 Aug 2019 10:56: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 90451 invoked by uid 99); 13 Aug 2019 10:56: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; Tue, 13 Aug 2019 10:56: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 63682E2E58 for ; Tue, 13 Aug 2019 10:56: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 1604827771 for ; Tue, 13 Aug 2019 10:56:00 +0000 (UTC) Date: Tue, 13 Aug 2019 10:56:00 +0000 (UTC) From: "xuzq (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Commented]_(HDFS-14728)_RBF=EF=BC=9AGetDatanodeR?= =?utf-8?Q?eport_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= 6074#comment-16906074 ]=20 xuzq commented on HDFS-14728: ----------------------------- Thanks [~zhangchen]. I think we can cache the datanode report in RouterRpcServer like NamenodeBe= anMetrics. NamenodeBeanMetrics and=C2=A0RBFMetrics can get datanode report from the ca= che in RouterRpcServer. > RBF=EF=BC=9AGetDatanodeReport 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 > Priority: Major > > 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