Uh oh!
There was an error while loading. Please reload this page.
[SPARK-8200] [MLlib] Check for empty RDDs in StreamingLinearAlgorithm - #6713
[SPARK-8200] [MLlib] Check for empty RDDs in StreamingLinearAlgorithm#6713pparkkin wants to merge 5 commits into
Conversation
srowen
commented
Jun 9, 2015
@pparkkin please review https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark Among other things this needs an actual title. |
There was a problem hiding this comment.
Use !rdd.isEmpty as it will be notably faster.
pparkkin
commented
Jun 9, 2015
Thanks for the quick review and comments! Sorry about not following the guide completely. I updated the PR title and description. I'll make the code changes when I get back to work tomorrow morning. |
srowen
commented
Jun 9, 2015
Sorry, I merged another PR to fix the superfluous match construct here. You may need a rebase too now. |
e3e358f to
54ad89eComparepparkkin
commented
Jun 9, 2015
Done. |
srowen
commented
Jun 10, 2015
OK to test |
srowen
commented
Jun 10, 2015
Jenkins, test this please |
SparkQA
commented
Jun 10, 2015
Test build #34587 has finished for PR 6713 at commit
|
SparkQA
commented
Jun 10, 2015
Test build #894 timed out for PR 6713 at commit |
There was a problem hiding this comment.
(no need for toString here but don't worry about it)
srowen
commented
Jun 10, 2015
Is this ready -- just checking since there is [WIP] in the title. |
pparkkin
commented
Jun 10, 2015
Changed title. |
Test cases for both StreamingLinearRegression and StreamingLogisticRegression, and code fix. Edit: This contribution is my original work and I license the work to the project under the project's open source license. Author: Paavo <pparkkin@gmail.com> Closes#6713 from pparkkin/streamingmodel-empty-rdd and squashes the following commits: ff5cd78 [Paavo] Update strings to use interpolation. db234cf [Paavo] Use !rdd.isEmpty. 54ad89e [Paavo] Test case for empty stream. 393e36f [Paavo] Ignore empty RDDs. 0bfc365 [Paavo] Test case for empty stream. (cherry picked from commit b928f54) Signed-off-by: Sean Owen <sowen@cloudera.com>
Test cases for both StreamingLinearRegression and StreamingLogisticRegression, and code fix. Edit: This contribution is my original work and I license the work to the project under the project's open source license. Author: Paavo <pparkkin@gmail.com> Closesapache#6713 from pparkkin/streamingmodel-empty-rdd and squashes the following commits: ff5cd78 [Paavo] Update strings to use interpolation. db234cf [Paavo] Use !rdd.isEmpty. 54ad89e [Paavo] Test case for empty stream. 393e36f [Paavo] Ignore empty RDDs. 0bfc365 [Paavo] Test case for empty stream.
Test cases for both StreamingLinearRegression and StreamingLogisticRegression, and code fix.
Edit:
This contribution is my original work and I license the work to the project under the project's open source license.