check whether all mapper tasks finishes