GitHub user bomeng opened a pull request:

    https://github.com/apache/spark/pull/10185

    [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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bomeng/spark SPARK-12136

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/10185.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #10185
    
----
commit 54ed13bc507529aed3923b70aa51b13e1a92e5bd
Author: Bo Meng <[email protected]>
Date:   2015-12-08T00:41:32Z

    [SPARK-12136] fix rddToFileName issue

commit 21d7bcd6975140731a85204681829eaa827cc403
Author: bomeng <[email protected]>
Date:   2015-12-08T03:27:19Z

    add newline to fix style check

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to