Adding hasrestart and hasstatus to hadoop services

Change-Id: I6b8d9a31d9bce76c8e5226246496daa127df8244