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 58F0A200D49 for ; Fri, 10 Nov 2017 06:06:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 576EF160C02; Fri, 10 Nov 2017 05:06:09 +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 7533B160BEF for ; Fri, 10 Nov 2017 06:06:08 +0100 (CET) Received: (qmail 45392 invoked by uid 500); 10 Nov 2017 05:06:07 -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 45381 invoked by uid 99); 10 Nov 2017 05:06:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2017 05:06:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E12551A421C for ; Fri, 10 Nov 2017 05:06:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id uADCFlZxxfAM for ; Fri, 10 Nov 2017 05:06:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 730825F3CC for ; Fri, 10 Nov 2017 05:06:04 +0000 (UTC) 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 CB40EE0D22 for ; Fri, 10 Nov 2017 05:06:02 +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 34DD7240DA for ; Fri, 10 Nov 2017 05:06:01 +0000 (UTC) Date: Fri, 10 Nov 2017 05:06:01 +0000 (UTC) From: "Brahma Reddy Battula (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-12781) After Datanode down, In Namenode UI Datanode tab is throwing warning message. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Nov 2017 05:06:09 -0000 [ https://issues.apache.org/jira/browse/HDFS-12781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247018#comment-16247018 ] Brahma Reddy Battula commented on HDFS-12781: --------------------------------------------- bq.It seems the workaround() function is trying to get the LiveNodes and return them as an array that DataTables.js can consume It's return all the nodes.Please see the following snippet when it's called workaround(). {code} r.LiveNodes = node_map_to_array(JSON.parse(r.LiveNodes)); augment_live_nodes(r.LiveNodes); r.DeadNodes = node_map_to_array(JSON.parse(r.DeadNodes)); augment_dead_nodes(r.DeadNodes); r.DecomNodes = node_map_to_array(JSON.parse(r.DecomNodes)); r.EnteringMaintenanceNodes = node_map_to_array(JSON.parse(r.EnteringMaintenanceNodes)); return r; {code} So,Following will be nodes info after calling the {{workaround()}}. {noformat} BLR1000006586:50076 (*.*.105.92:50076)http://BLR1000006586:98642s5m
147.65 GB
2471.68 GB (1.14%)3.0.0-beta1 BLR1000006596:50076 (*.*.109.205:50076)http://BLR1000006596:500752s4m
147.65 GB
2471.68 GB (1.14%)2.7.4 BLR1000006554:50076 (*.*.97.117:50076)Thu Nov 02 19:57:09 +0530 2017 {noformat} bq.If it is only recently dead, which coloumn of data doesn't exist? As we can't get the metrics, {{Http Address}},{{Last Block Report}},{{Capacity}},{{Blocks}},{{Block pool used}},{{Version}} will be null. Check following Json and {{data}} after workaround call. {noformat} "DeadNodes" : "{\"BLR1000006554:50076\":{\"lastContact\":594774,\"decommissioned\":false,\"adminState\":\"In Service\",\"xferaddr\":\"*.*.97.117:50076\"}}", BLR1000006554:50076 (*.*.97.117:50076)Thu Nov 02 19:57:09 +0530 2017 {noformat} > After Datanode down, In Namenode UI Datanode tab is throwing warning message. > ----------------------------------------------------------------------------- > > Key: HDFS-12781 > URL: https://issues.apache.org/jira/browse/HDFS-12781 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Affects Versions: 2.9.0, 3.0.0-alpha1 > Reporter: Harshakiran Reddy > Assignee: Brahma Reddy Battula > Attachments: HDFS-12781-001.patch > > > Scenario: > Stop one Datanode > Refresh or click on the Datanode tab in namenode UI. > Actual Output: > ============== > it's throwing the warning message. please find the bellow warning message. > DataTables warning: table id=table-datanodes - Requested unknown parameter '7' for row 2. For more information about this error, please see http://datatables.net/tn/4 > Expected Output: > ================ > whenever you click on Datanode tab,it should be display the datanodes information. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org