Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-47579][CORE][PART3] Spark core: Migrate logInfo with variables to structured logging framework #46739

Closed
wants to merge 5 commits into from

Conversation

gengliangwang
Copy link
Member

@gengliangwang gengliangwang commented May 24, 2024

What changes were proposed in this pull request?

The PR aims to migrate logInfo in Core module with variables to structured logging framework.

Why are the changes needed?

To enhance Apache Spark's logging system by implementing structured logging.

Does this PR introduce any user-facing change?

No

How was this patch tested?

GA tests

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

Yes, Generated-by: Github Copilot
Github Copilot provides a few suggestions.

@gengliangwang
Copy link
Member Author

cc @panbingkun @zeotuan

@dongjoon-hyun
Copy link
Member

Pending CIs.

@gengliangwang
Copy link
Member Author

@cloud-fan @dongjoon-hyun thanks for the review.
Merging to master.

gengliangwang pushed a commit that referenced this pull request May 26, 2024
### What changes were proposed in this pull request?
The pr is following up #46739, and aims to fix `KubernetesSuite `.

1.Unfortunately, after `correcting` the `typo` from `decommision` to `decommission`, it seems that GA has been broken.
<img width="971" alt="image" src="https://github.com/apache/spark/assets/15246973/6212debb-0ff6-4d22-8999-e37aa2cb2c10">

2.https://github.com/panbingkun/spark/actions/runs/9232744348/job/25406127982
<img width="925" alt="image" src="https://github.com/apache/spark/assets/15246973/4e71598c-22f3-4fd2-afba-fd91ddce5f55">

### Why are the changes needed?
Only fix `KubernetesSuite`.

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

### How was this patch tested?
Pass GA.

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

Closes #46746 from panbingkun/fix_KubernetesSuite.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Gengliang Wang <gengliang@apache.org>
riyaverm-db pushed a commit to riyaverm-db/spark that referenced this pull request Jun 7, 2024
… to structured logging framework

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

The PR aims to migrate logInfo in Core module with variables to structured logging framework.

### Why are the changes needed?

To enhance Apache Spark's logging system by implementing structured logging.

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

No
### How was this patch tested?

GA tests

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

Yes, Generated-by: Github Copilot
Github Copilot provides a few suggestions.

Closes apache#46739 from gengliangwang/logInfoCoreP3.

Authored-by: Gengliang Wang <gengliang@apache.org>
Signed-off-by: Gengliang Wang <gengliang@apache.org>
riyaverm-db pushed a commit to riyaverm-db/spark that referenced this pull request Jun 7, 2024
### What changes were proposed in this pull request?
The pr is following up apache#46739, and aims to fix `KubernetesSuite `.

1.Unfortunately, after `correcting` the `typo` from `decommision` to `decommission`, it seems that GA has been broken.
<img width="971" alt="image" src="https://github.com/apache/spark/assets/15246973/6212debb-0ff6-4d22-8999-e37aa2cb2c10">

2.https://github.com/panbingkun/spark/actions/runs/9232744348/job/25406127982
<img width="925" alt="image" src="https://github.com/apache/spark/assets/15246973/4e71598c-22f3-4fd2-afba-fd91ddce5f55">

### Why are the changes needed?
Only fix `KubernetesSuite`.

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

### How was this patch tested?
Pass GA.

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

Closes apache#46746 from panbingkun/fix_KubernetesSuite.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Gengliang Wang <gengliang@apache.org>
gengliangwang added a commit that referenced this pull request Jun 17, 2024
### What changes were proposed in this pull request?

Correct misleading usage of log key TASK_ID from #45834 and #46739

### Why are the changes needed?

Provide more accurate log keys in the structure logging

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

No

### How was this patch tested?

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

No

Closes #46951 from gengliangwang/fixTaskId.

Authored-by: Gengliang Wang <gengliang@apache.org>
Signed-off-by: Gengliang Wang <gengliang@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.

4 participants