Why is it correct to raise an exception here? I don't think we've totally figured out the correct exception handling scheme in jydoop, but currently any map that raises an exception will abort the entire task (and the job, eventually).