I'm not sure this is the right exception to throw.   Other candidates include IllegalStateException and RuntimeError.   Might as well leave this one for the hadoop committers to suggest since their views have a decent chance of differing from mine.