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

Remove org.apache.hadoop.fs.Stat when JDK6 support is dropped

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha1
    • None
    • None
    • None

    Description

      HADOOP-9652 introduces a new class which shells out to stat(1) because of the lack of lstat(2) in Java 6. Java 7 has support for reading symlink targets via Files#readSymbolicLink.

      When Hadoop drops Java 6 support, let's use this more portable method instead.

      See:

      http://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html#readSymbolicLink(java.nio.file.Path)

      Attachments

        1. HADOOP-9769.001.patch
          11 kB
          Kengo Seki

        Issue Links

          Activity

            People

              sekikn Kengo Seki
              andrew.wang Andrew Wang
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: