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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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
          Chris Douglas
        2. HADOOP-15106.01.patch
          9 kB
          Chris Douglas
        3. HADOOP-15106.02.patch
          9 kB
          Chris Douglas
        4. HADOOP-15106.03.patch
          10 kB
          Chris Douglas
        5. HADOOP-15106.04.patch
          10 kB
          Chris Douglas

          Issue Links

            Activity

              People

              • Assignee:
                chris.douglas Chris Douglas
                Reporter:
                chris.douglas Chris Douglas
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: