You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2015/01/13 19:22:34 UTC

[jira] [Created] (SPARK-5223) Use pickle instead of MapConvert and ListConvert in MLlib Python API

Davies Liu created SPARK-5223:
---------------------------------

             Summary: Use pickle instead of MapConvert and ListConvert in MLlib Python API
                 Key: SPARK-5223
                 URL: https://issues.apache.org/jira/browse/SPARK-5223
             Project: Spark
          Issue Type: Bug
          Components: MLlib, PySpark
            Reporter: Davies Liu
            Priority: Critical


It will introduce problems if the object in dict/list/tuple can not support by py4j, such as Vector.

Also, pickle may have better performance for larger object (less RPC).

In some cases that the object in dict/list can not be pickled (such as JavaObject), we should still use MapConvert/ListConvert.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org