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

Java6+Windows does not work well with symlinks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1-win
    • 1-win
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: