Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> Can I change the IP/hostname of the dfs name without data loss?


Copy link to this message
-
Can I change the IP/hostname of the dfs name without data loss?
Hadoop version: hadoop-0.20.205.0

My NN machine has 2 IP addresses and 2 hostnames assigned to them
respectively. I have configured "fs.default.name" using one of the
hostnames and used the cluster for a while.

Now, I may have to move the "fs.default.name" to the other IP/hostname of
the same machine. If no other configurations change (such as the
directories), can I simply change "fs.default.name" to the new hostname and
restart NN?

Thanks,
James
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB