Hadoop to Spark Task Migration via Automatic Parameter Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The manual conversion of Hadoop tasks to Spark tasks is inefficient and labor-intensive for developers, as it requires significant workload and lowers processing efficiency.

Innovation Solution

A method that automatically converts Hadoop parameters into Spark-compatible parameters, allowing the conversion result to be submitted to a Spark cluster, utilizing a kit like mrtools.jar, which enables seamless migration of tasks with zero additional cost and enhances processing efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If manual conversion of Hadoop tasks to Spark tasks is performed by developers, then task migration can be achieved, but developer workload increases and processing efficiency decreases

Engineering Contradiction:
Improvetask migration capabilityVSAvoidprocessing efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The system performs automatic parameter conversion from Hadoop to Spark without requiring developer intervention. The conversion module automatically identifies Hadoop parameters in submitted tasks and transforms them into Spark-compatible parameters, enabling the system to serve itself rather than relying on manual developer work

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The manual mechanical process of developers converting parameters is replaced by an automated conversion module that uses algorithmic rules to transform Hadoop parameters into Spark parameters automatically, eliminating the need for human developers to perform this repetitive conversion work

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Adaptability or versatility

If manual conversion of Hadoop tasks to Spark tasks is performed by developers, then task migration can be achieved, but developer workload increases

Engineering Contradiction:
Improvetask migration capabilityVSAvoiddeveloper workload
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The system performs automatic parameter conversion from Hadoop to Spark without requiring developer intervention. The conversion module automatically identifies Hadoop parameters in submitted tasks and transforms them into Spark-compatible parameters, enabling the system to serve itself rather than relying on manual developer work

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

A conversion module is introduced as an intermediary between task submission and execution. This intermediary automatically handles the parameter conversion process, shielding developers from the complexity of manual conversion work while enabling seamless task migration

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11822957B2Task migration method, apparatus, electronic device and storage medium
Publication Date: 2023.11.21 BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
  • US11822957B2 patent drawing
  • US11822957B2 patent drawing
  • US11822957B2 patent drawing

AI summary

The present disclosure provides a task migration method, apparatus, electronic device and storage medium, and relates to the technical field of data processing. The method may include: obtaining a task submitted by a user; in the case that the task is a Hadoop task and it is determined that task conversion is to be performed, converting Hadoop parameters in the task into parameters recognizable by a Spark; and injecting a conversion result into a predetermined kit and submitting the predetermined kit to a Spark cluster. The solution of the present disclosure may be applied to reduce the user's workload and enhance the processing efficiency etc.