diff options
author | bomeng <bmeng@us.ibm.com> | 2015-12-10 12:53:53 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-12-10 12:53:53 +0000 |
commit | e29704f90dfe67d9e276d242699ac0a00f64fb91 (patch) | |
tree | 0d659038f0154e89040fb5d8c796557bf97735d9 /streaming/src/test | |
parent | d8ec081c911a040f3fb523a68025928ae4afc906 (diff) | |
download | spark-e29704f90dfe67d9e276d242699ac0a00f64fb91.tar.gz spark-e29704f90dfe67d9e276d242699ac0a00f64fb91.tar.bz2 spark-e29704f90dfe67d9e276d242699ac0a00f64fb91.zip |
[SPARK-12136][STREAMING] rddToFileName does not properly handle prefix and suffix parameters
The original code does not properly handle the cases where the prefix is null, but suffix is not null - the suffix should be used but is not.
The fix is using StringBuilder to construct the proper file name.
Author: bomeng <bmeng@us.ibm.com>
Author: Bo Meng <mengbo@bos-macbook-pro.usca.ibm.com>
Closes #10185 from bomeng/SPARK-12136.
Diffstat (limited to 'streaming/src/test')
0 files changed, 0 insertions, 0 deletions