Yongjun Zhang created HDFS-7599: ----------------------------------- Summary: Add more information to exception msg when pipeline recovery fails Key: HDFS-7599 URL: https://issues.apache.org/jira/browse/HDFS-7599 Project: Hadoop HDFS Issue Type: Improvement Components: dfsclient Affects Versions: 2.6.0 Reporter: Yongjun Zhang Assignee: Yongjun Zhang
When pipeline recovery fails with the following exception, can not easily identify the associated file and block, propose to add the info for better debuggability: {code} java.io.IOException: All datanodes <...> are bad. Aborting... at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.setupPipelineForAppendOrRecovery(DFSOutputStream.java:1127) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.processDatanodeError(DFSOutputStream.java:924) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:486) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)