I have started hdfs, but datanodes are not shown in the website. Although when i run the "jps" command at the datanode machines:
41348 Jps
41028 DataNode
Also, Datanode directory is empty.
this is the content of the hdfs-site.xml file:
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
<property>
<name>dfs.datanode.data.dir</name>
<value>/usr/local/hadoop/hdfs/data/dataNode</value>
</property>
<property>
<name>dfs.disk.balancer.enabled</name>
<value>false</value>
</property>
<property>
<name>dfs.permissions</name>
<value>false</value>
</property>
I checked datanode log files, and this error is shown:
2023-03-21 09:39:45,177 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: hadoop-master/64.226.67.23:9000. Already tried 0 time(s)
2023-03-21 09:39:46,179 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: hadoop-master/64.226.67.23:9000. Already tried 1 time(s)
2023-03-21 09:39:47,181 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: hadoop-master/64.226.67.23:9000. Already tried 2 time(s)
2023-03-21 09:39:48,183 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: hadoop-master/64.226.67.23:9000. Already tried 3 time(s)