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

Scheme for local file is lost when submitting mapreduce job using mapreduce API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Later
    • 2.1.0-beta, 2.1.1-beta, 2.2.0
    • None
    • None
    • None

    Description

      HBase snapshot export adds dependent jars (local files) through "tmpjars" config entry.

      When debugging HBASE-9687, we found that scheme for local file (file://) is lost by DistributedCache.addFileToClassPath() call in JobSubmitter.

      The root cause of this problem is that we are somehow losing "file://" from the uri. In the earlier code we were creating new Path object (new Path (newPath.toUri().getPath()) ) where as part of newPath.toUri().getPath() call we are losing the authority and scheme which are passed in.

      Thanks to Omkar and Vinod who helped debug this issue

      Attachments

        1. mapreduce-5558.patch
          0.8 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: