Skip to content

Conversation

@turboFei
Copy link
Member

@turboFei turboFei commented Apr 16, 2025

Why are the changes needed?

After apache/spark#34460 (Since Spark 3.3.0), the spark-app-name is available.

We shall use it as the application name if it exists.

How was this patch tested?

Minor change.

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

No.

@turboFei turboFei self-assigned this Apr 16, 2025
@turboFei turboFei modified the milestones: v1.11.0, v1.10.2 Apr 16, 2025
@turboFei turboFei requested a review from pan3793 April 16, 2025 18:44
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (7e199d6) to head (bfa88a4).

Files with missing lines Patch % Lines
...kyuubi/engine/KubernetesApplicationOperation.scala 0.00% 8 Missing ⚠️
...uubi/engine/KubernetesApplicationAuditLogger.scala 0.00% 2 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##           master   #7034   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         695     695           
  Lines       42810   42814    +4     
  Branches     5829    5829           
======================================
- Misses      42810   42814    +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@turboFei turboFei closed this in cc68cb4 Apr 17, 2025
turboFei added a commit that referenced this pull request Apr 17, 2025
…as application name than pod name

### Why are the changes needed?

After apache/spark#34460 (Since Spark 3.3.0), the `spark-app-name` is available.

We shall use it as the application name if it exists.

### How was this patch tested?

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

No.

Closes #7034 from turboFei/k8s_app_name.

Closes #7034

bfa88a4 [Wang, Fei] Get pod app name

Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>
(cherry picked from commit cc68cb4)
Signed-off-by: Wang, Fei <[email protected]>
@turboFei
Copy link
Member Author

thanks, merged to 1.11.0 and 1.10.2

@turboFei turboFei deleted the k8s_app_name branch April 17, 2025 02:55
turboFei added a commit to turboFei/kyuubi that referenced this pull request Apr 24, 2025
…p-name` label as application name than pod name"

This reverts commit cc68cb4.
turboFei added a commit that referenced this pull request Apr 25, 2025
### Why are the changes needed?

Followup for #7034  to fix the SparkOnKubernetesTestsSuite.

Sorry, I forget that the appInfo name and pod name were deeply bound before, the appInfo name was used as pod name and used to delete pod.

In this PR, we add `podName` into applicationInfo to separate app name and pod name.

### How was this patch tested?

GA should pass.

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

No.

Closes #7039 from turboFei/fix_test.

Closes #7034

0ff7018 [Wang, Fei] revert
18e48c0 [Wang, Fei] comments
19f34bc [Wang, Fei] do not get pod name from appName
c1d3084 [Wang, Fei] reduce interval for test stability
50fad6b [Wang, Fei] fix ut

Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>
turboFei added a commit that referenced this pull request Apr 25, 2025
### Why are the changes needed?

Followup for #7034  to fix the SparkOnKubernetesTestsSuite.

Sorry, I forget that the appInfo name and pod name were deeply bound before, the appInfo name was used as pod name and used to delete pod.

In this PR, we add `podName` into applicationInfo to separate app name and pod name.

### How was this patch tested?

GA should pass.

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

No.

Closes #7039 from turboFei/fix_test.

Closes #7034

0ff7018 [Wang, Fei] revert
18e48c0 [Wang, Fei] comments
19f34bc [Wang, Fei] do not get pod name from appName
c1d3084 [Wang, Fei] reduce interval for test stability
50fad6b [Wang, Fei] fix ut

Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>
(cherry picked from commit 75891d1)
Signed-off-by: Wang, Fei <[email protected]>
turboFei added a commit to turboFei/kyuubi that referenced this pull request Aug 27, 2025
…label as application name than pod name

### Why are the changes needed?

After apache/spark#34460 (Since Spark 3.3.0), the `spark-app-name` is available.

We shall use it as the application name if it exists.

### How was this patch tested?

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

No.

Closes apache#7034 from turboFei/k8s_app_name.

Closes apache#7034

bfa88a4 [Wang, Fei] Get pod app name

Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>
turboFei added a commit to turboFei/kyuubi that referenced this pull request Aug 27, 2025
…pp name

### Why are the changes needed?

Followup for apache#7034  to fix the SparkOnKubernetesTestsSuite.

Sorry, I forget that the appInfo name and pod name were deeply bound before, the appInfo name was used as pod name and used to delete pod.

In this PR, we add `podName` into applicationInfo to separate app name and pod name.

### How was this patch tested?

GA should pass.

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

No.

Closes apache#7039 from turboFei/fix_test.

Closes apache#7034

0ff7018 [Wang, Fei] revert
18e48c0 [Wang, Fei] comments
19f34bc [Wang, Fei] do not get pod name from appName
c1d3084 [Wang, Fei] reduce interval for test stability
50fad6b [Wang, Fei] fix ut

Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants