You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chuan Liu (JIRA)" <ji...@apache.org> on 2013/04/19 03:22:14 UTC

[jira] [Commented] (HADOOP-9483) winutils support for readlink command

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

Chuan Liu commented on HADOOP-9483:
-----------------------------------

MSDN says:
{quote}
A final path is the path that is returned when a path is fully resolved. For example, for a symbolic link named "C:\tmp\mydir" that points to "D:\yourdir", the final path would be "D:\yourdir".

The string that is returned by this function uses the \\?\ syntax. 
{quote}

So I think it will be full path prefixed with "\\?\".
                
> winutils support for readlink command
> -------------------------------------
>
>                 Key: HADOOP-9483
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9483
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>
> The current codebase relies on the Unix readlink command to determine the target of a symlink on the local file system.  winutils currently does not support this functionality on Windows.  Adding the command to winutils will prevent the need to use GnuWin32 or Cygwin for readlink support.

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