fix history server object. fix the object of formatting namenode to not run it again when re-deploy.