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 "Owen O'Malley (JIRA)" <ji...@apache.org> on 2011/03/07 22:40:59 UTC

[jira] Created: (MAPREDUCE-2361) Distributed Cache is not adding files to class paths correctly

Distributed Cache is not adding files to class paths correctly
--------------------------------------------------------------

                 Key: MAPREDUCE-2361
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2361
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: task
            Reporter: Owen O'Malley
            Assignee: Chris Douglas


I am trying to add files into class path using:
DistributedCache.addFileToClassPath

If file path is relative path like: /user/dir1/dir2/a.jar everything is ok means if I try to get these files from the
class path using DistributedCache.getFileClassPaths it returns me the path correctly.

However if I use path like hdfs://nn:7877/user/dir1/dir2/a.jar 
And try to get class path files using DistributedCache.getFileClassPaths
it returns me 3 files like:

hdfs
//nn
7877/user/dir1/dir2/a.jar


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira