Skip to content

Commit 33f95ab

Browse files
committed
Reword exception message
1 parent a1dc858 commit 33f95ab

File tree

1 file changed

+2
-3
lines changed
  • yarn/src/main/scala/org/apache/spark/deploy/yarn

1 file changed

+2
-3
lines changed

yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,8 @@ private[spark] class Client(
604604
}
605605
} else {
606606
if (localizedPath != null) {
607-
throw new IllegalArgumentException(s"Attempt to add ($file) multiple times. " +
608-
"Please check the values of 'spark.yarn.dist.files' and/or " +
609-
"'spark.yarn.dist.archives'.")
607+
throw new IllegalArgumentException(s"Attempt to add ($file) multiple times" +
608+
" to the distributed cache.")
610609
}
611610
}
612611
}

0 commit comments

Comments
 (0)