You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/11/03 11:57:35 UTC

[GitHub] [dolphinscheduler] ChewJ404 opened a new issue, #12690: [Bug] [dolphinscheduler-alert] when start alert service is stuck

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

   ### 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
   
   i start alert serice  
   `bash ./bin/dolphinscheduler-daemon.sh start alert-server`
   i find logs stuck 
   ```
   [INFO] 2022-11-03 19:29:51.615 +0800 org.apache.dolphinscheduler.common.utils.PropertyUtils:[69] - Overriding property from system property: path.separator
   [INFO] 2022-11-03 19:29:51.616 +0800 org.apache.dolphinscheduler.common.utils.PropertyUtils:[69] - Overriding property from system property: java.vm.vendor
   [INFO] 2022-11-03 19:29:51.616 +0800 org.apache.dolphinscheduler.common.utils.PropertyUtils:[69] - Overriding property from system property: java.vendor.url
   [INFO] 2022-11-03 19:29:51.616 +0800 org.apache.dolphinscheduler.common.utils.PropertyUtils:[69] - Overriding property from system property: sun.boot.library.path
   [INFO] 2022-11-03 19:29:51.616 +0800 org.apache.dolphinscheduler.common.utils.PropertyUtils:[69] - Overriding property from system property: java.vm.version
   [INFO] 2022-11-03 19:29:51.617 +0800 org.apache.dolphinscheduler.common.utils.PropertyUtils:[69] - Overriding property from system property: java.runtime.name
   [WARN] 2022-11-03 19:29:52.994 +0800 io.fabric8.kubernetes.client.Config:[500] - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
   [WARN] 2022-11-03 19:29:53.000 +0800 io.fabric8.kubernetes.client.Config:[500] - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
   [INFO] 2022-11-03 19:29:53.487 +0800 org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver:[58] - Exposing 16 endpoint(s) beneath base path '/actuator'
   [INFO] 2022-11-03 19:29:53.606 +0800 org.eclipse.jetty.server.handler.ContextHandler.application:[2368] - Initializing Spring DispatcherServlet 'dispatcherServlet'
   [INFO] 2022-11-03 19:29:53.606 +0800 org.springframework.web.servlet.DispatcherServlet:[525] - Initializing Servlet 'dispatcherServlet'
   [INFO] 2022-11-03 19:29:53.609 +0800 org.springframework.web.servlet.DispatcherServlet:[547] - Completed initialization in 3 ms
   [INFO] 2022-11-03 19:29:53.623 +0800 org.eclipse.jetty.server.AbstractConnector:[333] - Started ServerConnector@4168f3d9{HTTP/1.1, (http/1.1)}{0.0.0.0:50053}
   [INFO] 2022-11-03 19:29:53.632 +0800 org.springframework.boot.web.embedded.jetty.JettyWebServer:[172] - Jetty started on port(s) 50053 (http/1.1) with context path '/'
   [INFO] 2022-11-03 19:29:53.663 +0800 org.apache.dolphinscheduler.alert.AlertServer:[61] - Started AlertServer in 8.865 seconds (JVM running for 9.252)
   [INFO] 2022-11-03 19:29:53.675 +0800 org.apache.dolphinscheduler.alert.AlertServer:[69] - Alert server is staring ...
   [INFO] 2022-11-03 19:29:53.861 +0800 org.apache.dolphinscheduler.remote.NettyRemotingServer:[147] - NettyRemotingServer bind success at port : 50052
   [INFO] 2022-11-03 19:29:53.862 +0800 org.apache.dolphinscheduler.alert.AlertSenderService:[74] - alert sender started
   [INFO] 2022-11-03 19:29:53.862 +0800 org.apache.dolphinscheduler.alert.AlertServer:[74] - Alert server is started ...
   [INFO] 2022-11-03 19:29:53.887 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[80] - Registering alert plugin: Script - class org.apache.dolphinscheduler.plugin.alert.script.ScriptAlertChannelFactory
   [INFO] 2022-11-03 19:29:53.889 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[84] - Registered alert plugin: Script - class org.apache.dolphinscheduler.plugin.alert.script.ScriptAlertChannelFactory
   [INFO] 2022-11-03 19:29:53.894 +0800 org.apache.dolphinscheduler.spi.utils.JSONUtils:[65] - init timezone: sun.util.calendar.ZoneInfo[id="Asia/Shanghai",offset=28800000,dstSavings=0,useDaylight=false,transitions=31,lastRule=null]
   [INFO] 2022-11-03 19:29:54.048 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[80] - Registering alert plugin: WeChat - class org.apache.dolphinscheduler.plugin.alert.wechat.WeChatAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.050 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[84] - Registered alert plugin: WeChat - class org.apache.dolphinscheduler.plugin.alert.wechat.WeChatAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.057 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[80] - Registering alert plugin: Telegram - class org.apache.dolphinscheduler.plugin.alert.telegram.TelegramAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.058 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[84] - Registered alert plugin: Telegram - class org.apache.dolphinscheduler.plugin.alert.telegram.TelegramAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.084 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[80] - Registering alert plugin: Email - class org.apache.dolphinscheduler.plugin.alert.email.EmailAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.085 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[84] - Registered alert plugin: Email - class org.apache.dolphinscheduler.plugin.alert.email.EmailAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.095 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[80] - Registering alert plugin: Slack - class org.apache.dolphinscheduler.plugin.alert.slack.SlackAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.096 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[84] - Registered alert plugin: Slack - class org.apache.dolphinscheduler.plugin.alert.slack.SlackAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.100 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[80] - Registering alert plugin: Feishu - class org.apache.dolphinscheduler.plugin.alert.feishu.FeiShuAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.101 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[84] - Registered alert plugin: Feishu - class org.apache.dolphinscheduler.plugin.alert.feishu.FeiShuAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.105 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[80] - Registering alert plugin: Http - class org.apache.dolphinscheduler.plugin.alert.http.HttpAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.106 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[84] - Registered alert plugin: Http - class org.apache.dolphinscheduler.plugin.alert.http.HttpAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.114 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[80] - Registering alert plugin: DingTalk - class org.apache.dolphinscheduler.plugin.alert.dingtalk.DingTalkAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.115 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[84] - Registered alert plugin: DingTalk - class org.apache.dolphinscheduler.plugin.alert.dingtalk.DingTalkAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.119 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[80] - Registering alert plugin: WebexTeams - class org.apache.dolphinscheduler.plugin.alert.webexteams.WebexTeamsAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.120 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[84] - Registered alert plugin: WebexTeams - class org.apache.dolphinscheduler.plugin.alert.webexteams.WebexTeamsAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.124 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[80] - Registering alert plugin: PagerDuty - class org.apache.dolphinscheduler.plugin.alert.pagerduty.PagerDutyAlertChannelFactory
   [INFO] 2022-11-03 19:29:54.125 +0800 org.apache.dolphinscheduler.alert.AlertPluginManager:[84] - Registered alert plugin: PagerDuty - class org.apache.dolphinscheduler.plugin.alert.pagerduty.PagerDutyAlertChannelFactory
   ```
   
   
   ### What you expected to happen
   
   i see  worker logs  is successful  ,bug  alert without results  not message
   
   
   the worker logs  is 
   
   ![image](https://user-images.githubusercontent.com/10162958/199713940-301ae813-687a-42cc-ba6d-f464beb7209b.png)
   i  see  the  code  .
   `org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecuteRunnable#sendAlertIfNeeded`
   ![image](https://user-images.githubusercontent.com/10162958/199714452-015ff53f-5ead-4230-b24f-d21eac2f3474.png)
   
   not see this logger.info
   ![image](https://user-images.githubusercontent.com/10162958/199714721-69cad2ba-27ae-41e2-b8dd-4d820f31abc8.png)
   
   
   
   ### How to reproduce
   
   how i can  solve   alert service 
   
   can you  help me 
   
   Version  is   3.1.0
   
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.1.x
   
   ### Are you willing to submit PR?
   
   - [ ] 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: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

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


[GitHub] [dolphinscheduler] yyh2954360585 commented on issue #12690: [Bug] [dolphinscheduler-alert] when start alert service is stuck

Posted by GitBox <gi...@apache.org>.
yyh2954360585 commented on issue #12690:
URL: https://github.com/apache/dolphinscheduler/issues/12690#issuecomment-1327094361

   I also encounter the same situation. The alert service is started successfully, but the log is stuck


-- 
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-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] yyh2954360585 commented on issue #12690: [Bug] [dolphinscheduler-alert] when start alert service is stuck

Posted by GitBox <gi...@apache.org>.
yyh2954360585 commented on issue #12690:
URL: https://github.com/apache/dolphinscheduler/issues/12690#issuecomment-1327097872

   > I also encounter the same situation. The alert service is started successfully, but the log is stuck
   
   I used versions 3.0.1 and 3.1. X, but the problem is still the same


-- 
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-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #12690: [Bug] [dolphinscheduler-alert] when start alert service is stuck

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12690:
URL: https://github.com/apache/dolphinscheduler/issues/12690#issuecomment-1383298759

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #12690: [Bug] [dolphinscheduler-alert] when start alert service is stuck

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12690:
URL: https://github.com/apache/dolphinscheduler/issues/12690#issuecomment-1364761865

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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-unsubscribe@dolphinscheduler.apache.org

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


[GitHub] [dolphinscheduler] github-actions[bot] closed issue #12690: [Bug] [dolphinscheduler-alert] when start alert service is stuck

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #12690: [Bug] [dolphinscheduler-alert]  when start  alert service   is stuck
URL: https://github.com/apache/dolphinscheduler/issues/12690


-- 
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-unsubscribe@dolphinscheduler.apache.org

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