Modified wrong pid files to monit for hdfs services and setting mail properties in default config file