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

Windows clients cannot create proper CP entries inside the DistributedCache

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 1.0.4
    • Fix Version/s: None
    • Component/s: filecache, io, ipc
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              costin Costin Leau
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: