Method and device for adjusting number of nodes in system
A technology for adjusting devices and adjusting methods, applied in multi-programming devices, resource allocation, etc., can solve problems such as waste of node equipment resources, insufficient node equipment resources, and the inability to dynamically adjust the number of nodes, and achieve the effect of solving resource shortages
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] This embodiment provides a method for adjusting the number of nodes in the Hadoop system, such as figure 1 As shown, the following steps may be included:
[0070] Step 101: Receive current hardware usage status information sent by each node device in the cluster, where the node device is a started node device.
[0071] In this embodiment, the cluster is a Hadoop cluster, and each node device in the cluster needs to collect its own hardware usage status information, and then send it out. In this embodiment, each node device in the Hadoop cluster is a node device that has been started, and each node device is installed with HDFS components after startup, so that Hadoop can perform data access and other processing.
[0072] Preferably, the hardware usage status information in this embodiment may include: the current disk space usage rate of the device (ie the current disk space usage percentage of the device), the current CPU usage rate of the device (and the current CPU ...
Embodiment 2
[0118] Such as image 3 As shown, the present embodiment provides a method for adjusting the number of nodes in the Hadoop system, which is applied to the node devices in the Hadoop system cluster, including the following steps:
[0119] Step 301: After the node device is started, collect hardware usage status information of the node device itself.
[0120] After the node device in the cluster is started, the method of this embodiment can collect the hardware usage status information of the node device, for example including: at least one of the disk space usage rate of the device, the current CPU usage rate of the device, and the current memory usage rate of the device.
[0121] Preferably, a data conversion table can also be established for the collected hardware usage status information, and the hardware usage status information is processed based on the data conversion table to form a data table.
[0122] Step 302: Send the collected hardware usage status information, so ...
Embodiment 3
[0128] Such as Figure 4 As shown, the present embodiment provides a device for adjusting the number of nodes in the Hadoop system, including: a receiving module 401, an analyzing module 402 and a processing module 403;
[0129] The receiving module 401 is configured to receive current hardware usage status information sent by each node device in the cluster, where the node device is a started node device;
[0130] The analysis module 402 is configured to acquire, according to the received hardware usage status information, indicator information used to describe the current usage status of the cluster;
[0131] The processing module 403 is configured to adjust the number of activated node devices in the cluster according to the index information.
[0132] preferentially, as Figure 5 As shown, the processing module 403 in this embodiment includes: a judgment module 4031 and an adjustment module 4032;
[0133] The judging module 4031 is configured to judge whether the device...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com