Add textual error message to data transfer protocol responses -------------------------------------------------------------
Key: HDFS-2512 URL: https://issues.apache.org/jira/browse/HDFS-2512 Project: Hadoop HDFS Issue Type: Improvement Components: data-node, hdfs client Affects Versions: 0.23.0 Reporter: Todd Lipcon Assignee: Todd Lipcon Currently, the error response code from the DN has very little extra info. I had a situation the other day where the balancer was failing to move blocks, but just reported back "error moving block", which didn't help much. We can easily add a "message" field to OpBlockResponseProto to communicate back the underlying issue (in this case, it was thread quota exceeded) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira