[ 
https://issues.apache.org/jira/browse/HADOOP-9783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Wang updated HADOOP-9783:
--------------------------------

    Attachment: hadoop-9783-1.patch

Patch attached. I made RLFS do positive rather than negative detection when 
determining whether to use the new and improved code path.

Also took the opportunity to clean up the OS detection code in {{Shell}}, since 
we were doing it twice.
                
> Fix OS detection for RawLocalFileSystem#getFileLinkStatus fallback path
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-9783
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9783
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: hadoop-9783-1.patch
>
>
> HADOOP-9652 calls out to {{stat(1)}} on supported platforms to get additional 
> file metadata and handle symlinks. The old, incorrect fallback path was left 
> in for unsupported platforms. However, the fallback is currently only in 
> place for Windows; let's make it for any unsupported platform (e.g. Mac).

--
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

Reply via email to