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

reinitialize CLASSPATH variable when executing Mapper/Reducer code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 0.20.2
    • None
    • pipes
    • None
    • Ubuntu 10.04 LTS

    Description

      We're using pipes, and using libhdfs inside our mapper and reducer code. We've determined that we need to execute a putenv call in order for libhdfs to actually have access to the CLASSPATH. Ideally, it should just use the CLASSPATH we set when the job was executed.

      For some more context, see these threads:
      https://groups.google.com/a/cloudera.org/group/cdh-user/browse_thread/thread/ae9808d80fb132fb?tvc=2
      http://comments.gmane.org/gmane.comp.jakarta.lucene.hadoop.user/25830

      Attachments

        Activity

          People

            Unassigned Unassigned
            supertom Tom Melendez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: