Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.20.1, 0.21.0
-
None
-
None
Description
addArchiveToClassPath is a method of DistributedCache class. It should be called before running a task. It accepts path to a jar file on a DFS. After it
this method should put this jar file on sitribuuted cache and than add this file to classpath to each map/reduce process on job tracker.
This method don't work:
in TaskRunner there is an algorithm that looks for correspondence between DFS paths and local paths in distributed cache.
It compares
if (archives[i].getPath().equals(
archiveClasspaths[j].toString())){
instead of
if (archives[i].toString().equals(
archiveClasspaths[j].toString()))
Attachments
Attachments
Issue Links
- incorporates
-
HADOOP-6140 DistributedCache.addArchiveToClassPath doesn't work in 0.18.x branch
- Resolved
- is part of
-
MAPREDUCE-787 -files, -archives should honor user given symlink path
- Closed
- relates to
-
MAPREDUCE-2361 Distributed Cache is not adding files to class paths correctly
- Open
-
MAPREDUCE-1581 DistributedCache#addXxxToClassPath() fails silently if qualified pathes are passed in
- Open