Closed haidawyl closed 10 years ago
目前我们用的yarn自己的/metrics下面没有提供metrics, 因此在owl里也没配置,所以会显示500
如果你用的yarn自己的/metrics下面有提供metrics出来的话,可以参考learning_minos.ppt自己配置一些
learning_minos.ppt在哪儿?找到了learning_minos.pdf,不过不能正常打开,显示文件已损坏。
git上这个版本pdf确实有点问题,正在修复。你先看一下这个:http://share.csdn.net/slides/1324,最后面有扩展metrics的方法
上传pdf有点问题,你如果急的话,留个邮箱,我直接给你发一份吧。
haidawyl@163.com,方便的话麻烦你给我发一份吧
已发。
收到,多谢!
我在访问yarn页面时显示 Server Error (500)
在owl/debug.log里看到错误信息 ERROR 2014-03-13 10:41:07,630 base 24854 140053866374912 Internal Server Error: /monitor/job/3/ Traceback (most recent call last): File "/home/hadoop/minos/build/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 114, in get_response response = wrapped_callback(request, _callback_args, *_callback_kwargs) File "/home/hadoop/minos/owl/monitor/views.py", line 404, in show_job tsdb_metrics = metric_helper.make_metrics_query_for_job(endpoints, job, tasks) File "/home/hadoop/minos/owl/monitor/metric_helper.py", line 132, in make_metrics_query_for_job task_view_config = job_metrics_view_config(job) File "/home/hadoop/minos/owl/monitor/metric_helper.py", line 77, in job_metrics_view_config return metric_view_config.JOB_METRICS_VIEW_CONFIG[service][job] KeyError: 'yarn'
请问这个错误怎么解决?