-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to distribute simulation batches #1939
Comments
Apparently an object is not serializable: how does Ignite serialize? |
As far I underdand, it uses it's Binary Marshaller |
Can you deepen the reason why it does refuse to serialize? It looks like it's failing at serializing Kotlin's lambda expressions - maybe we can program it? |
Ok, I'll try to debug |
Most of the serialization exceptions seem to origin from classes whose fields in some ways end up dealing with Other classes with similar issue are:
And then there's another kind of exception regarding which I could not find so many information.
|
Okay, we must change the way we serialize, then, it's too much stuff to make I think that the "strange thing" you see is a Kotlin default argument value. |
I tried to avoid sending away the |
Can we replace the serializer of ignite with something else? |
Yes, there's a method to set a (i believe custom)
|
@DanySK I'm working on the distribution of simulations, still having issues with serialization. I'm avoiding using the default Java serialization by using protocol buffers. The doubt that I now have is: to be able to serialize any |
I think that you should have your custom exporter and throw errors if any other is being used |
I had a look at the current state of the
alchemist-grid
module.I've problems in trying to distribute batches on a single node cluster (aka, the cluster is my laptop).
What i did was:
-s
CLI option. This is the configuration file i used:-d
cli option. (Distributed simulation)Trying doing the latter results in errors that seem to have to do with serialization. Here you can see the error log.
The text was updated successfully, but these errors were encountered: