Typo fix: distitrbuted -> distributed

## What changes were proposed in this pull request?

Typo fix: distitrbuted -> distributed

## How was this patch tested?

Existing tests

Author: Andrew Ash <andrew@andrewash.com>

Closes #17664 from ash211/patch-1.
This commit is contained in:
Andrew Ash 2017-04-17 17:56:33 -07:00 committed by Reynold Xin
parent e5fee3e4f8
commit 0075562dd2

View file

@ -577,7 +577,7 @@ private[spark] class Client(
).foreach { case (flist, resType, addToClasspath) => ).foreach { case (flist, resType, addToClasspath) =>
flist.foreach { file => flist.foreach { file =>
val (_, localizedPath) = distribute(file, resType = resType) val (_, localizedPath) = distribute(file, resType = resType)
// If addToClassPath, we ignore adding jar multiple times to distitrbuted cache. // If addToClassPath, we ignore adding jar multiple times to distributed cache.
if (addToClasspath) { if (addToClasspath) {
if (localizedPath != null) { if (localizedPath != null) {
cachedSecondaryJarLinks += localizedPath cachedSecondaryJarLinks += localizedPath