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

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

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sekikn Kengo Seki
            andrew.wang Andrew Wang

            Dates

              Created:
              Updated:

              Slack

                Issue deployment