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

Add an utility API in FileUtil for JDK File.list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • None
    • 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
          Matthew Foley

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: