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 D228E200B46 for ; Sat, 2 Jul 2016 01:59:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D0BF7160A6C; Fri, 1 Jul 2016 23:59:12 +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 2303B160A61 for ; Sat, 2 Jul 2016 01:59:11 +0200 (CEST) Received: (qmail 55450 invoked by uid 500); 1 Jul 2016 23:59:11 -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 55428 invoked by uid 99); 1 Jul 2016 23:59:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2016 23:59:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 05DA02C02A0 for ; Fri, 1 Jul 2016 23:59:11 +0000 (UTC) Date: Fri, 1 Jul 2016 23:59:11 +0000 (UTC) From: "Mingliang Liu (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-8991) Provide information on BPOfferService in DN JMX MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 01 Jul 2016 23:59:13 -0000 [ https://issues.apache.org/jira/browse/HDFS-8991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15359854#comment-15359854 ] Mingliang Liu commented on HDFS-8991: ------------------------------------- Thanks [~jnp] for the review and comment. For the mini-dfs cluster, the hostname will be localhost and only one entry in the HA case. Before this patch: - Non-HA: {code} {"localhost":"BP-954094909-10.22.8.141-1467417399231"} {code} - HA: {code} {"localhost":"BP-21526920-10.22.8.141-1467417356425"} {code} After the patch: - Non-HA: {code} {"BP-1939740699-10.22.8.141-1467416841045":{"localhost:57787":"active"}} {code} - HA: {code} {"BP-1698487347-10.22.8.141-1467417257785":{"localhost:57925":"active","localhost:57927":"standby"}} {code} > Provide information on BPOfferService in DN JMX > ----------------------------------------------- > > Key: HDFS-8991 > URL: https://issues.apache.org/jira/browse/HDFS-8991 > Project: Hadoop HDFS > Issue Type: Improvement > Components: datanode > Reporter: Haohui Mai > Assignee: Mingliang Liu > Attachments: HDFS-8991.000.patch, HDFS-8991.001.patch > > > In cases like HDFS-7714 where the BPOfferService thread is missing, which require nontrivial effort to debug that which NN that the DN thinks it active / standby. > It would make sense to make the information more accessible through JMX or Web UI. -- 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