当前位置:网站首页>第三章 调度系统架构设计之获取集群资源信息
第三章 调度系统架构设计之获取集群资源信息
2022-08-05 12:50:00 【随缘清风殇】
- 实现方案:通过Rest API方式获取集群资源与内存信息判断是否继续提交任务还是将任务阻塞在客户端
1、Yarn的Rest API
(1)Rest API简介
Rest将增删改查直接映射到HTTP中已实现的GET、POST、PUT、DELETE方法。
(2)Yarn Rest API
Hadoop YARN 自带了一系列的web service REST API,我们可以通过这个web service,可以通过web service访问集群(cluster)、节点(nodes)、应用(application)以及应用的历史信息。
- 注意事项:web service REST API语法如下
http://{http address of service}/ws/{version}/{resourcepath}
①address:获取服务器的地址信息,包括RM、NM、History
②ws:固定语句
③version:API版本
④resourcepath:资源路径
(3)Yarn集群监控指标相关Rest API
①API说明
- 访问路径:
http://<rm http address:port边栏推荐
- MySQL之InnoDB和MyISAM区别
- 树形dp CF461B Appleman and Tree
- 试写C语言扫雷
- 2022华数杯C:插层熔喷非织造材料的性能控制研究
- Bit rate vs. resolution, which one is more important?
- Matplotlib 使用指南
- 微信商城小程序怎么弄?怎么做微信商城小程序?
- 微信开发者工具更换默认用户存储目录方法,将C盘数据User Data迁移到D盘
- How does the bank transaction system ensure strong consistency of data transactions?Via the database component?How to ensure the normal consistency of database transaction data under high concurrency?
- leetcode-每日一题623. 在二叉树中增加一行(DFS)
猜你喜欢

买个社区团购小程序多少钱呢?微信社区团购小程序怎么做

C进阶 - 指针进阶

我和 TiDB 的故事 | 横看成岭侧成峰

leetcode-每日一题623. 在二叉树中增加一行(DFS)

MySQL之InnoDB存储结构

Shell script, help you improve the fishing time!

【IC5000教程】-02-使用daqIDEA图形化显示“Array数组”和“struct结构体”类型变量的值变化
Shang Silicon Valley-JVM-Performance Monitoring and Tuning (P302~P381)

微信商城小程序怎么弄?怎么做微信商城小程序?

松翰烧录器在keil仿真时闪退,解决方法
随机推荐
Opening today: LiveVideoStackCon 2022 Audio and Video Technology Conference Shanghai Station
Depth Map-Based Object Detection
RK3588+FPGA high-speed image processing communication processor solution
建造者模式
素士科技IPO被终止:年营收18.7亿 顺为小米景林昆仲是股东
LeetCode 623 在二叉树中增加一行[BFS DFS] HERODING的LeetCode之路
华朗复读衔接营励志开营!全名师阵容护航 解读高考成功秘钥
高薪程序员&面试题精讲系列133之微服务里的网关有哪些实现方案?你熟悉Gateway网关吗?
Trial writing C language minesweeper
solaris-磁盘管理
795. Prefix and
163_技巧_Power BI 一键批量建立自定义字段参数
Easy to understand and play QT: QT program release packaging
微信开发者工具更换默认用户存储目录方法,将C盘数据User Data迁移到D盘
solaris-disk management
One: OpenCV image reading and writing file help documentation
A brief explanation of permutation and combination
《MySQL核心知识》第1章:开篇:专栏介绍
Should you migrate your monolithic architecture to microservices?
Two: OpenCV image overlay logical operation