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

FileSystem#listLocatedStatus should not throw generic RuntimeException to indicate error conditions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • None
    • None
    • Reviewed

    Description

      HDFS-6870 introduced FileSystem#listLocatedStatus(), that returns an Iterator to iterate through LocatedFileStatus for files under a directory or recursively under a sub-directory. Iterator currently throws generic RuntimeException to indicate error conditions. API needs to be changed to throw appropriate exceptions to indicate error conditions.

      Attachments

        1. listFilesIO1.patch
          25 kB
          Hairong Kuang
        2. listFilesIO.patch
          20 kB
          Hairong Kuang

        Issue Links

          Activity

            People

              hairong Hairong Kuang
              sureshms Suresh Srinivas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: