GitHub user AiHe reopened a pull request:
https://github.com/apache/spark/pull/5810
[MLLIB][tree] Verify size of input rdd > 0 when building meta data
Require non empty input rdd such that we can take the first labeledpoint
and get the feature size
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/AiHe/spark decisiontree-issue
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5810.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 #5810
----
commit b448f47b02b2eba71f90c83f6654cb998d65f141
Author: Alain <[email protected]>
Date: 2015-04-30T17:31:23Z
[MLLIB][tree] Verify size of input rdd > 0 when building meta data
Require non empty input rdd such that we can take the first
labeledpoint and get the feature size
commit cf2e567cadfd3489c3c9ea1ef1712619ad85692a
Author: Alain <[email protected]>
Date: 2015-04-30T22:05:03Z
[MLLIB][tree] Use a rdd api to verify size of input rdd > 0 when building
meta data
Use rdd api isEmpty
----
---
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]