I have CDH 4.5.
Problem: a hadoop fs -ls / returns the root directory of the local file
system.
In CM I navigate to Services->hdfs1->instance->datanode(machine12)
Processes-> Show (Config files/Env)-> core-site.xml
I see fs.defaultFS is set correctly to hdfs://machine.company.com:8020
Yet when I am on that DN a hadoop fs -ls / returns the root directory of
the local file system.
I searched for core-site.xml/
ls -al /etc/hadoop/conf -> /etc/alternatives/hadoop-conf ->
/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/etc/hadoop/conf.empty
I edited that core-site.xml, which was empty.
added the correct fs.defaultFS.
Now hadoop fs -ls / returns the root level of hdfs.
1.)is this the correct core-site.xml that should be used?
2.)how do I determine which core-site.xml or any other config xml file, and
their location, is used?
3.)shouldn't CM be editing the correct core-site.xml? Or maybe it is.?
thanks.
John
To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.