change hdfs and slave