Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 692141158A for ; Mon, 25 Aug 2014 22:32:59 +0000 (UTC) Received: (qmail 78352 invoked by uid 500); 25 Aug 2014 22:32:58 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 78212 invoked by uid 500); 25 Aug 2014 22:32:58 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 77855 invoked by uid 99); 25 Aug 2014 22:32:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2014 22:32:58 +0000 Date: Mon, 25 Aug 2014 22:32:58 +0000 (UTC) From: "Ming Ma (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-6943) Improve NN allocateBlock log to include replicas' datanode IPs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ming Ma created HDFS-6943: ----------------------------- Summary: Improve NN allocateBlock log to include replicas' datanode IPs Key: HDFS-6943 URL: https://issues.apache.org/jira/browse/HDFS-6943 Project: Hadoop HDFS Issue Type: Improvement Reporter: Ming Ma Datanode storage ID used to use IP and port. It has changed to use UUID. This makes debugging harder when we want to understand which DNs are assigned when DFSClient calls addBlock. For example, {noformat} BLOCK* allocateBlock: /foo. BP-1980237412-xx.xx.xxx.xxx-1408142057773 blk_1227779764_154043834{blockUCState=UNDER_CONSTRUCTION, primaryNodeIndex=-1, replicas=[ReplicaUnderConstruction[[DISK]DS-9479727b-24c5-4068-8703-dfb9a41c056c:NORMAL|RBW], ReplicaUnderConstruction[[DISK]DS-abe7840c-1db8-4623-9da7-3aed6a28c4f4:NORMAL|RBW], ReplicaUnderConstruction[[DISK]DS-956023f4-56a0-4c30-a148-b78c61cf764b:NORMAL|RBW]]} {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)