Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-52

mapred input and output dirs must be absolute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1.0
    • 0.1.0
    • None
    • None

    Description

      DFS converts relative pathnames to be under /user/$USER. But MapReduce jobs may be submitted by a different user than is running the jobtracker and tasktracker. Thus relative paths must be resolved before a job is submitted, so that only absolute paths are seen on the job tracker and tasktracker. I think the simplest way to fix this is to make JobConf.setInputDir(), setOutputDir(), etc. resolve relative pathnames.

      Attachments

        1. cwd.patch
          30 kB
          Owen O'Malley
        2. cwd2.patch
          31 kB
          Owen O'Malley
        3. cwd3.patch
          30 kB
          Owen O'Malley

        Issue Links

          Activity

            People

              omalley Owen O'Malley
              cutting Doug Cutting
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: