hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-2361) Distributed Cache is not adding files to class paths correctly
Date Mon, 07 Mar 2011 21:40:59 GMT
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

Mime
View raw message