[
https://issues.apache.org/jira/browse/HDFS-10822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15459198#comment-15459198
]
Lei (Eddy) Xu commented on HDFS-10822:
--------------------------------------
+1. Thanks for adding more debug information, [~jzhuge]
This patch does not include test because it only adds debug information.
Committed to trunk and branch-2.
> Log DataNodes in the write pipeline
> -----------------------------------
>
> Key: HDFS-10822
> URL: https://issues.apache.org/jira/browse/HDFS-10822
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs-client
> Affects Versions: 2.6.0
> Reporter: John Zhuge
> Assignee: John Zhuge
> Priority: Trivial
> Labels: supportability
> Attachments: HDFS-10822.001.patch
>
>
> Trying to diagnose a slow HDFS flush, taking longer than 10 seconds, but did
> not know which DNs were involved in the write pipeline. Of course, I could
> search NN log for the list of DNs, but it might not be possible sometimes or
> convenient.
> Propose to add a DEBUG trace to DataStreamer#setPipeline to print the list of
> DNs in the pipeline.
> BTW, we do print the list of DNs during pipeline recovery.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]