hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8694) Create true symbolic links on Windows
Date Mon, 01 Oct 2012 20:25:07 GMT

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

Suresh Srinivas commented on HADOOP-8694:
-----------------------------------------

+1 for the patch. I do not see any DOS mode characters in the patch.
                
> Create true symbolic links on Windows
> -------------------------------------
>
>                 Key: HADOOP-8694
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8694
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1-win
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>         Attachments: HADOOP-8694-branch-1-win-2.patch, HADOOP-8694-branch-1-win.patch,
secpol.png
>
>
> In branch-1-win, we currently copy files for symbolic links in Hadoop on Windows. We
have talked to [~davidlao] who made the original fix, and did some investigation on Windows.
Windows began to support symbolic links (symlinks) since Vista/Server 2008. The original reason
to copy files instead of creating actual symlinks is that only Administrators has the privilege
to create symlinks on Windows _by default_. After talking to NTFS folks, we knew the reason
for that is mostly due to security, and this default behavior may not be changed in near future.
Though this behavior can be changed via  the Local Security Policy management console, i.e.
secpol.msc, under Security Settings\Local Policies\User Rights Assignment\Create symbolic
links.
>  
> In Hadoop, symlinks is mostly used to for DistributedCache and attempted logs. We felt
the usages are important enough for us to provide true symlinks support, and users need to
have the symlink creation privilege enabled on Windows to use Hadoop.
> This JIRA is created to tracking symlink support on Windows.

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