-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-22778][Kubernetes] Added the missing service metadata for KubernetesClusterManager #19972
Conversation
…rnetesClusterManager
LGTM. |
@vanzin @felixcheung @jiangxb1987 Can one of you help take a look and merge? This is fixing a blocker issue for Kubernetes mode. Thanks! |
Test build #84878 has finished for PR 19972 at commit
|
One of the tests failures looks legitimate... |
Test build #84888 has finished for PR 19972 at commit
|
LGTM
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM only one nit
@@ -0,0 +1 @@ | |||
org.apache.spark.scheduler.cluster.k8s.KubernetesClusterManager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add an extra empty line below this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Test build #84920 has finished for PR 19972 at commit
|
Merging to master. |
What changes were proposed in this pull request?
This PR added the missing service metadata for
KubernetesClusterManager
. Without the metadata, the service loader couldn't loadKubernetesClusterManager
, and caused the driver to fail to create aExternalClusterManager
, as being reported in SPARK-22778. The PR also changed thek8s:
prefix used tok8s://
, which is what existing Spark on k8s users are familiar and used to.How was this patch tested?
Manual testing verified that the fix resolved the issue in SPARK-22778.
/cc @vanzin @felixcheung @jiangxb1987