BruceMaa opened a new issue, #12088:
URL: https://github.com/apache/dolphinscheduler/issues/12088

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   dolphinscheduelr deploy in k8s.
   
   1. Create a sql task in workflow definition
        - Datasource types: MYSQL
        - SQL_TYPE: Query
        - Send Email: Enable
   2. After start the workflow definition,  no email receive, no ERROR in task 
log.
   
   
   
   
   ### What you expected to happen
   
   receive the Email
   
   ### How to reproduce
   
   1. Create a sql task in workflow definition
        - Datasource types: MYSQL
        - SQL_TYPE: Query
        - Send Email: Enable
   2. After start the workflow definition,  no email receive, no ERROR in task 
log.
   
   find ERROR in log of the worker server
   ```
   [WARN] 2022-09-21 13:15:48.196 +0800 
org.apache.dolphinscheduler.remote.NettyRemotingClient:[368] - 
[WorkflowInstance-3179][TaskInstance-30336] - connect to 
Host{address='localhost:50052', ip='localhost', port=50052} error
   io.netty.channel.AbstractChannel$AnnotatedConnectException: 
finishConnect(..) failed: Connection refused: localhost/127.0.0.1:50052
   Caused by: java.net.ConnectException: finishConnect(..) failed: Connection 
refused
    at io.netty.channel.unix.Errors.throwConnectException(Errors.java:124)
    at io.netty.channel.unix.Socket.finishConnect(Socket.java:251)
    at 
io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.doFinishConnect(AbstractEpollChannel.java:673)
    at 
io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:650)
    at 
io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:530)
    at 
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:465)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378)
    at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at java.lang.Thread.run(Thread.java:750)
   [ERROR] 2022-09-21 13:15:48.196 +0800 
org.apache.dolphinscheduler.service.alert.AlertClientService:[116] - 
[WorkflowInstance-3179][TaskInstance-30336] - sync alert send error
   org.apache.dolphinscheduler.remote.exceptions.RemotingException: connect to 
: Host{address='localhost:50052', ip='localhost', port=50052} fail
    at 
org.apache.dolphinscheduler.remote.NettyRemotingClient.sendSync(NettyRemotingClient.java:257)
    at 
org.apache.dolphinscheduler.service.alert.AlertClientService.sendAlert(AlertClientService.java:111)
    at 
org.apache.dolphinscheduler.service.alert.AlertClientService.sendAlert(AlertClientService.java:93)
    at 
org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.sendAlert(TaskExecuteThread.java:240)
    at org.apache
   ```
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.0.0
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

Reply via email to