John Zhuge created HDFS-10822:
---------------------------------

             Summary: 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


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: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to