Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
  • Loading branch information
jahstreet committed Jan 14, 2020
1 parent ddbfc7f commit 4a6501c
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 4a6501c

Please sign in to comment.