add AppMaster fault tolerance

maybe a silly question but what's the difference between "status" and "state"