Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      DFSOutputStream.handleSocketException() does not handle exceptions thrown inside it
      by abandonBlock(). I'd propose to retry abandonBlock() in case of timeout.
      In case of DFSOutputStream.close() the exception in handleSocketException() will result in
      calling abandonFileInProgress().
      In a similar case of DFSOutputStream.flush() the file will not be abandoned.
      Exceptions thrown by abandonFileInProgress() are not handled either.

      Feels like we need a general mechanism for handling all these things.

        Activity

        Harsh J made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Owen O'Malley made changes -
        Project Hadoop Common [ 12310240 ] HDFS [ 12310942 ]
        Key HADOOP-1143 HDFS-19
        Affects Version/s 0.10.0 [ 12312207 ]
        Component/s dfs [ 12310710 ]
        Doug Cutting made changes -
        Fix Version/s 0.15.0 [ 12312565 ]
        dhruba borthakur made changes -
        Fix Version/s 0.15.0 [ 12312565 ]
        dhruba borthakur made changes -
        Field Original Value New Value
        Component/s dfs [ 12310710 ]
        Konstantin Shvachko created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Konstantin Shvachko
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development