Changes to perform rolling restart of HDFS datanode

Refer #194. The changes are to perform rolling restart if HDFS datanode service.Also there are HDFS datanode related changes for #309, #305 & #183.