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

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.

主站蜘蛛池模板: 潍坊市| 扎兰屯市| 宁阳县| 思茅市| 张家口市| 阿拉善右旗| 城口县| 乌鲁木齐县| 旬阳县| 陇南市| 榆社县| 宁蒗| 锡林浩特市| 合肥市| 柘城县| 海伦市| 介休市| 色达县| 庆元县| 都江堰市| 犍为县| 佳木斯市| 额敏县| 安宁市| 响水县| 常德市| 青龙| 蛟河市| 城口县| 叙永县| 姚安县| 锡林郭勒盟| 平果县| 昆明市| 普洱| 和静县| 滦南县| 兴化市| 永川市| 浪卡子县| 崇礼县|