Skip to content

[AURON-1332] Introduce JniBridge and AuronAdaptor for auron-core module#1333

Merged
richox merged 6 commits intoapache:masterfrom
Tartarus0zm:spark_decoupling
Sep 28, 2025
Merged

[AURON-1332] Introduce JniBridge and AuronAdaptor for auron-core module#1333
richox merged 6 commits intoapache:masterfrom
Tartarus0zm:spark_decoupling

Conversation

@Tartarus0zm
Copy link
Contributor

@Tartarus0zm Tartarus0zm commented Sep 23, 2025

Which issue does this PR close?

Closes #1332

Rationale for this change

What changes are included in this PR?

Introduce JniBridge and AuronAdaptor for auron-core module

Are there any user-facing changes?

How was this patch tested?

@Tartarus0zm
Copy link
Contributor Author

@richox please take a moment to look at it. thanks
the first step for split auron-core module

@github-actions github-actions bot added spark and removed spark labels Sep 23, 2025
Copy link
Contributor

@richox richox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can create a new module auron-core. in the future, we might have the following architecture:
auron-native-engine <- auron-core <- auron-spark/auron-flink

@SuppressWarnings("unused")
public enum AuronConf {
/// suggested batch size for arrow batches.
BATCH_SIZE("spark.auron.batchSize", 10000),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spark. prefix is not needed, we can derive a AuronSparkConf in auron-spark and add the prefix there.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

* Auron boxed configuration.
* It is used to get the config from the real engine configuration, such as spark, flink etc.
*/
public interface AuronBoxedConfiguration {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this interface is likely not used

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We reuse the config object from the upper-level engine, so we need an abstraction layer within the core module to help retrieve the configuration required by Auron. Each engine should inherit this interface and implement the relevant methods.

@Tartarus0zm Tartarus0zm changed the title [AURON-1332] Introduce JniBridge and AuronAdaptor for common module [AURON-1332] Introduce JniBridge and AuronAdaptor for auron-core module Sep 28, 2025
@github-actions github-actions bot added documentation Improvements or additions to documentation infra native hadoop dev-tools labels Sep 28, 2025
@github-actions github-actions bot removed documentation Improvements or additions to documentation infra native hadoop dev-tools labels Sep 28, 2025
@richox richox merged commit 5213993 into apache:master Sep 28, 2025
84 checks passed
@Tartarus0zm Tartarus0zm deleted the spark_decoupling branch September 28, 2025 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce JniBridge and AuronAdaptor for auron-core module

2 participants