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

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.

主站蜘蛛池模板: 隆尧县| 东海县| 沁水县| 桂林市| 邳州市| 和静县| 罗田县| 东莞市| 孝义市| 罗江县| 扶余县| 诏安县| 莱州市| 新平| 志丹县| 宝山区| 九江市| 武乡县| 兴文县| 平远县| 唐海县| 唐河县| 元谋县| 隆回县| 吴忠市| 梅州市| 库尔勒市| 绵阳市| 简阳市| 浠水县| 宝应县| 黄石市| 北流市| 晋中市| 佳木斯市| 临泽县| 永昌县| 枞阳县| 马龙县| 彭山县| 剑阁县|