forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
27 lines
4.1 KiB
HTML
27 lines
4.1 KiB
HTML
<a name="admin_guide_000018"></a><a name="admin_guide_000018"></a>
|
|
|
|
<h1 class="topictitle1">Static Service Resources</h1>
|
|
<div id="body1529658735912"><div class="section" id="admin_guide_000018__s08d10c7a1a0049ed9d7ef5a68ce1af8c"><h4 class="sectiontitle">Overview</h4><p id="admin_guide_000018__ab5ba91dbd29949bd8ea5c0ebaf20a4d9">A cluster allocates static service resources to services Flume, HBase, HDFS, and YARN. The total volume of computing resources allocated to each service is fixed, and they are static. A tenant can exclusively use or share a service to obtain the resources required for running this service.</p>
|
|
</div>
|
|
<div class="section" id="admin_guide_000018__s640dc516c8eb467bb55362b2ea2cc036"><h4 class="sectiontitle">Static Service Pool</h4><p id="admin_guide_000018__ab8b7153023d34942b76756d549eb2661">Static service pools are used to specify service resource configurations.</p>
|
|
</div>
|
|
<p id="admin_guide_000018__ab2323f7213214922bbbb8edd3c625b27">Static service pools centrally manage resources that can be used by each service.</p>
|
|
<ul id="admin_guide_000018__u6d5f258a32db45d39d422c5251e3a9e9"><li id="admin_guide_000018__le0d6b418e5a442d79893034dc35e794d">Limits the total number of resources that can be used by each services. Specifically, the total number of CPU, I/O, and memory resources can be configured on the nodes where services Flume, HBase, HDFS, and YARN are deployed.</li><li id="admin_guide_000018__l32fb39a92381499fa55a2b9daa2a813f">Isolates the resources of services in a cluster from those of other services. In this way, the load of one service has very limited impact on other services.</li></ul>
|
|
<div class="section" id="admin_guide_000018__se0027ae8c00d466db338b456713d296a"><h4 class="sectiontitle">Scheduling Mechanism</h4><p id="admin_guide_000018__a20b74fc41c914d80811fb6d89fd57734">The time-based dynamic resource scheduling mechanism enables different volumes of static resources to be configured for services at different time, optimizing service running environments and improving the cluster efficiency.</p>
|
|
</div>
|
|
<p id="admin_guide_000018__p1885931362419">In a complex cluster environment, multiple services share resources in the cluster, but the resource service period of each service may be different.</p>
|
|
<p id="admin_guide_000018__a87c18b5f4d05421f8474655b8fc0f9c6">The following use a bank customer as an example:</p>
|
|
<ul id="admin_guide_000018__u193489a4958944808bd77178a25f24ac"><li id="admin_guide_000018__lff655cc45ee8481bb8c5fdc2d8cda13a">The HBase query service is heavy in the daytime.</li><li id="admin_guide_000018__l3ef1e9e2cba44252b51c9b0dc6d7492b">The query service is light, but the Hive analysis service is heavy at night.</li></ul>
|
|
<p id="admin_guide_000018__a37550a1020454a73969458149b16c472">If fixed resources are allocated to each service, the following problems may occur:</p>
|
|
<ul id="admin_guide_000018__ufa5b6126b13e4561bca13149e0179627"><li id="admin_guide_000018__le73eb3614b4a4178a929239367d0b2e9">The query service cannot obtain sufficient resources while the resources for the analysis service are idle in the daytime.</li><li id="admin_guide_000018__lccc1507668fe4ba995b0aa120bbd5c98">The analysis service cannot obtain sufficient resources while the resources for the query service are idle at night.</li></ul>
|
|
<p id="admin_guide_000018__a2284f7aa95ad401b995243683de86927">As a result, the cluster resource utilization is low and the service capability is weak. Resolve the problem in the following ways:</p>
|
|
<ul id="admin_guide_000018__u4bb324661a8d4d93a7b43c431d36f606"><li id="admin_guide_000018__le690365c70d14194a220b216718ab926">Sufficient resources need to be configured for HBase in the daytime.</li><li id="admin_guide_000018__l8aaa0396168a4b238f7588eda3132bbe">Sufficient resources need to be configured for Hive at night.</li></ul>
|
|
<p id="admin_guide_000018__a7def0ebb7b8e4ab8a1b5f3554437468d">The time-based dynamic scheduling mechanism can efficiently utilize resources and run tasks.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="admin_guide_000017.html">Managing Static Service Pools</a></div>
|
|
</div>
|
|
</div>
|
|
|