Skip to content

[SPARK-49052] Add SparkOperator class and tests#29

Closed
jiangzho wants to merge 2 commits into
apache:mainfrom
jiangzho:bootstrap
Closed

[SPARK-49052] Add SparkOperator class and tests#29
jiangzho wants to merge 2 commits into
apache:mainfrom
jiangzho:bootstrap

Conversation

@jiangzho
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR adds class org.apache.spark.k8s.operator.SparkOperator as the main entry point of Spark Operator.

Why are the changes needed?

This bootstraps operator with metrics servers as needed.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass the CIs

Was this patch authored or co-authored using generative AI tooling?

No

Copy link
Copy Markdown
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

What is your opinion about my previous requests, @jiangzho ?

/**
* Bootstrap Spark Operator
*
* @param args not used - operator behavior are configured from SparkOperatorConf
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for adding this comment.

import org.apache.spark.k8s.operator.reconciler.SparkAppReconciler;
import org.apache.spark.k8s.operator.utils.Utils;

class SparkOperatorTest {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for the test coverage.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-49052] Add SparkOperator main entry point class [SPARK-49052] Add SparkOperator class and test coverage Aug 1, 2024
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-49052] Add SparkOperator class and test coverage [SPARK-49052] Add SparkOperator class and tests Aug 1, 2024
@dongjoon-hyun
Copy link
Copy Markdown
Member

Merged to main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants