fix bugs in jobmanager add hadoop handle part