Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15106

FileSystem::open(PathHandle) should throw a specific exception on validation failure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None
    • Reviewed

    Description

      Callers of FileSystem::open(PathHandle) cannot distinguish between I/O errors and an invalid handle. The signature should include a specific, checked exception for this case.

      Attachments

        1. HADOOP-15106.00.patch
          4 kB
          Christopher Douglas
        2. HADOOP-15106.01.patch
          9 kB
          Christopher Douglas
        3. HADOOP-15106.02.patch
          9 kB
          Christopher Douglas
        4. HADOOP-15106.03.patch
          10 kB
          Christopher Douglas
        5. HADOOP-15106.04.patch
          10 kB
          Christopher Douglas

        Issue Links

          Activity

            People

              cdouglas Christopher Douglas
              cdouglas Christopher Douglas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: