Closed
Description
i have an example, here that fails if you don't add a few extra hints for a simple example compiled to graalvm and using remote partitioning. please add the following hints to the jar itself so users don't need to
i had to put this on the worker node and @ImportRuntimeHints
it:
static class Hints implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
var mcs = MemberCategory.values();
hints.reflection().registerType(StepExecutionRequestHandler.class, mcs);
hints.serialization().registerType(StepExecutionRequest.class);
}
}
i had to put this on the leader node and @ImportRuntimeHints
it:
static class Hints implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
var mcs = MemberCategory.values();
hints.reflection().registerType(MessageChannelPartitionHandler.class, mcs);
hints.serialization().registerType(StepExecutionRequest.class);
}
}