Support Questions
Find answers, ask questions, and share your expertise

"message": "Failed to find datanode, suggest to check cluster health."

Highlighted

"message": "Failed to find datanode, suggest to check cluster health."

Explorer

While starting the History Server from Ambari,from master(namenode),getting

{
  "RemoteException": {
    "exception": "IOException", 
    "javaClassName": "java.io.IOException", 
    "message": "Failed to find datanode, suggest to check cluster health."
  }
} 
2 REPLIES 2
Highlighted

Re: "message": "Failed to find datanode, suggest to check cluster health."

Super Mentor

@Achu Thambi

- This usually happens if your hostnames are not correctly defined across the clusters.

- So please check your Both the NameNode hosts if they are having the correct entry for all the DataNodes mapped insie their "/etc/hosts" file or via DNS mapping. The NameNode "/etc/hosts" file should have all the DataNodes FQDN entry properly mapped inside.

- Also please check if you have the correct entry insie your following file as mentioned below:

# grep ^hosts /etc/nsswitch.conf
hosts:  files dns

.

Highlighted

Re: "message": "Failed to find datanode, suggest to check cluster health."

Explorer

Thanks for the reply @Jay SenSharma...I cross checked every hosts file.It was fine.The issue started only after the formatting of the namenode.

Don't have an account?