tibrewalpratik17 opened a new pull request, #11103:
URL: https://github.com/apache/pinot/pull/11103

   In #11076 we were getting a very vague message in case of version conflicts. 
   
   `
   java.io.IOException: Failed : HTTP error code : 500. Root Cause: 
<html><head><title>Grizzly 2.4.4</title><style><!--div.header 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#003300;font-size:22px;-moz-border-radius-topleft:
 10px;border-top-left-radius: 10px;-moz-border-radius-topright: 
10px;border-top-right-radius: 10px;padding-left: 5px}div.body 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:#FFFFCC;font-size:16px;padding-top:10px;padding-bottom:10px;padding-left:10px}div.footer
 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#666633;font-size:14px;-moz-border-radius-bottomleft:
 10px;border-bottom-left-radius: 10px;-moz-border-radius-bottomright: 
10px;border-bottom-right-radius: 10px;padding-left: 5px}BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}B 
{font-family:Tahoma,Arial,sans-serif;color:black;}A {color : black;}HR {color : 
#999966;}--></style> </head><body><div class="header">Request fail
 ed.</div><div class="body">Request failed.</div><div class="footer">Grizzly 
2.4.4</div></body></html>
   `
   
   This patch gets the throwable message and propagates to the user. Sample 
error message:
   `
   [
     {
       "message": "QueryExecutionError:\njava.lang.RuntimeException: Error 
executing query: 'io.grpc.NameResolver$Args$Builder 
io.grpc.NameResolver$Args$Builder.setOverrideAuthority(java.lang.String)'\n\tat 
org.apache.pinot.query.service.dispatch.QueryDispatcher.submitAndReduce(QueryDispatcher.java:105)\n\tat
 
org.apache.pinot.broker.requesthandler.MultiStageBrokerRequestHandler.handleRequest(MultiStageBrokerRequestHandler.java:218)\n\tat
 
org.apache.pinot.broker.requesthandler.MultiStageBrokerRequestHandler.handleRequest(MultiStageBrokerRequestHandler.java:146)\n\tat
 
org.apache.pinot.broker.requesthandler.BrokerRequestHandler.handleRequest(BrokerRequestHandler.java:47)",
       "errorCode": 200
     }
   ]
   `
   


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

Reply via email to