Description
The construction of the context is expensive, includes per-task trips to NameNode for obtaining the information about job.jar, job splits etc which is redundant across all tasks.
We should have a common job-level context and a task-specific context inheriting from the common job-level context.