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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: