dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

easyscheduler Shell node catch exception

Open henliqi opened this issue 6 years ago • 6 comments

how easyscheduler Shell node catch exception?I wrote a Shell with exception in easyscheduler Shell node but it can‘t catch exception

henliqi avatar Feb 25 '20 03:02 henliqi

  1. task self exception log will show on the web page
  2. at the same time you also should see worker server runtime log to find out the problem

image

davidzollo avatar Feb 27 '20 02:02 davidzollo

ok i know ,but how can i alert the problem,when exception was happened

At 2020-02-27 10:40:57, "dailidong" [email protected] wrote:

exception will show task log on the web page, at the same time you also should see worker server runtime log to find out the problem

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

henliqi avatar Feb 27 '20 03:02 henliqi

usually,use ELK to monitor log may be you can try add mail configuration in the worker server logback xml file to set ERROR level send alert mail.

BTW in the future I think DS should consider this situation ,make it more easier to troubleshoot

davidzollo avatar Feb 27 '20 03:02 davidzollo

if the shell node runs not right, will give the failure result, I want to know why not catch exception. could you paste the shell content?

davidzollo avatar Mar 19 '20 00:03 davidzollo

usually,use ELK to monitor log may be you can try add mail configuration in the worker server logback xml file to set ERROR level send alert mail.

BTW in the future I think DS should consider this situation ,make it more easier to troubleshoot

very sorry, this answer is not right way to solve this problem, ELK usually used to monitor server log, but not to solve business problem

davidzollo avatar Mar 19 '20 00:03 davidzollo

BTW, which version are you using ?

davidzollo avatar Mar 19 '20 00:03 davidzollo