Qihoo360 / hbox

AI on Hadoop
Apache License 2.0
1.73k stars 385 forks source link

static file of xlearning can not be access in WebUI #60

Closed lshmouse closed 5 months ago

lshmouse commented 5 years ago

a In the xlearning job web UI, the metrics graph can not be seen for these is no js for it.

lshmouse commented 5 years ago
因CPU Metrix功能中加载所需js文件是基于Hadoop中WebApp的build方法实现的,Hadoop2.6.4以下版本无该方法,若需要查看CPU Metrix的相关信息,可通过如下操作进行:  

在文档上找到相关提示, 可以说的更加明确一些吗, 具体如何实现? 在高版本Hadoop 3.1 中是否支持?

我在app master日志相关信息如下

19/01/31 20:12:05 INFO ContextHandler: Started o.e.j.s.ServletContextHandler@23c30a20{/static,jar:file:/opt/soft/hadoop-3.1.0-mdh3.1.0.0-SNAPSHOT/share/hadoop/yarn/hadoop-yarn-common-3.1.0-mdh3.1.0.0-SNAPSHOT.jar!/webapps/static,AVAILABLE}
19/01/31 20:12:05 INFO ContextHandler: Started o.e.j.w.WebAppContext@4b40f651{/,file:///tmp/jetty-0.0.0.0-40488-proxy-_-any-1699937868326261453.dir/webapp/,AVAILABLE}{/proxy}
19/01/31 20:12:05 INFO StandardDescriptorProcessor: NO JSP Support for /static/xlWebApp, did not find org.eclipse.jetty.jsp.JettyJspServlet
19/01/31 20:12:05 INFO ContextHandler: Started o.e.j.w.WebAppContext@36b4091c{/static/xlWebApp,jar:file:/home/work/hdd4/yarn/c3prc-deeplearning/nodemanager/usercache/s_spark_tst/appcache/application_1548906108434_0015/filecache/10/AppMaster.jar!/xlWebApp,AVAILABLE}
19/01/31 20:12:05 INFO AbstractConnector: Started ServerConnector@5ccc0efa{HTTP/1.1,[http/1.1]}{0.0.0.0:40488}
jiarunying commented 5 years ago

https://github.com/Qihoo360/XLearning/blob/master/doc/faq_cn.md 中的9项内容有对应说明