hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Mitic (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8374) Improve support for hard link manipulation on Windows
Date Thu, 31 May 2012 22:45:23 GMT

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

Ivan Mitic updated HADOOP-8374:
-------------------------------

    Attachment: HADOOP-8374-branch-1-win_hardlinks.patch

Attaching patch that fixes the problem with elevated permissions being needed for hardlinks
to be created/counted.

The fix is to use newly introduced winutils hardlink support instead of relying on fsutil
as fsutil requires elevated permissions.
                
> Improve support for hard link manipulation on Windows
> -----------------------------------------------------
>
>                 Key: HADOOP-8374
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8374
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>         Attachments: HADOOP-8374-1.patch, HADOOP-8374-branch-1-win_hardlinks.patch
>
>
> Hard link support for Windows does not work properly. There is some refactoring needed
in the code. Also, the code currently executes the fsutil command to manipulate hard links.
fsutil requires admin privileges on recent versions of Windows. The main features needed are
the ability to create hard links to a file and count the number of hard links to a file. So
we could use mklink to create hard links and write a custom executable to count hard links.
Or use a custom executable to do both using Windows API's.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message