Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 810EE200B7E for ; Tue, 6 Sep 2016 16:44:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7FED6160AA9; Tue, 6 Sep 2016 14:44:23 +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 C58C7160ACE for ; Tue, 6 Sep 2016 16:44:22 +0200 (CEST) Received: (qmail 22079 invoked by uid 500); 6 Sep 2016 14:44:21 -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 21903 invoked by uid 99); 6 Sep 2016 14:44:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2016 14:44:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 847BE2C1B82 for ; Tue, 6 Sep 2016 14:44:21 +0000 (UTC) Date: Tue, 6 Sep 2016 14:44:21 +0000 (UTC) From: "Arpit Agarwal (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10838) Last full block report received time for each DN should be easily discoverable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 06 Sep 2016 14:44:23 -0000 [ https://issues.apache.org/jira/browse/HDFS-10838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15467580#comment-15467580 ] Arpit Agarwal commented on HDFS-10838: -------------------------------------- Nice, thank you for the quick patch [~surendrasingh]! # {{DatanodeInfoProto convert(DatanodeInfo info)}} should handle missing lastBlockReportTime for wire compatibility. Something like this should work. {code} di.hasLastBlockReportTime() ? di.getLastBlockReportTime() : 0 {code} # Also when the value is displayed in the web UI/command line output it should be checked whether it is equal to zero and if so something like 'never' should be displayed instead of the timestamp. # Should the NN web UI to show relative time, just like last heartbeat time? I'm fine with either though. > Last full block report received time for each DN should be easily discoverable > ------------------------------------------------------------------------------ > > Key: HDFS-10838 > URL: https://issues.apache.org/jira/browse/HDFS-10838 > Project: Hadoop HDFS > Issue Type: Improvement > Components: ui > Reporter: Arpit Agarwal > Assignee: Surendra Singh Lilhore > Attachments: DFSAdmin-Report.png, HDFS-10838-001.patch, NN_UI.png > > > It should be easy for administrators to discover the time of last full block report from each DataNode. > We can show it in the NameNode web UI or in the output of {{hdfs dfsadmin -report}}, or both. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org