//The client which needs to be decommissioned is put in the exclude path.
String command = "echo " + ttClientHostName + " > " + excludeHostPath;
LOG.info("command is : " + command);
RemoteExecution rExec = new SSHRemoteExecution();
rExec.executeCommand(jtClientHostName, userName, command);
//The refreshNode command is created and execute in Job Tracker Client.
String refreshNodeCommand = "export HADOOP_CONF_DIR=" + hadoopConfDir +
"; export HADOOP_HOME=" + hadoopHomeDir + ";cd " + hadoopHomeDir +
";kinit -k -t " + keytabForHadoopqaUser +