Skip to content
Snippets Groups Projects
Commit d93d5fca authored by Bill Zhao's avatar Bill Zhao
Browse files

SPARK-850: Give better error message on the console

parent 22abbc10
No related branches found
No related tags found
No related merge requests found
...@@ -206,7 +206,8 @@ private[spark] class ClusterScheduler(val sc: SparkContext) ...@@ -206,7 +206,8 @@ private[spark] class ClusterScheduler(val sc: SparkContext)
override def run() { override def run() {
if (!hasLaunchedTask) { if (!hasLaunchedTask) {
logWarning("Initial job has not accepted any resources; " + logWarning("Initial job has not accepted any resources; " +
"check your cluster UI to ensure that workers are registered") "check your cluster UI to ensure that workers are registered " +
"and have sufficient memory")
} else { } else {
this.cancel() this.cancel()
} }
......
...@@ -156,7 +156,7 @@ object SparkBuild extends Build { ...@@ -156,7 +156,7 @@ object SparkBuild extends Build {
def coreSettings = sharedSettings ++ Seq( def coreSettings = sharedSettings ++ Seq(
name := "spark-core", name := "spark-core",
resolvers ++= Seq( resolvers ++= Seq(
"JBoss Repository" at "http://repository.jboss.org/nexus/content/repositories/releases/", // "JBoss Repository" at "http://repository.jboss.org/nexus/content/repositories/releases/",
"Spray Repository" at "http://repo.spray.cc/", "Spray Repository" at "http://repo.spray.cc/",
"Cloudera Repository" at "https://repository.cloudera.com/artifactory/cloudera-repos/" "Cloudera Repository" at "https://repository.cloudera.com/artifactory/cloudera-repos/"
), ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment