Costin Leau created HADOOP-9123:
-----------------------------------

             Summary: Windows clients cannot create proper CP entries inside 
the DistributedCache
                 Key: HADOOP-9123
                 URL: https://issues.apache.org/jira/browse/HADOOP-9123
             Project: Hadoop Common
          Issue Type: Bug
          Components: filecache, io, ipc
    Affects Versions: 1.0.4
            Reporter: Costin Leau


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 ":".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to