Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-379 Cleanup and Document HDFS Client Intefaces and Protocol
  3. HDFS-401

Declare HDFS exceptions in the HDFS interface and also in class FileSystem and rethrow the encapsulated exception

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Server-side exceptions are encapsulated in the remote exception (as the class name and the error string ).
      The client side and FileSystem does not declare or thrown the these encapsulated exception.

      Work Items

      • Declare the exceptions in FileSystem and the HDFS interface (but still as subclasses of IOException)
      • Rethrow encapsulated declared exceptions if they are the declared exception.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sanjay.radia Sanjay Radia
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: