位置
$HADOOP_HOME/share/hadoop/yarn/hadoop-yarn-common-2.6.1.jar
查看
jar tf hadoop-yarn-common-2.6.1.jar |grep yarn.dt.plugins.js
webapps/static/yarn.dt.plugins.js
解压
jar -xvf hadoop-yarn-common-2.6.1.jar webapps/static/yarn.dt.plugins.js
inflated: webapps/static/yarn.dt.plugins.js
修改
vi webapps/static/yarn.dt.plugins.js
return new Date(parseInt(data)).toLocaleString();
更新
jar -uvf hadoop-yarn-common-2.6.1.jar webapps/static/yarn.dt.plugins.js
强刷页面即可