hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9769) Remove org.apache.hadoop.fs.Stat when JDK6 support is dropped
Date Wed, 19 Apr 2017 18:23:41 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-9769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15975231#comment-15975231
] 

Andrew Wang commented on HADOOP-9769:
-------------------------------------

This one floated up on a random JIRA query, would be nice to do considering 2.8.0 and 3.0.0
both have dropped JDK6 support.

> Remove org.apache.hadoop.fs.Stat when JDK6 support is dropped
> -------------------------------------------------------------
>
>                 Key: HADOOP-9769
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9769
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Andrew Wang
>            Assignee: Kengo Seki
>         Attachments: HADOOP-9769.001.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message