GitHub user ConeyLiu opened a pull request: https://github.com/apache/spark/pull/19661
[SPARK-22450][Core][Mllib]safely register class for mllib ## What changes were proposed in this pull request? There are still some algorithms based on mllib, such as KMeans. For now, many mllib common class (such as: Vector, DenseVector, SparseVector, Matrix, DenseMatrix, SparseMatrix) are not registered in Kryo. So there are some performance issues for those object serialization or deserialization. Previously dicussed: https://github.com/apache/spark/pull/19586 ## How was this patch tested? New test case. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ConeyLiu/spark register_vector Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19661.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 #19661 ---- commit 317229fabd7b470c8c349a4f12604ea22af0d27f Author: Xianyang Liu <xianyang....@intel.com> Date: 2017-11-06T02:40:55Z safely register class for mllib ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org