diff options
author | Reynold Xin <rxin@apache.org> | 2013-12-04 14:42:09 -0800 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2013-12-04 14:42:09 -0800 |
commit | b9e7609f2c6f5cbafd0111a4feccad313327ac89 (patch) | |
tree | aac7409588c440ecea35cdbefe18d1c551e2bbcd /core | |
parent | 055462c1d39f996ec8d8d89201759d1db2b15929 (diff) | |
parent | 217611680d09efcf6a218179081ee71c0a8d5c12 (diff) | |
download | spark-b9e7609f2c6f5cbafd0111a4feccad313327ac89.tar.gz spark-b9e7609f2c6f5cbafd0111a4feccad313327ac89.tar.bz2 spark-b9e7609f2c6f5cbafd0111a4feccad313327ac89.zip |
Merge pull request #225 from ash211/patch-3
Add missing space after "Serialized" in StorageLevel
Current code creates outputs like:
scala> res0.getStorageLevel.description
res2: String = Serialized1x Replicated
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/scala/org/apache/spark/storage/StorageLevel.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala b/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala index 632ff047d1..b5596dffd3 100644 --- a/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala +++ b/core/src/main/scala/org/apache/spark/storage/StorageLevel.scala @@ -101,7 +101,7 @@ class StorageLevel private( var result = "" result += (if (useDisk) "Disk " else "") result += (if (useMemory) "Memory " else "") - result += (if (deserialized) "Deserialized " else "Serialized") + result += (if (deserialized) "Deserialized " else "Serialized ") result += "%sx Replicated".format(replication) result } |