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

DFSClient should log exception when block recovery fails

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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 dhruba borthakur added a comment -

        I just committed this. Thanks Todd.

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

        Attaching merge patch from 0.20-append

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

        +1 for hdfs-1210.20s.patch

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

        I committed the patch to 0.20-security

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

        Closed upon release of 0.20.205.0

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development