morningman opened a new pull request, #22001:
URL: https://github.com/apache/doris/pull/22001

   ## Proposed changes
   
   When init an external catalog/database, non-master FE will forward the init 
request to master FE,
   master FE will to the init operation(connecting to external data source, 
etc.).
   If there are some error happen in init operation, master FE will return 
error message to non master FE.
   
   But previously, the error message is unclear such as `Interna error 
processing initExtemnalCtlMeta`,
   we have to see the fe.log of master FE to see the root cause.
   
   This PR, I return the root cause to non-master FE directly, to make debug 
easier:
   
   ```
   mysql> show databases;
   --------------
   show databases
   --------------
   
   ERROR 1105 (HY000): RuntimeException, msg: 
org.apache.doris.common.UserException: errCode = 2, detailMessage = 
MetaException(message:Could not connect to meta store using any of the URIs 
provided. Most recent failure: 
shade.doris.hive.org.apache.thrift.transport.TTransportException: 
java.net.ConnectException: Connection refused (Connection refused)
   ```
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to