1. init the replicator 2. retry when fail to register worker and appmast...

...er 3. refine the log