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

Windows clients cannot create proper CP entries inside the DistributedCache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.0.4
    • None
    • filecache, io, ipc
    • None

    Description

      DistributedCache addArchive/FileToClassPath makes use of System.getProperty("path.separator").
      This means that if the client (windows) is different then the server (linux) the classpath cannot be properly constructed since the client uses ; while the server uses :.
      As this is a platform specific setting it would be best to either use the server setting all the time or use a different character or property (that is not used inside the URI) and translate that to the platform specific character.
      The easiest fix would be to just use the *nix path separator, namely ":".

      Attachments

        Activity

          People

            Unassigned Unassigned
            costin.leau Costin Leau
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: