Skip to content

[SPARK-47159][INFRA] Set OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES in MacOS GitHub Action Job#45249

Closed
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:SPARK-47159
Closed

[SPARK-47159][INFRA] Set OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES in MacOS GitHub Action Job#45249
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:SPARK-47159

Conversation

@dongjoon-hyun
Copy link
Copy Markdown
Member

@dongjoon-hyun dongjoon-hyun commented Feb 26, 2024

What changes were proposed in this pull request?

This PR aims to set OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES in MacOS GitHub Action Job.

Why are the changes needed?

This is recommended for Python tests, but it seems that Spark Connect Python test suites are also related. We had better have this to be safe or isolate any issue.

Note that you may set ``OBJC_DISABLE_INITIALIZE_FORK_SAFETY`` environment variable to ``YES`` if you are running tests on Mac OS.

Does this PR introduce any user-facing change?

No, this is a test infra-only change.

How was this patch tested?

Manual review. This is tested by Daily CI after merging.

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

No.

@github-actions github-actions bot added the INFRA label Feb 26, 2024
Copy link
Copy Markdown
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

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

Oh yeah. LGTM

@HyukjinKwon
Copy link
Copy Markdown
Member

Merged to master.

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Thank you, @HyukjinKwon !

@dongjoon-hyun dongjoon-hyun deleted the SPARK-47159 branch February 26, 2024 05:23
ericm-db pushed a commit to ericm-db/spark that referenced this pull request Mar 5, 2024
… `MacOS` GitHub Action Job

### What changes were proposed in this pull request?

This PR aims to set `OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES` in `MacOS` GitHub Action Job.
- https://github.com/apache/spark/actions/workflows/build_maven_java21_macos14.yml

### Why are the changes needed?

This is recommended for Python tests, but it seems that `Spark Connect` Python test suites are also related. We had better have this to be safe or isolate any issue.

https://github.com/apache/spark/blob/0ff18e579c2f4fc31f825a4acaea529b3d03945d/python/docs/source/development/testing.rst?plain=1#L39

### Does this PR introduce _any_ user-facing change?

No, this is a test infra-only change.

### How was this patch tested?

Manual review. This is tested by Daily CI after merging.

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

No.

Closes apache#45249 from dongjoon-hyun/SPARK-47159.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
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.

2 participants