diff options
author | Doris Xin <doris.s.xin@gmail.com> | 2014-06-12 12:53:07 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-06-12 12:53:07 -0700 |
commit | 83c226d454722d5dea186d48070fb98652d0dafb (patch) | |
tree | d2980546000584aab7cf4c196b5731d4e033a6d9 /yarn/alpha | |
parent | ce92a9c18f033ac9fa2f12143fab00a90e0f4577 (diff) | |
download | spark-83c226d454722d5dea186d48070fb98652d0dafb.tar.gz spark-83c226d454722d5dea186d48070fb98652d0dafb.tar.bz2 spark-83c226d454722d5dea186d48070fb98652d0dafb.zip |
[SPARK-2088] fix NPE in toString
After deserialization, the transient field creationSiteInfo does not get backfilled with the default value, but the toString method, which is invoked by the serializer, expects the field to always be non-null. An NPE is thrown when toString is called by the serializer when creationSiteInfo is null.
Author: Doris Xin <doris.s.xin@gmail.com>
Closes #1028 from dorx/toStringNPE and squashes the following commits:
f20021e [Doris Xin] unit test for toString after desrialization
6f0a586 [Doris Xin] Merge branch 'master' into toStringNPE
f47fecf [Doris Xin] Merge branch 'master' into toStringNPE
76199c6 [Doris Xin] [SPARK-2088] fix NPE in toString
Diffstat (limited to 'yarn/alpha')
0 files changed, 0 insertions, 0 deletions