Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9061

Java6+Windows does not work well with symlinks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1-win
    • Fix Version/s: 1-win
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ivanmi Ivan Mitic
                Reporter:
                ivanmi Ivan Mitic
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: