Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C63E17A3B for ; Sat, 28 Mar 2015 11:46:06 +0000 (UTC) Received: (qmail 71020 invoked by uid 500); 28 Mar 2015 11:46:00 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 70895 invoked by uid 500); 28 Mar 2015 11:46:00 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 70884 invoked by uid 99); 28 Mar 2015 11:46:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Mar 2015 11:46:00 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brahmareddy.battula@huawei.com designates 119.145.14.65 as permitted sender) Received: from [119.145.14.65] (HELO szxga02-in.huawei.com) (119.145.14.65) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Mar 2015 11:45:55 +0000 Received: from 172.24.2.119 (EHLO szxeml431-hub.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CJB86717; Sat, 28 Mar 2015 19:42:23 +0800 (CST) Received: from SZXEML510-MBX.china.huawei.com ([169.254.3.192]) by szxeml431-hub.china.huawei.com ([10.82.67.208]) with mapi id 14.03.0158.001; Sat, 28 Mar 2015 19:42:20 +0800 From: Brahma Reddy Battula To: "user@hadoop.apache.org" Subject: RE: How to know when datanode are marked dead by namenode Thread-Topic: How to know when datanode are marked dead by namenode Thread-Index: AQHQaUhAHHfq2A+bhEeRB++jJLlfkJ0xxb/C Date: Sat, 28 Mar 2015 11:42:20 +0000 Message-ID: <8AD4EE147886274A8B495D6AF407DF69812444CA@szxeml510-mbx.china.huawei.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.18.144.148] Content-Type: multipart/alternative; boundary="_000_8AD4EE147886274A8B495D6AF407DF69812444CAszxeml510mbxchi_" MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org --_000_8AD4EE147886274A8B495D6AF407DF69812444CAszxeml510mbxchi_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable HI The NameNode updates this detail after 10.30 minutes by default. You can se= e the dead and live datanodes at that time. It computes this heartbeatExpireInterval time by the following formula heartbeatExpireInterval =3D 2 * heartbeatRecheckInterval + 10 * 1000* heartbeatInterval where heartbeatRecheckInterval is defined by the configuration dfs.namenode= .heartbeat.recheck-interval which is 5 minutes by default and heartbeatInte= rval by dfs.heartbeat.interval which is 3 seconds by default. Hence heartbeatExpireInterval =3D 10.30 minutes SO If you want keep more time, you can configure dfs.namenode.heartbeat.rec= heck-interval based one your requirement.. Thanks & Regards Brahma Reddy Battula ________________________________ From: Himawan Mahardianto [mahardianto@ugm.ac.id] Sent: Saturday, March 28, 2015 4:42 PM To: user@hadoop.apache.org Subject: How to know when datanode are marked dead by namenode Hi guys I'm newbie here, do you know how to time calculation when datanode = are marked dead by namenode, what parameters on HDFS-SITE.xml should I look= for to calculate it, and how can I reduce dead time from default 10 minute= s to 5 minutes or increase it to 20 minutes? Thank's before best regards Himawan Mahardianto --_000_8AD4EE147886274A8B495D6AF407DF69812444CAszxeml510mbxchi_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
HI

The NameNode updates this detail after 10.30 minutes by default. You can se= e the dead and live datanodes at that time.

It computes this heartbeatExpireInterval time by the following formula

  heartbeatExpireInterval =3D 2 * heartbeatRecheckInterval +
      10 * 1000* heartbeatInterval

where heartbeatRecheckInterval is defined by the configuration dfs.namenode= .heartbeat.recheck-interval which is 5 minutes by default and heartbeatInte= rval by dfs.heartbeat.interval which is 3 seconds by default.

Hence
heartbeatExpireInterval =3D 10.30 minutes


SO If you want keep more time, you can configure dfs.namenode.heartbeat.rec= heck-interval based one your requirement..


Thanks & Regards

Brahma Reddy Battula

 


From: Himawan Mahardianto [mahardianto@ug= m.ac.id]
Sent: Saturday, March 28, 2015 4:42 PM
To: user@hadoop.apache.org
Subject: How to know when datanode are marked dead by namenode

Hi guys I'm newbie here, do you know how to time calculati= on when datanode are marked dead by namenode, what parameters on HDFS-SITE.= xml should I look for to calculate it, and how can I reduce dead time from = default 10 minutes to 5 minutes or increase it to 20 minutes?
Thank's before

best regards
Himawan Mahardianto
--_000_8AD4EE147886274A8B495D6AF407DF69812444CAszxeml510mbxchi_--