You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by yu...@apache.org on 2022/12/05 05:20:01 UTC

[spark] branch master updated: [SPARK-40379][K8S][FOLLOWUP] Fix scalastyle failure

This is an automated email from the ASF dual-hosted git repository.

yumwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d165914d93 [SPARK-40379][K8S][FOLLOWUP] Fix scalastyle failure
1d165914d93 is described below

commit 1d165914d93371c4a792a062168430474f29ae9e
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Mon Dec 5 13:19:45 2022 +0800

    [SPARK-40379][K8S][FOLLOWUP] Fix scalastyle failure
    
    ### What changes were proposed in this pull request?
    
    This is a follow-up to fix a scalastyle issue.
    
    ### Why are the changes needed?
    
    The scalastyle failure was introduced during merging and fixing the indentation manually.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    Closes #38907 from dongjoon-hyun/SPARK-40379.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Yuming Wang <yu...@ebay.com>
---
 .../spark/scheduler/cluster/k8s/KubernetesClusterSchedulerBackend.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesClusterSchedulerBackend.scala b/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesClusterSchedulerBackend.scala
index a0bab13e693..19916340d76 100644
--- a/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesClusterSchedulerBackend.scala
+++ b/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesClusterSchedulerBackend.scala
@@ -334,7 +334,7 @@ private[spark] class KubernetesClusterSchedulerBackend(
               // and we don't know if that's the case or just one container.
               removeExecutor(id, ExecutorDecommission(None))
             case _ =>
-              // Don't do anything besides disabling the executor - allow the Kubernetes API events to
+              // Don't do anything besides disabling the executor - allow the K8s API events to
               // drive the rest of the lifecycle decisions.
               // If it's disconnected due to network issues eventually heartbeat will clear it up.
               disableExecutor(id)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org