hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7956) Improve logging for DatanodeRegistration.
Date Wed, 18 Mar 2015 22:45:38 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14368067#comment-14368067

Konstantin Shvachko commented on HDFS-7956:

Otherwise it is hard to identify DNs when they register, send reports or heartbeats. Because
the main DN port is not printed anywhere in DatanodeRegistration.
{code}DatanodeRegistration(, datanodeUuid=532f1c1f-fe09-4ad4-8d7d-c58f7b8b32b0, infoPort=35614
{code}DatanodeRegistration(, datanodeUuid=532f1c1f-fe09-4ad4-8d7d-c58f7b8b32b0,
infoPort=35614 ...){code}
The fix is to simply print {{DatanodeID}} via {{super.toString()}} instead of {{super.toString()}}

> Improve logging for DatanodeRegistration.
> -----------------------------------------
>                 Key: HDFS-7956
>                 URL: https://issues.apache.org/jira/browse/HDFS-7956
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.6.0
>            Reporter: Konstantin Shvachko
> {{DatanodeRegistration.toString()}} 
> prints only its address without the port, it should print its full address, similar {{NamenodeRegistration}}.

This message was sent by Atlassian JIRA

View raw message