Created on 04-14-2016 07:46 AM - edited 08-18-2019 03:54 AM
I have upgrade HDP from 2.3.4.0 to 2.4.0.0 and all it's ok, but one of the two NameNode tell me:
I have only 3 datanode and I checked the running processes on all: they are to the version 2.4.0
Created 04-14-2016 04:42 PM
Can you please try below command:
hdfs dfsadmin -fs hdfs://<problematic-nn-fqdn>:8020 -refreshNodes
Note - Please run above command by hdfs user.
Also, Can you please check datanode logs on hdpslave04 and see if you get anything in there.
Created 04-14-2016 11:09 AM
Hi @Davide Isoardi that's particularly strange! Does this state still persist after restarting (or indeed stopping/starting) the services?
Let us know how it goes!
Created on 04-14-2016 12:13 PM - edited 08-18-2019 03:54 AM
This state still persist after restart of all HDFS component. I didn't try to stop and start the datanode, but it's strange why I have 3 datanode and not 4. Also shows me the following state:
Created 04-14-2016 04:42 PM
Can you please try below command:
hdfs dfsadmin -fs hdfs://<problematic-nn-fqdn>:8020 -refreshNodes
Note - Please run above command by hdfs user.
Also, Can you please check datanode logs on hdpslave04 and see if you get anything in there.
Created 04-15-2016 07:47 AM
I have run this command and stop and star the problematic nameNode; Now it's all ok.
Thank you
Created 04-15-2016 07:13 PM
@Davide Isoardi - You are welcome! 🙂