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.