HDFS cluster based storage node transfer method and device
A technology of storage node and transfer method, applied in the field of transfer of storage nodes, can solve the problems of reducing the availability of HDFS cluster, increasing the overall work pressure of the cluster, reducing the work efficiency of HDFS cluster, etc., so as to achieve the effect of ensuring availability and reducing work pressure.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] figure 1 It is a flow chart of an HDFS cluster-based storage node transfer method provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the method for transferring storage nodes based on HDFS clusters include:
[0042] Step S10: Obtain the running status of the storage nodes in the cluster through the monitoring node.
[0043] In this step, the state of establishing a connection between the monitoring node and the storage node in the cluster is for monitoring the operation status of the storage node and recording the operation status. It should be noted that the topology of the monitoring nodes can be specifically connected to and controlled by a master monitoring node to form a monitoring node cluster. The master monitoring node is used to record the monitoring data of the slave monitoring nodes, and control the slave monitoring nodes to perform corresponding operations according to the monitoring situation of the slave...
Embodiment 2
[0051] figure 2 It is a flow chart of another HDFS cluster-based storage node transfer method provided by an embodiment of the present invention. figure 2 In steps S10-S12 and figure 1 Same, no more details here.
[0052] Such as figure 2 As shown, as a preferred embodiment, the method further includes:
[0053] Step S20: adding a new non-storage node, configuring and recording address information of the new non-storage node.
[0054] It can be understood that adding a non-storage node in the cluster is equivalent to adding a backup storage node, thereby avoiding the situation that no non-storage node can be configured as a storage node when a storage node fails. The purpose of configuring and recording the address information of the new non-storage node is to find the corresponding non-storage node through the address information in the subsequent steps. This step can be performed before any step or simultaneously with any step, and is not specifically limited here.
...
Embodiment 3
[0070] The embodiment of the method for transferring storage nodes based on HDFS clusters has been described in detail above, and the present invention also provides a device for transferring storage nodes based on HDFS clusters corresponding to the method. The embodiments of the method part correspond to each other, so for the embodiments of the device part, please refer to the description of the embodiments of the method part, and details will not be repeated here.
[0071] image 3 A structural diagram of a transfer device for storage nodes based on HDFS clusters provided by an embodiment of the present invention. The transfer device based on the storage node of the HDFS cluster provided by the embodiment of the present invention specifically includes:
[0072] The monitoring module 10 is configured to obtain the running status of the storage nodes in the cluster through the monitoring node.
[0073] Judging module 11, configured to judge whether the storage node fails ac...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


