Commit b448f47
Alain
[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 size1 parent d188b8b commit b448f47
File tree
1 file changed
+4
-1
lines changed- mllib/src/main/scala/org/apache/spark/mllib/tree/impl
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
0 commit comments