You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2009/08/11 09:29:14 UTC

[jira] Resolved: (MAPREDUCE-9) Path separator in DistributedCache does not work between windows and unix

     [ https://issues.apache.org/jira/browse/MAPREDUCE-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu resolved MAPREDUCE-9.
---------------------------------------------

    Resolution: Duplicate

Fixed by HADOOP-4864

> Path separator in DistributedCache does not work between windows and unix
> -------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-9
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-9
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>         Environment: Client in Windows XP with hadoop-0.18.0 and server running on Linux x64 with java "1.6.0_10-beta"
>            Reporter: Juho Mäkinen
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> DistributedCache.addfileToClassPath adds the files to mapred.job.classpath.files which can be seen in the jobs xml description. When the job is created and submitted from a windows machine the path separator is ";". This can be seen in the configuration: mapred.job.classpath.files	/user/garo/lib/javolution.jar;/user/garo/lib/java-utils.jar
> When the job is submitted over network to a Hadoop cluster running on Linux the path separator is ":". This affects the DistributedCache.getFileClassPath method which separates the mapred.job.classpath.files configuration using the system path separator, which is ":". This renders all classpath additions invalid using DistributedCache.addFileToClassPath.
> Temporary sollution: I've simply added ";" to the StringTokenizer in DistributedCache.getFileClassPath, but I'm not certain if it's a good sollution.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.