String localDirPath = getHadoopLocalConfDir();
writeConfToFile(configFile,localDirPath,conf);
RemoteProcess daemon=clusterManager.getDaemonProcess(client.getHostName(),
role);
newConfDir = daemon.pushConfig(localDirPath);
daemon.kill();
waitForDaemonToStop(client);
daemon.start(newConfDir);
waitForDaemonToStart(client);
localFolderObj.delete();
}