Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • build
    • None
    • Solaris

    Description

      list() in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/FileSystem.cc assumes that struct dirent always contains a d_type field which can be used to determine the type of the directory entry. This field is non-POSIX and is not available on all platforms. On platforms where it is not available, stat() should be used instead to determine the type of the directory entry.

      Attachments

        1. MAPREDUCE-6416.001.patch
          1 kB
          Alan Burlison

        Activity

          People

            alanburlison Alan Burlison
            alanburlison Alan Burlison
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: