官术网_书友最值得收藏!

Resource Manager

Resource Manager is a key component in the YARN ecosystem. It was introduced in Hadoop 2.X, replacing JobTracker (MapReduce version 1.X). There is one Resource Manager per cluster. Resource Manager knows the location of all slaves in the cluster and their resources, which includes information such as GPUs (Hadoop 3.X), CPU, and memory that is needed for execution of an application. Resource Manager acts as a proxy between the client and all other Hadoop nodes. The following diagram depicts the overall capabilities of Resource Manager:

YARN resource manager handles all RPC such as services that allow clients to submit their jobs for execution and obtain information about clusters and queues and termination of jobs. In addition to regular client requests, it provides separate administration services, which get priorities over normal services. Similarly, it also keeps track of available resources and heartbeats from Hadoop nodes. Resource Manager communicates with Application Masters to manage registration/termination of an Application Master, as well as checking health. Resource Manager can be communicated through the following mechanisms:

  • RESTful APIs
  • User interface (New Web UI)
  • Command-line interface (CLI)

These APIs provide information such as cluster health, performance index on a cluster, and application-specific information. Application Manager is the primary interacting point for managing all submitted applications. YARN Schedule is primarily used to schedule jobs with different strategies. It supports strategies such as capacity scheduling and fair scheduling for running applications. Another new feature of resource manager is to provide a fail-over with near zero downtime for all users. We will be looking at more details on resource manager in Chapter 5Building Rich YARN Applications on YARN.

主站蜘蛛池模板: 金山区| 象山县| 博罗县| 蓬安县| 县级市| 尼木县| 扬中市| 务川| 剑河县| 扶余县| 阳原县| 峨眉山市| 合肥市| 阜康市| 冀州市| 碌曲县| 江城| 恩施市| 石屏县| 乌审旗| 和平县| 仁寿县| 灵寿县| 广宗县| 柏乡县| 昂仁县| 漳州市| 封开县| 新丰县| 寻甸| 唐海县| 荆门市| 洛宁县| 开化县| 漳平市| 瑞安市| 武强县| 兴宁市| 枣强县| 邻水| 诸暨市|