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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1743d 9h 58m 1 Harsh J 29/Dec/11 11:43
        Harsh J made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Hide
        Harsh J added a comment -

        This has gone stale. I do not find these methods in the current DFSOutputStream. Do open a new one if there is still trouble with the newer impl.

        Show
        Harsh J added a comment - This has gone stale. I do not find these methods in the current DFSOutputStream. Do open a new one if there is still trouble with the newer impl.
        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