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 "Johannes Zillmann (JIRA)" <ji...@apache.org> on 2010/08/28 23:38:54 UTC

[jira] Updated: (MAPREDUCE-1581) DistributedCache#addXxxToClassPath() fails silently if qualified pathes are passed in

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

Johannes Zillmann updated MAPREDUCE-1581:
-----------------------------------------

    Issue Type: Bug  (was: Improvement)

> DistributedCache#addXxxToClassPath() fails silently if qualified pathes are passed in
> -------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1581
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1581
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: distributed-cache
>            Reporter: Johannes Zillmann
>            Priority: Minor
>
> In both methods (addFileToClassPath & addArchiveToClassPath) you can specify a path. If this path is fully qualified (hdfs:///....) the files are not in the job classpath.
> (since the : in the path is also used as path separator).
> So i think with one of the following simple improvements:
> - throw an exception if the specified path is fully qualified
> - OR disqualify the path (f.e. with new Path(path.toUri().getPath()))
> people would have an easier start with the DistributedCache!

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