Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1079

HDFS implementation should throw exceptions defined in AbstractFileSystem

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Specific exceptions are thrown from HDFS implementation and protocol per the interface defined in AbstractFileSystem. The compatibility is not affected as the applications catch IOException and will be able to handle specific exceptions that are subclasses of IOException.
      Show
      Specific exceptions are thrown from HDFS implementation and protocol per the interface defined in AbstractFileSystem. The compatibility is not affected as the applications catch IOException and will be able to handle specific exceptions that are subclasses of IOException.

      Description

      HDFS implementation Hdfs.java should throw exceptions as defined in AbstractFileSystem. To facilitate this, ClientProtocol should be changed to throw specific exceptions, as defined in AbstractFileSystem.

      1. HDFS-1079.1.patch
        86 kB
        Suresh Srinivas
      2. HDFS-1079.2.patch
        86 kB
        Suresh Srinivas
      3. HDFS-1079.3.patch
        86 kB
        Suresh Srinivas
      4. HDFS-1079.patch
        77 kB
        Suresh Srinivas
      5. HDFS-1079.patch
        78 kB
        Suresh Srinivas

        Issue Links

          Activity

          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Suresh Srinivas made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Release Note Specific exceptions are thrown from HDFS implementation and protocol per the interface defined in AbstractFileSystem. The compatibility is not affected as the applications catch IOException and will be able to handle specific exceptions that are subclasses of IOException.
          Resolution Fixed [ 1 ]
          Suresh Srinivas made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Suresh Srinivas made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Suresh Srinivas made changes -
          Attachment HDFS-1079.3.patch [ 12444408 ]
          Suresh Srinivas made changes -
          Link This issue relates to HDFS-1151 [ HDFS-1151 ]
          Suresh Srinivas made changes -
          Link This issue relates to HADOOP-6736 [ HADOOP-6736 ]
          Suresh Srinivas made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Suresh Srinivas made changes -
          Attachment HDFS-1079.2.patch [ 12444387 ]
          Suresh Srinivas made changes -
          Link This issue relates to HDFS-1124 [ HDFS-1124 ]
          Suresh Srinivas made changes -
          Attachment HDFS-1079.1.patch [ 12443211 ]
          Suresh Srinivas made changes -
          Link This issue relates to HADOOP-6537 [ HADOOP-6537 ]
          Suresh Srinivas made changes -
          Attachment HDFS-1079.patch [ 12440802 ]
          Suresh Srinivas made changes -
          Field Original Value New Value
          Attachment HDFS-1079.patch [ 12440801 ]
          Suresh Srinivas created issue -

            People

            • Assignee:
              Suresh Srinivas
              Reporter:
              Suresh Srinivas
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development