kfaraz commented on code in PR #14382:
URL: https://github.com/apache/druid/pull/14382#discussion_r1226702409
##########
server/src/main/java/org/apache/druid/metadata/SQLMetadataSupervisorManager.java:
##########
@@ -259,7 +261,13 @@ public Pair<String, SupervisorSpec> map(int index,
ResultSet r, StatementContext
);
}
catch (IOException e) {
- throw new RuntimeException(e);
+ String exceptionMessage = StringUtils.format(
+ "Could not map json payload to a SupervisorSpec
for spec_id: [%s]."
+ + " Please remove the supervisor from the
database and then submit a new request via the overlord.",
Review Comment:
```suggestion
+ " Delete the supervisor from the database
and re-submit it to the Overlord.",
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]