Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2512

Add textual error message to data transfer protocol responses

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: datanode, hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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)

        Attachments

        1. hdfs-2512.txt
          24 kB
          Todd Lipcon

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: