Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2361

Distributed Cache is not adding files to class paths correctly

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: task
    • Labels:
      None

      Description

      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

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Chris Douglas
              Reporter:
              Owen O'Malley
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:

                Development