Solve Hadoop 3.1.3 bug: Secondary NameNode page cannot display complete information

1. Problem description

Visit the Secondary NameNode page http://hadoop104:9868 and can't see the details

2. Solutions

(1) Press F12 on the browser to check the cause of the problem. Locate bug at line 61

(2) Find the file to be modified

[dw@hadoop102 static]$ pwd
/datafs/module/hadoop-3.1.3/share/hadoop/hdfs/webapps/static

[dw@hadoop102 static]$ vim dfs-dust.js
:set nu
to modify line 61
return new Date(Number(v)).toLocaleString();

(3) Restart the hadoop cluster

(4) Clear the browser cache, reopen the browser, and force a refresh on the http://hadoop104:9868/status.html page

1

Guess you like

Origin blog.csdn.net/frdevolcqzyxynjds/article/details/123531031