You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2013/07/25 01:51:49 UTC
[jira] [Created] (HDFS-5030) Remove org.apache.hadoop.fs.Stat when
JDK6 support is dropped
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