Hi,

On Fri, Dec 26, 2014 at 10:13 AM, ey-chih chow <[email protected]> wrote:

> I should rephrase my question as follows:
>
> How to use the corresponding Hadoop Configuration of a HadoopRDD in
> defining
> a function as an input parameter to the MapPartitions function?
>

Well, you could try to pull the `val config = job.getConfiguration()` out
of the function and just use `config` inside the function, hoping that this
one is serializable.

Tobias

Reply via email to