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 2020/06/15 13:09:28 UTC

[GitHub] [incubator-dolphinscheduler] gabrywu opened a new issue #2983: [BUG] no email sent when query SQL has no result

gabrywu opened a new issue #2983:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2983


   **Describe the bug**
   
   no email sent when query SQL has no result
   
   **To Reproduce**
   
   1. Create an email task to execute Query SQL which return empty result.
   
   **Expected behavior**
   
   An email with empty body should be sent.
   
   **Which version of Dolphin Scheduler:**
    -[1.2.0]
   
   
   **Requirement or improvement
   - An email should be sent for Query SQL ,no matter it has result or not .


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

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



[GitHub] [incubator-dolphinscheduler] Jops-data commented on issue #2983: [BUG] no email sent when query SQL has no result

Posted by GitBox <gi...@apache.org>.
Jops-data commented on issue #2983:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2983#issuecomment-645122313


   Can I send the result of querying hive table with SQL node by email? Did you meet me when I sent it wrong?
    - send mail failed!
   java.lang.RuntimeException: send mail failed!
   	at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.sendAttachment(SqlTask.java:429)
   	at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:331)
   	at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.handle(SqlTask.java:194)
   	at org.apache.dolphinscheduler.server.worker.runner.TaskScheduleThread.run(TaskScheduleThread.java:147)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)


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

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



[GitHub] [incubator-dolphinscheduler] gabrywu commented on issue #2983: [BUG] no email sent when query SQL has no result

Posted by GitBox <gi...@apache.org>.
gabrywu commented on issue #2983:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2983#issuecomment-645729103


   @dailidong @qiaozhanwei @lgcareer Hi bros, could you join to discuss about this issue ?


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

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



[GitHub] [incubator-dolphinscheduler] dailidong closed issue #2983: [BUG] no email sent when query SQL has no result

Posted by GitBox <gi...@apache.org>.
dailidong closed issue #2983:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2983


   


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

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



[GitHub] [incubator-dolphinscheduler] gabrywu commented on issue #2983: [BUG] no email sent when query SQL has no result

Posted by GitBox <gi...@apache.org>.
gabrywu commented on issue #2983:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2983#issuecomment-645728531


   > Can I send the result of querying hive table with SQL node by email? Did you meet me when I sent it wrong?
   > 
   > * send mail failed!
   >   java.lang.RuntimeException: send mail failed!
   >   at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.sendAttachment(SqlTask.java:429)
   >   at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:331)
   >   at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.handle(SqlTask.java:194)
   >   at org.apache.dolphinscheduler.server.worker.runner.TaskScheduleThread.run(TaskScheduleThread.java:147)
   >   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   >   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   >   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   >   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   >   at java.lang.Thread.run(Thread.java:748)
   
   @Jops-data  I already see your questions in another issue, so don't ask the same questions again


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

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



[GitHub] [incubator-dolphinscheduler] gabrywu edited a comment on issue #2983: [BUG] no email sent when query SQL has no result

Posted by GitBox <gi...@apache.org>.
gabrywu edited a comment on issue #2983:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2983#issuecomment-645728531






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

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