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

DFSClient.close doesn't rethrow exceptions thrown by automatically closed clients

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: None
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change

      Description

      I've written a fault injection test that simply throws exceptions on every ack.readFields call in ResponseProcessor. This ought to raise an exception to the client trying to use the stream, but instead it ignores it silently.

        Attachments

        1. hdfs-931.txt
          4 kB
          Todd Lipcon
        2. hdfs-931.txt
          5 kB
          Todd Lipcon
        3. TEST-org.apache.hadoop.hdfs.TestFiPipelines.txt
          83 kB
          Todd Lipcon

          Activity

            People

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

              Dates

              • Created:
                Updated: