Allow running in local/hadoop mode.