add event-driven model in hadoop
fsm