Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2361

Distributed Cache is not adding files to class paths correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • task
    • 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

      Attachments

        Issue Links

          Activity

            People

              cdouglas Christopher Douglas
              omalley Owen O'Malley
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: