Client installation and configuration method, device, equipment and medium outside the big data cluster

By obtaining the preset configuration information of the big data cluster, configuring the client node, installing the target client, setting up global command access cluster, solving the complexity of client installation configuration outside the big data cluster, and achieving efficient and easy-to-use client installation and task execution.

CN114756252BActive Publication Date: 2025-08-12JINAN INSPUR DATA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210395805.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-15
Publication Date
2025-08-12
Estimated Expiration
2042-04-15

AI Technical Summary

Technical Problem

The installation and configuration methods of existing big data clusters are complex and lack of uniformity, resulting in low work efficiency, difficult installation and configuration, and difficult to troubleshoot when errors occur.

Method used

Obtain the preset configuration information of the big data cluster, use this information to configure the client node, and install the target client, and use global variable setting commands to access the cluster and submit tasks, including local source information, domain name information, JDK version information and adjustment of system time, as well as installing the target client corresponding to the target big data service in the cluster in the client node.

Benefits of technology

It improves the efficiency and ease of use of client installation, reduces the risk of errors, and improves the execution efficiency of tasks to be run.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114756252B_ABST
    Figure CN114756252B_ABST
Patent Text Reader

Abstract

The present application discloses a method, apparatus, device and medium for installing and configuring a client outside a big data cluster, including: obtaining preset configuration information of a big data cluster, and configuring the client node outside the big data cluster using the preset configuration information; installing a target client corresponding to a target big data service in the big data cluster on the client node, and configuring the client node using a configuration file of the target big data service; setting the command of the target client as a global command through a global variable, so that the target client can access the big data cluster through the global command and submit tasks to be run to the big data cluster. Through the configuration of the client node outside the big data cluster by this application, the efficiency and ease of installation and configuration of the client outside the big data cluster are improved, the execution efficiency of the tasks to be run is also improved, and the risk of errors is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to a method, device, equipment and medium for installing and configuring a client outside a big data cluster. Background Art

[0002] As big data clusters continue to expand and the number of tasks they run increases, the need for external clients has become increasingly prominent. To facilitate the faster submission of relevant business applications to the cluster, the demand for external clients has become increasingly prominent. Current installation and configuration methods for external clients are often complex and chaotic, with no standardized approach or procedures. This results in low overall efficiency, difficulty in installation and configuration, and difficulty in troubleshooting errors.

[0003] In summary, how to provide a unified client installation and configuration method for client nodes outside the big data cluster is an issue that needs to be solved. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to provide a client installation and configuration method, apparatus, device, and medium outside a big data cluster, which can provide a unified client installation and configuration method for client nodes outside a big data cluster. The specific solution is as follows:

[0005] In a first aspect, the present application discloses a method for installing and configuring a client outside a big data cluster, comprising:

[0006] Obtaining preset configuration information of the big data cluster, and configuring client nodes outside the big data cluster using the preset configuration information;

[0007] Installing a target client corresponding to a target big data service in the big data cluster on the client node, and configuring the client node using a configuration file of the target big data service;

[0008] The command of the target client is set as a global command through a global variable, so that the target client accesses the big data cluster through the global command and submits a task to be run to the big data cluster.

[0009] Optionally, obtaining preset configuration information of the big data cluster includes:

[0010] Obtain the local source information, domain name information, JDK version information, and system time of the big data cluster to obtain the preset configuration information.

[0011] Optionally, configuring the client node outside the big data cluster using the preset configuration information includes:

[0012] Updating a current local source of the client node using the local source information;

[0013] Obtaining a host list including the domain name information, and adding the host list to the client node;

[0014] Obtaining a JDK installation package corresponding to the JDK version information, and installing the JDK installation package on the client node;

[0015] The current time of the client node is adjusted based on the system time.

[0016] Optionally, adjusting the current time of the client node based on the time information includes:

[0017] The current time of the client node is adjusted based on the system time and using preset time synchronization software of the client node.

[0018] Optionally, the process of installing a target client corresponding to a target big data service in the big data cluster on the client node further includes:

[0019] If there are multiple target clients corresponding to the target big data service in the big data cluster, an installation order among the multiple target clients is determined, and the multiple target clients are installed in sequence on the client node based on the installation order.

[0020] Optionally, the client installation and configuration method outside the big data cluster further includes:

[0021] A secret-free communication is established between the big data cluster and the client node.

[0022] Optionally, before setting the command of the target client as a global command through a global variable so that the target client accesses the big data cluster through the global command, the method further includes:

[0023] Monitoring the working status of the firewall of the client node;

[0024] If the working state is on, the firewall is closed so that the target client can access the big data cluster through the global command.

[0025] In a second aspect, the present application discloses a client installation and configuration device outside a big data cluster, comprising:

[0026] An information configuration module, which obtains preset configuration information of the big data cluster and uses the preset configuration information to configure client nodes outside the big data cluster;

[0027] A client installation module, configured to install a target client corresponding to a target big data service in the big data cluster on the client node, and configure the client node using a configuration file of the target big data service;

[0028] The command setting module is used to set the command of the target client as a global command through a global variable, so that the target client can access the big data cluster through the global command and submit a task to be run to the big data cluster.

[0029] In a third aspect, the present application discloses an electronic device, comprising:

[0030] Memory, used to store computer programs;

[0031] A processor is used to execute the computer program to implement the steps of the aforementioned disclosed method for installing and configuring a client outside a big data cluster.

[0032] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed method for installing and configuring a client outside a big data cluster are implemented.

[0033] It can be seen that the present application obtains the preset configuration information of the big data cluster, and uses the preset configuration information to configure the client nodes outside the big data cluster; installs the target client corresponding to the target big data service in the big data cluster on the client node, and uses the configuration file of the target big data service to configure the client node; sets the command of the target client to a global command through a global variable, so that the target client can access the big data cluster through the global command and submit tasks to be run to the big data cluster. It can be seen that the present application first obtains the preset configuration information of the big data cluster, and uses the preset configuration information to configure the client nodes outside the big data cluster, and then installs the target client corresponding to the target big data service on the client node, and uses the corresponding configuration file to configure the client node, and finally sets the command of the target client to a global command, so that the client node can access the big data cluster through the global command and submit corresponding tasks to be run. In this way, the unified client installation and configuration method outside the big data cluster provided by the above technical solution improves the efficiency and ease of client installation configuration, effectively improves the execution efficiency of tasks to be run, and reduces the risk of errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.

[0035] Figure 1 This is a flow chart of a client installation and configuration method outside a big data cluster disclosed in this application;

[0036] Figure 2 This is a flowchart of a specific method for installing and configuring a client outside a big data cluster disclosed in this application;

[0037] Figure 3 This is a schematic diagram of a specific client installation configuration outside a big data cluster disclosed in this application;

[0038] Figure 4 This is a schematic diagram of the structure of a client installation and configuration device outside a big data cluster disclosed in this application;

[0039] Figure 5 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0041] Current installation and configuration methods for clients outside of a big data cluster are generally complex and chaotic, with no unified method or steps. This results in low overall work efficiency, difficulty in installation and configuration, and difficulty in troubleshooting errors. Therefore, embodiments of the present application disclose a method, apparatus, device, and medium for installing and configuring clients outside of a big data cluster, which can provide a unified client installation and configuration method for client nodes outside of a big data cluster.

[0042] See also Figure 1 As shown, the embodiment of the present application discloses a client installation and configuration method outside a big data cluster, the method comprising:

[0043] Step S11: Obtain preset configuration information of the big data cluster, and use the preset configuration information to configure client nodes outside the big data cluster.

[0044] In this embodiment, it is necessary to obtain the preset configuration information of the big data cluster and use the preset configuration information to configure the client nodes outside the big data cluster so that the relevant parameter information of the client nodes after configuration corresponds to the parameter information of the big data cluster for subsequent communication.

[0045] Step S12: installing a target client corresponding to a target big data service in the big data cluster on the client node, and configuring the client node using a configuration file of the target big data service.

[0046] In this embodiment, a target client is installed on the client node based on actual needs. This target client is the client corresponding to the target big data service in the big data cluster. The configuration file corresponding to the target big data service is then found in the big data cluster and used to configure the client node. This synchronizes the big data service within the big data cluster to the client node, allowing the client node to access the services in the big data cluster normally.

[0047] Step S13: setting the target client's command as a global command through a global variable, so that the target client accesses the big data cluster through the global command and submits a task to be run to the big data cluster.

[0048] In this embodiment, in order to facilitate the target client to submit tasks to the big data cluster, it is necessary to set the target client's command as a global command through a global variable so that the target client can access the big data cluster through the global command and submit tasks to be run to the big data cluster. It should be noted that before setting the target client's command as a global command through a global variable so that the target client can access the big data cluster through the global command, it also includes: monitoring the working status of the firewall of the client node; if the working status is on, then shutting down the firewall so that the target client can access the big data cluster through the global command. It is understandable that this embodiment requires shutting down the firewall of the client node to ensure communication access between the client node and the big data cluster. Specifically, it can be done by first monitoring the working status of the client node firewall, and if the working status of the firewall is on, shutting down the firewall. It can also be done by disabling SELinux and checking the SELinux status to ensure that the firewall is in the off state. Among them, SELinux is a mandatory access control (MAC) system provided in the Linux kernel.

[0049] In this embodiment, the above-mentioned client installation and configuration method outside the big data cluster also includes: establishing secret-free communication between the big data cluster and the client node. Because the client node has installed the same system as the cluster node and has been configured with an IP address and hostname (host name), in order to ensure network interoperability between the cluster node and the client node, the management node of the big data cluster is configured to be secret-free through ssh-copy-id root@clientIP, where clientIP is the IP address of the client node. In this way, normal communication between all cluster nodes and the client node can be ensured.

[0050] It can be seen that the present application obtains the preset configuration information of the big data cluster, and uses the preset configuration information to configure the client nodes outside the big data cluster; installs the target client corresponding to the target big data service in the big data cluster on the client node, and uses the configuration file of the target big data service to configure the client node; sets the command of the target client to a global command through a global variable, so that the target client can access the big data cluster through the global command and submit tasks to be run to the big data cluster. It can be seen that the present application first obtains the preset configuration information of the big data cluster, and uses the preset configuration information to configure the client nodes outside the big data cluster, and then installs the target client corresponding to the target big data service on the client node, and uses the corresponding configuration file to configure the client node, and finally sets the command of the target client to a global command, so that the client node can access the big data cluster through the global command and submit corresponding tasks to be run. In this way, the unified client installation and configuration method outside the big data cluster provided by the above technical solution improves the efficiency and ease of client installation configuration, effectively improves the execution efficiency of tasks to be run, and reduces the risk of errors.

[0051] See also Figure 2 As shown, the embodiment of this application discloses a specific method for installing and configuring a client outside a big data cluster. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. Specifically, it includes:

[0052] Step S21: Obtain the local source information, domain name information, JDK version information and system time of the big data cluster to obtain preset configuration information.

[0053] In this embodiment, the preset configuration information may include but is not limited to the local source information of the big data cluster, domain name information, JDK version information and system time. For details, see Figure 3 shown.

[0054] Step S22: using the local source information to update the current local source of the client node.

[0055] In this embodiment, the local source of the cluster needs to be configured on the client node to ensure that the big data service can be downloaded and installed normally. Specifically, this can be done by first clearing the local source of the client node, then copying all the local sources of the big data cluster management node to the corresponding location of the client node to update the current local source of the client node.

[0056] Step S23: Acquire a host list including the domain name information, and add the host list to the client node.

[0057] In this embodiment, the domain names of all nodes in the cluster need to be configured on the client node to ensure that the client node can access each node in the big data cluster through the domain name. Specifically, the host list (hosts list) is checked on the big data cluster management node and the retrieved hosts list information is added to the client node's hosts list. The hosts table is used to store commonly used website host domain names and their corresponding IP addresses.

[0058] Step S24: Obtain a JDK installation package corresponding to the JDK version information, and install the JDK installation package to the client node.

[0059] In this embodiment, the client node must be configured with the same JDK version as the one in the cluster to ensure that the environment variables are available. Specifically, this can be done by querying the JDK version information in the big data cluster and obtaining the JDK installation package that corresponds to the JDK version. Then, the JDK installation package file is downloaded on the client node; the downloaded installation package is unzipped to the appropriate location. Finally, the global environment variables are configured and the JDK version information is checked.

[0060] Step S25: adjusting the current time of the client node based on the system time.

[0061] In this embodiment, the client node time needs to be adjusted to be consistent with the time within the cluster. The above-mentioned adjustment of the current time of the client node based on the time information may include: adjusting the current time of the client node based on the system time and using the preset time synchronization software of the client node. It is understandable that the preset time synchronization software is first installed on the client node, and then the big data cluster management node is set as the time synchronization source to control the current time of the client node to be consistent with the big data cluster time, and the preset time synchronization software is started to maintain the time synchronization of the client node and the big data cluster time.

[0062] Step S26: Install a target client corresponding to the target big data service in the big data cluster on the client node, and configure the client node using a configuration file of the target big data service.

[0063] In this embodiment, the process of installing a target client corresponding to a target big data service in the big data cluster on the client node further includes: if there are multiple target clients corresponding to the target big data service in the big data cluster, determining an installation order among the multiple target clients, and sequentially installing the multiple target clients on the client node based on the installation order. That is, if the client node needs to install multiple target clients corresponding to the big data service, it is necessary to ensure dependencies between the target clients, and install them sequentially according to the dependencies, where the dependencies represent the installation order among the target clients.

[0064] Step S27: setting the command of the target client as a global command through a global variable, so that the target client accesses the big data cluster through the global command and submits a task to be run to the big data cluster.

[0065] For a more specific processing procedure of the above step S27, reference may be made to the corresponding contents disclosed in the above embodiments, which will not be described in detail here.

[0066] It can be seen that in the embodiment of the present application, the preset configuration information of the big data cluster can include local source information, domain name information, JDK version information and system time, and the client node is configured using the above preset configuration information, specifically using the local source information to update the current local source of the client node; obtain a host list including domain name information and add the host list to the client node; obtain the JDK installation package corresponding to the JDK version information and install the JDK installation package to the client node; adjust the current time of the client node based on the system time and using the preset time synchronization software of the client node. In addition, in the process of installing the target client corresponding to the target big data service in the big data cluster on the client node, if the number of target clients corresponding to the target big data service in the big data cluster is multiple, the installation order between the multiple target clients is determined, and the multiple target clients are installed in sequence on the client node based on the installation order. In this way, the unified client installation configuration method outside the big data cluster provided by this application improves the efficiency and ease of client installation configuration, reduces maintenance costs, facilitates problem troubleshooting, effectively improves the execution efficiency of tasks to be run, reduces the risk of errors, and improves the stability and ease of use of the product.

[0067] See also Figure 4As shown, the embodiment of the present application discloses a client installation and configuration device outside a big data cluster, the device comprising:

[0068] An information configuration module 11 obtains preset configuration information of a big data cluster and uses the preset configuration information to configure client nodes outside the big data cluster;

[0069] A client installation module 12 is configured to install a target client corresponding to a target big data service in the big data cluster on the client node, and configure the client node using a configuration file of the target big data service;

[0070] The command setting module 13 is configured to set the target client's command as a global command through a global variable, so that the target client can access the big data cluster through the global command and submit tasks to be run to the big data cluster.

[0071] It can be seen that the present application obtains the preset configuration information of the big data cluster, and uses the preset configuration information to configure the client nodes outside the big data cluster; installs the target client corresponding to the target big data service in the big data cluster on the client node, and uses the configuration file of the target big data service to configure the client node; sets the command of the target client to a global command through a global variable, so that the target client can access the big data cluster through the global command and submit tasks to be run to the big data cluster. It can be seen that the present application first obtains the preset configuration information of the big data cluster, and uses the preset configuration information to configure the client nodes outside the big data cluster, and then installs the target client corresponding to the target big data service on the client node, and uses the corresponding configuration file to configure the client node, and finally sets the command of the target client to a global command, so that the client node can access the big data cluster through the global command and submit corresponding tasks to be run. In this way, the unified client installation and configuration method outside the big data cluster provided by the above technical solution improves the efficiency and ease of client installation configuration, effectively improves the execution efficiency of tasks to be run, and reduces the risk of errors.

[0072] In some specific embodiments, the information configuration module 11 may specifically include:

[0073] The information acquisition unit is used to obtain the local source information, domain name information, JDK version information and system time of the big data cluster to obtain preset configuration information.

[0074] In some specific embodiments, the information configuration module 11 may specifically include:

[0075] A local source configuration unit, configured to update a current local source of the client node using the local source information;

[0076] A domain name configuration unit, configured to obtain a host list including the domain name information, and add the host list to the client node;

[0077] A JDK configuration unit, configured to obtain a JDK installation package corresponding to the JDK version information, and install the JDK installation package to the client node;

[0078] A time configuration unit is configured to adjust the current time of the client node based on the system time.

[0079] In some specific embodiments, the time configuration unit may specifically include:

[0080] A time adjustment unit is configured to adjust the current time of the client node based on the system time and using preset time synchronization software of the client node.

[0081] In some specific embodiments, the process of the client installing the module 12 may further include:

[0082] The installation unit is used to determine the installation order among the multiple target clients if there are multiple target clients corresponding to the target big data service in the big data cluster, and install the multiple target clients in sequence on the client node based on the installation order.

[0083] In some specific embodiments, the client installation and configuration device outside the big data cluster may further include:

[0084] The non-crypto communication unit is used to establish non-crypto communication between the big data cluster and the client node.

[0085] In some specific embodiments, before the command setting module 13, the following steps may also be included:

[0086] A status monitoring unit, configured to monitor the working status of the firewall of the client node;

[0087] The firewall closing unit is configured to close the firewall if the working state is the open state, so that the target client can access the big data cluster through the global command.

[0088] Figure 5This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Specifically, the device may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps of the method for installing and configuring a client outside a big data cluster performed by an electronic device as disclosed in any of the aforementioned embodiments.

[0089] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device. The communication protocol it follows is any communication protocol that can be applied to the technical solution of this application and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world. Its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0090] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0091] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or CD, etc. The resources stored thereon include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.

[0092] Among them, the operating system 221 is used to manage and control the various hardware devices and computer programs 222 on the electronic device 20 to enable the processor 21 to calculate and process the massive data 223 in the memory 22. It can be Windows, Unix, Linux, etc. In addition to including computer programs that can be used to complete the client installation and configuration methods outside the big data cluster executed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks. In addition to including data received by the electronic device and transmitted from external devices, the data 223 can also include data collected by its own input and output interface 25.

[0093] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the method steps performed during the installation and configuration process of a client outside the big data cluster disclosed in any of the aforementioned embodiments are implemented.

[0094] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. Reference can be made to the descriptions of the identical or similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and the relevant parts can be referred to the descriptions of the methods.

[0095] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0096] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0097] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0098] The above is a detailed introduction to the client installation and configuration method, device, equipment and medium outside the big data cluster provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A client installation and configuration method outside a big data cluster, characterized in that: include: Obtaining preset configuration information of the big data cluster, and configuring client nodes outside the big data cluster using the preset configuration information; Installing a target client corresponding to a target big data service in the big data cluster on the client node, and configuring the client node using a configuration file of the target big data service; Setting the target client's command as a global command through a global variable, so that the target client accesses the big data cluster through the global command and submits a task to be run to the big data cluster; Wherein, before setting the command of the target client as a global command through a global variable so that the target client accesses the big data cluster through the global command, the method further includes: Monitoring the working status of the firewall of the client node; If the working state is on, the firewall is closed so that the target client can access the big data cluster through the global command.

2. The client installation and configuration method outside the big data cluster according to claim 1, characterized in that: The obtaining of preset configuration information of the big data cluster includes: Obtain the local source information, domain name information, JDK version information, and system time of the big data cluster to obtain the preset configuration information.

3. The client installation and configuration method outside the big data cluster according to claim 2, characterized in that: The configuring the client nodes outside the big data cluster using the preset configuration information includes: Updating a current local source of the client node using the local source information; Obtaining a host list including the domain name information, and adding the host list to the client node; Obtaining a JDK installation package corresponding to the JDK version information, and installing the JDK installation package on the client node; The current time of the client node is adjusted based on the system time.

4. The client installation and configuration method outside the big data cluster according to claim 3, characterized in that: The adjusting the current time of the client node based on the system time includes: The current time of the client node is adjusted based on the system time and using preset time synchronization software of the client node.

5. The client installation and configuration method outside the big data cluster according to claim 1, characterized in that: The process of installing a target client corresponding to a target big data service in the big data cluster on the client node further includes: If there are multiple target clients corresponding to the target big data service in the big data cluster, an installation order among the multiple target clients is determined, and the multiple target clients are installed in sequence on the client node based on the installation order.

6. The client installation and configuration method outside the big data cluster according to claim 1, characterized in that: Also includes: A secret-free communication is established between the big data cluster and the client node.

7. A client installation and configuration device outside a big data cluster, characterized in that: include: An information configuration module, which obtains preset configuration information of the big data cluster and uses the preset configuration information to configure client nodes outside the big data cluster; A client installation module, configured to install a target client corresponding to a target big data service in the big data cluster on the client node, and configure the client node using a configuration file of the target big data service; A command setting module, configured to set the target client's command as a global command through a global variable, so that the target client can access the big data cluster through the global command and submit a task to be run to the big data cluster; Wherein, before the command of the target client is set as a global command through a global variable so that the target client accesses the big data cluster through the global command, the device further includes: A status monitoring unit, configured to monitor the working status of the firewall of the client node; The firewall closing unit is configured to close the firewall if the working state is the open state, so that the target client can access the big data cluster through the global command.

8. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is configured to execute the computer program to implement the steps of the method for installing and configuring a client outside a big data cluster as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that Used to store computer programs; wherein, when the computer program is executed by a processor, the steps of the client installation configuration method outside the big data cluster as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Cluster NAS deployment system and deployment method thereof

    CN103607462A

  • Communication transaction continuity using multiple cross-modal services

    US20150195310A1