Change IP/Hostname on a Cloudera Cluster

Change the hostname: /etc/hosts /etc/sysconfig/network /etc/sysconfig/network-scripts/ifcfg-eth0   # or whatever is your network interface cd /etc/hadoop find .   | xargs grep -i myhostname | cut -d”:” -f1 | uniq -c 3 ./conf.cloudera.hdfs1/hdfs-site.xml 1 ./conf.cloudera.hdfs1/core-site.xml 3 ./conf.cloudera.yarn1/hdfs-site.xml 5 ./conf.cloudera.yarn1/yarn-site.xml 1 ./conf.cloudera.yarn1/core-site.xml 2 ./conf.cloudera.yarn1/mapred-site.xml 3 ./conf.cloudera.mapreduce 1 /hdfs-site.xml 1 ./conf.cloudera.mapreduce1/core-site.xml 1 ./conf.cloudera.mapreduce1/mapred-site.xml Edit each occurrences in all…