Yelp/mrjob — Issue #254: MRJob utility for pulling jobconf vars from the environment
Author: davidmarin
Created: 2011-11-03 00:17:08+00:00
State: open
Labels: Feature

It would be nice if `MRJob` had a function `get_jobconf()` that could read the value of a jobconf variable from the environment.

This is especially useful for stuff like `map.input.file`, which tells you the name of the input file you're reading from. We shouldn't make a separate method for this, but we *should* mention it in the docstring.

`get_jobconf()` should use `mrjob.compat`, so that you can use either the pre-0.21 or 0.21+ versions of the jobconf variables, and still get the value you're looking for.