You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ivan Mitic (JIRA)" <ji...@apache.org> on 2012/11/18 21:38:58 UTC

[jira] [Created] (HADOOP-9061) Java6+Windows does not work well with symlinks

Ivan Mitic created HADOOP-9061:
----------------------------------

             Summary: Java6+Windows does not work well with symlinks
                 Key: HADOOP-9061
                 URL: https://issues.apache.org/jira/browse/HADOOP-9061
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 1-win
            Reporter: Ivan Mitic
            Assignee: Ivan Mitic


We’ve seen multiple problems with file operations on symbolic links on Java6 on Windows. Specifically:
 - File#length returns zero on symbolic links
 - File#renameTo renames the target, not the symlink

Problematic scenarios are mainly related to symlinks created for dist cache.

Java7 does not have above problems.

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