26.2. Supported Spark Configuration Parameters

The following table shows the Spark configuration parameters that are supported:

Table 26.1. Supported Spark Configuration Parameters

Parameter Name Description Default Value
infinispan.client.hotrod.server_list List of JBoss Data Grid nodes localhost:11222
infinispan.rdd.cacheName The name of the cache that will back the RDD default cache
infinispan.rdd.read_batch_size Batch size (number of entries) when reading from the cache 10000
infinispan.rdd.write_batch_size Batch size (number of entries) when writing to the cache 500
infinispan.rdd.number_server_partitions Numbers of partitions created per JBoss Data Grid server 2
infinispan.rdd.query.proto.protofiles Map with protobuf file names and contents Can be omitted if entities are annotated with protobuf encoding information. Protobuf encoding is required to filter the RDD by Query.
infinispan.rdd.query.proto.marshallers List of protostream marshallers classes for the objects in the cache Can be omitted if entities are annotated with protobuf encoding information. Protobuf encoding is required to filter the RDD by Query.