Hadoop Common
  1. Hadoop Common
  2. HADOOP-9123

Windows clients cannot create proper CP entries inside the DistributedCache

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • 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 ":".

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:

              Development