Having a different problem now, using MapReduce, at a certain point they try to serialize an object containing a Siena model
// this is a technical field used by Siena to represent a relation
// between this model and another one. For ex, it will be used to
// identify the ancestor in an aggregation relation
// has transient modifier to prevent serialization FOR THE TIME BEING
// TODO IS THE TRANSIENT REQUIRED OR CAN IT BE A PB?
@Aggregator
private Relation relation;
Other than removing my Model field from the class they're trying to serialize, I thought I could solve the problem by either:
1. adding volatile to "relation"
2. declaring the inner classes as static
3. declaring the inner classes as serializable, and implement serialize().
Tried 1., had other problems, not sure why it didn't work.
Will think again and if I find a solution I'll post it here, for other users (he he, anybody there?)