-
Notifications
You must be signed in to change notification settings - Fork 835
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
Java Engine and Go Executor Does not Terminate Graph upon Error #2480
Comments
I've updated the title of the issue as we're still experiencing the issue using the executor. I'll add more information/logs in another comment below. |
Executor Logs:
Combiner has the same logs. We have this in our H2O wrappers: } catch (PredictException e) {
logger.info("Error in prediction: {} ",e.getMessage());
SeldonMessage resp =
SeldonMessage.newBuilder().setStatus(
Status.newBuilder().setStatus(
Status.StatusFlag.FAILURE).setCode(500).setReason(
String.format("internal model error: feature request at index %d failed: %s",i,e.getMessage()))
.build())
.build();
sw.stop();
logger.info("prediction failed in {}ms", sw.getTotalTimeMillis());
return resp; Does the executor check the returned seldon message for a non-success status? I.e. it may look like a 200 response for REST, or no error is returned for GRPC, but the actual message is an error message. |
For REST it would be: seldon-core/executor/api/rest/client.go Lines 205 to 208 in 117fed7
|
Describe the bug
We have a graph that is has two models that are children of a combiner. The models are H2O, using the 0.2.0 version of the java wrapper, and the combiner is using seldon 1.2.3. All communication is done through GRPC. The Engine is the old java engine. One of the models encounters an error, and instead of terminating the execution of the graph, the error response is sent to the combiner, which expects valid data but can't be found in the message, and it returns an error.
H2O model Response (Via
grpcurl
):Combiner Logs/Response object:
To reproduce
Build SDEP with two h2o models (using 0.2.0 of java wrapper), and a python combiner (using 1.23), with the java engine. Have one (or both) models return an error.
Expected behaviour
Execution of the graph is terminated when an error occurs in any node of the graph.
Environment
Model Details
The text was updated successfully, but these errors were encountered: