Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Aliaksandr Sasnouskikh <[email protected]>
  • Loading branch information
jahstreet committed Dec 5, 2019
1 parent 1dd3a4c commit b54eee9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class SparkKubernetesApp private[utils](
if (deadline.isOverdue) {
process.foreach(_.destroy())
leakedAppTags.put(appTag, System.currentTimeMillis())
throw new IllegalStateException(s"No Kubernetes application is found with tag" +
throw new IllegalStateException("No Kubernetes application is found with tag" +
s" $appTag in ${livyConf.getTimeAsMs(LivyConf.KUBERNETES_APP_LOOKUP_TIMEOUT) / 1000}" +
" seconds. This may be because 1) spark-submit fail to submit application to " +
"Kubernetes; or 2) Kubernetes cluster doesn't have enough resources to start the " +
Expand All @@ -260,7 +260,6 @@ class SparkKubernetesApp private[utils](
}
}
}

}

object KubernetesConstants {
Expand Down

0 comments on commit b54eee9

Please sign in to comment.