abishek rao
abishek rao

Reputation: 23

Not able to access HDFS from the Datanodes in clusture

Have installed cloudera cdh4 on 3 node cluster.Facing problem when trying to access the data in HDFS through slave nodes(Datanodes).

When I am trying to create the new folder in HDFS using

hadoop fs -mkdir Flume(Foldername)

command not able to put the data or create the folder in the hdfs of the cluster from either of the slaves,but working from the master node,also flume ,hive ,pig all other process are running in the slaves (Datanodes) Tried restarting the cluster namenode format Still not working!!

Secondly When I am doing

hadoop fs -ls /

results are not of from the hdfs but from the current directory path of the slave node from where I am usin this command. And how to check if hdfs is working and installed properly in slave nodes(Datanodes) in cluster apart from creating the directory in HDFS. Could anybody help?

Upvotes: 0

Views: 526

Answers (1)

user1261215
user1261215

Reputation:

Please verify the property "fs.default.name" in the core-site.xml.

<property>
<name>fs.default.name</name>
<value>hdfs://namenode:9000</value>
</property>

Upvotes: 0

Related Questions