- Hadoop 2.x Administration Cookbook
- Gurmukh Singh
- 222字
- 2021-07-09 20:10:31
Job history web interface and metrics
In the previous recipe, we enabled history server, and now we will use the Web UI to the explore YARN metrics and job history.
Getting ready
Make sure you have completed the previous recipe and have a History Server running as daemon, as shown here in the list of processes:

How to do it...
- Using web browser, connect to the JobHistoryServer Web UI port, which in this case is port
19888
and host IPmaster1.cyrus.com
. - Once connected to the Web UI, the user can see JobHistory and other details as shown here:
- Under the Tools section on the left-most side, the user can see links to view YARN parameters currently in effect, using the link
configuration
as shown here: - Another section is metrics, which gives information about JvmMetrics, stats, and so on. The output format is JSON:
- The preceding output can also be viewed from the command line, as shown in the following screenshot:
How it works...
In Hadoop, each daemon has a built-in web server, which is a jetty server. Each server exposes metrics, which can be captured or explored using the JMX API calls. The JMX interface is very important for writing plugins for health checks or for triggering some events on a condition, as it can be queried simply using a CURL call.
推薦閱讀
- Word 2000、Excel 2000、PowerPoint 2000上機指導與練習
- 工業(yè)機器人工程應用虛擬仿真教程:MotoSim EG-VRC
- 數(shù)據(jù)庫原理與應用技術
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·智能制造
- 傳感器與物聯(lián)網(wǎng)技術
- Prometheus監(jiān)控實戰(zhàn)
- Linux:Powerful Server Administration
- 網(wǎng)絡服務器搭建與管理
- MPC5554/5553微處理器揭秘
- 數(shù)字多媒體技術基礎
- 計算機硬件技術基礎(第2版)
- 軟測之魂
- 巧學活用Linux
- 系統(tǒng)建模與控制導論
- AWS Administration:The Definitive Guide(Second Edition)