seems hadoop specific.

Can we instead take an implicit Mode here and get the configuration from that?

Then we can also support this is tests or locally by mocking it out correctly.