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

Add an utility API in FileUtil for JDK File.list

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None

      Description

      Java File.list API can return null when disk is bad or directory is not a directory. This utility API in FileUtil will throw an exception when this happens rather than returning null.

        Attachments

        1. HADOOP-7342-1.patch
          2 kB
          Bharath Mundlapudi
        2. HADOOP-7342-2.patch
          2 kB
          Matt Foley

          Issue Links

            Activity

              People

              • Assignee:
                bharathm Bharath Mundlapudi
                Reporter:
                bharathm Bharath Mundlapudi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: