Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1210

DFSClient should log exception when block recovery fails

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.20.2, 0.20-append
    • Fix Version/s: 0.20-append, 0.20.205.0
    • Component/s: hdfs-client
    • Labels:
      None

      Description

      Right now we just retry without necessarily showing the exception. It can be useful to see what the error was that prevented the recovery RPC from succeeding.
      (I believe this only applies in 0.20 style of block recovery)

      1. hdfs-1210.20s.patch
        3 kB
        Suresh Srinivas
      2. hdfs-1210.txt
        0.9 kB
        Todd Lipcon

        Activity

        Hide
        dhruba borthakur added a comment -

        I just committed this. Thanks Todd.

        Show
        dhruba borthakur added a comment - I just committed this. Thanks Todd.
        Hide
        Suresh Srinivas added a comment -

        Attaching merge patch from 0.20-append

        Show
        Suresh Srinivas added a comment - Attaching merge patch from 0.20-append
        Hide
        Jitendra Nath Pandey added a comment -

        +1 for hdfs-1210.20s.patch

        Show
        Jitendra Nath Pandey added a comment - +1 for hdfs-1210.20s.patch
        Hide
        Suresh Srinivas added a comment -

        I committed the patch to 0.20-security

        Show
        Suresh Srinivas added a comment - I committed the patch to 0.20-security
        Hide
        Matt Foley added a comment -

        Closed upon release of 0.20.205.0

        Show
        Matt Foley added a comment - Closed upon release of 0.20.205.0

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development