kfaraz commented on issue #11165:
URL: https://github.com/apache/druid/issues/11165#issuecomment-832923618


   > This is one of the advantages you listed. However, I'm not quite sure how 
it can simplify debugging because the error code will not be exposed to users? 
Can you add some more details on this?
   
   This is more of an afterthought. 
   
   You are correct that in most cases, error codes would not be exposed to 
users. But in the corner case where a certain error code is not identified by 
the Overlord (case discussed above in Extensions not loaded on the Overlord), 
we might display a generic error message with the error code such as `Error 
occurred on middle manager while running task. Error Code: 
kafka-indexer.offset.outofrange`.
   
   The error codes can also be present in logs rather than the verbose messages 
themselves. To be able to translate these without having to call an API of the 
Overlord, we would benefit from having a documented set of known error codes.


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to