hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6943) Improve NN allocateBlock log to include replicas' datanode IPs
Date Mon, 08 Sep 2014 18:09:29 GMT

     [ https://issues.apache.org/jira/browse/HDFS-6943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Haohui Mai updated HDFS-6943:
-----------------------------
       Resolution: Fixed
    Fix Version/s: 2.6.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I've committed the patch to trunk and branch-2. Thanks [~mingma] for the contribution.

> 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
>            Assignee: Ming Ma
>             Fix For: 2.6.0
>
>         Attachments: HDFS-6943.patch
>
>
> 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.3.4#6332)

Mime
View raw message