Fix doc typo

Straightforward fix on doc typo

Author: Jeff Zhang <zjffdu@apache.org>

Closes #8019 from zjffdu/master and squashes the following commits:

aed6e64 [Jeff Zhang] Fix doc typo
This commit is contained in:
Jeff Zhang 2015-08-06 21:03:47 -07:00 committed by Reynold Xin
parent 17284db314
commit fe12277b40

View file

@ -240,7 +240,7 @@ worth optimizing.
## Data Locality
Data locality can have a major impact on the performance of Spark jobs. If data and the code that
operates on it are together than computation tends to be fast. But if code and data are separated,
operates on it are together then computation tends to be fast. But if code and data are separated,
one must move to the other. Typically it is faster to ship serialized code from place to place than
a chunk of data because code size is much smaller than data. Spark builds its scheduling around
this general principle of data locality.