Created on 11-21-2016 09:37 PM
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.