hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5030) Remove org.apache.hadoop.fs.Stat when JDK6 support is dropped
Date Wed, 24 Jul 2013 23:51:49 GMT
Andrew Wang created HDFS-5030:
---------------------------------

             Summary: Remove org.apache.hadoop.fs.Stat when JDK6 support is dropped
                 Key: HDFS-5030
                 URL: https://issues.apache.org/jira/browse/HDFS-5030
             Project: Hadoop HDFS
          Issue Type: Improvement
    Affects Versions: 3.0.0
            Reporter: Andrew Wang
            Priority: Minor


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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message