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

How to access Job Configuration file in Partitioner

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • None
    • None
    • None
    • Access Job Configuration in partitioner

    Description

      I need to access Job Configuration file in partitioner to fetch some information. Generally we can access job configuration file easily in map or reduce side by this code

      Configuration config = context.getConfiguration();
      But this same code cannot be used in partitioner. To solve this issue I followed the patch https://issues.apache.org/jira/browse/MAPREDUCE-2474 but it is a doc so I downloaded the latest trunk code and generate the jar but I did not get any extra feature from that to call the job configuration file So any one knows the code to call Job Configuration file in partitioner.

      Attachments

        Activity

          People

            Unassigned Unassigned
            somnath Somnath
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: