Robert Farr created SPARK-9881:
----------------------------------
Summary: Support additional KryoRegistrators via an SPI lookup
Key: SPARK-9881
URL: https://issues.apache.org/jira/browse/SPARK-9881
Project: Spark
Issue Type: Improvement
Components: Spark Core
Affects Versions: 1.4.1, 1.5.0
Reporter: Robert Farr
Priority: Minor
Today adding kryo serialization support for broad classes of objects such as
Avro or Thrift require either a user KryoRegistrator or the potential for
adding a dependency to spark core. This was recently discussed as part of
SPARK-746 as avro is now a dependency.
In order to future proof spark core from additional dependencies it may be
desirable to resolve a number of KryoRegistrators via the classpath using an
spi lookup pattern. This in conjunction with support for providing the
SparkConf to the KryoRegistrator from SPARK-9880 would allow for serialization
extensibility simply by adding the jar containing a service provider
implementation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]