Short Description:

Unable to access Datanodes tab from Namenode UI . When we click on Datanodes tab on Namenode UI, nothing happens.

Article

ISSUE :

When we click on Datanodes tab on Namenode UI, nothing happens.

ROOT CAUSE :

This is happening because of

https://issues.apache.org/jira/browse/HDFS-10888 and

https://issues.apache.org/jira/browse/HDFS-9193

which is fixed in Hadoop version 2.8. But HDP 2.5 is on Hadoop 2.7.

RESOLUTION/WORKAROUND :

To resolve this, we can work around by editing the below file on both the namenodes

/usr/hdp/current/hadoop-hdfs-client/webapps/hdfs/dfshealth.js and

changing

       } else if (u.usedPercentage < 85) {

to

       } else if (v < 85) {

We should be able to access datanode tabs after restarting namenode.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *