Hive job management method and system based on web application and readable storage medium
A job management and network application technology, applied in special data processing applications, electronic digital data processing, structured data retrieval, etc., can solve problems such as high application difficulty and difficult hive, and achieve the effect of reducing application difficulty
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] This embodiment discloses a web application-based hive job management method.
[0032] Such as figure 1 As shown, the hive job management method based on the web application includes the following steps:
[0033] S1: Upload sql (structured query language) instructions for executing hive (data warehouse) tasks through web applications (network applications);
[0034] S2: Connect to hive based on sql commands and execute corresponding hive tasks;
[0035] S3: During the execution of the hive task, update the execution log of the hive task periodically (for example, every 3 seconds) through an asynchronous method;
[0036] S4: After the execution of the hive task is completed, the corresponding execution result and execution log are stored for downloading and calling.
[0037] In this embodiment, the execution result of the hive task is stored in the csv (comma-separated value) format: the resultSet of the execution result is written to a csv file in the project directo...
Embodiment 2
[0049] This embodiment discloses a web application-based hive job management system.
[0050] combine figure 2 As shown, the hive job management system based on web application is implemented based on the hive job management method of the present invention, specifically including:
[0051] Mysql database (relational database), used to store the execution log and execution status of hive tasks. The Mysql database creates a table to store the primary key id, application_id, execution status of the hive task, and the execution log of the hive task. The execution status is updated at each stage of hive task execution, and the execution status is mainly used to judge the end of the asynchronous method of the web application.
[0052] The web application (network application) is used to upload the sql command to execute the hive task and connect to hive, and periodically update the execution log in the Mysql database through an asynchronous method; the web application connects to...
Embodiment 3
[0063] This embodiment discloses a readable storage medium.
[0064] A readable storage medium, on which a computer management program is stored, and when the computer management program is executed by a processor, the steps of the web application-based hive job management method of the present invention are implemented. The readable storage medium may be a device with a readable storage function such as a U disk or a computer.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

