kvanjana opened a new issue #6142: URL: https://github.com/apache/incubator-pinot/issues/6142
Dear Team, I would like to ask three questions. 1. **Change the "fromAddress" of alert email:** I read in many documents that “# Sender of the alert. Please avoid changing this field. fromAddress: [email protected]”.I want the email alerts to be sent to end-users from "[email protected]". Kindly advise. 2. **Unable to run backend.sh and frontend.sh simultaneously. Hence to capture the error, I am running "./run-backend.sh". Please see the logs and advise** 2020-10-13 13:05:06.066 [task-executor-4] INFO org.apache.pinot.thirdeye.anomaly.events.EventFilter - Whitelisting complete. Returning 10 fetched events after whitelist 2020-10-13 13:05:06.068 [pool-30-thread-1] INFO org.apache.pinot.thirdeye.anomaly.alert.util.AlertScreenshotHelper - imgRoute http://localhost:1426/app/#/screenshot/7813 2020-10-13 13:05:06.068 [pool-30-thread-1] INFO org.apache.pinot.thirdeye.anomaly.alert.util.AlertScreenshotHelper - Phantom JS script ./config/getGraphPnj.js 2020-10-13 13:05:06.068 [pool-30-thread-1] INFO org.apache.pinot.thirdeye.anomaly.alert.util.AlertScreenshotHelper - imgPath /tmp/graph7813.png 2020-10-13 13:05:06.069 [pool-30-thread-1] INFO org.apache.pinot.thirdeye.anomaly.alert.util.AlertScreenshotHelper - Waiting for phantomjs... 2020-10-13 13:05:06.197 [pool-30-thread-1] INFO org.apache.pinot.thirdeye.anomaly.alert.util.AlertScreenshotHelper - phantomjs complete status after waiting: true 2020-10-13 13:05:06.198 [task-executor-4] INFO org.apache.pinot.thirdeye.anomaly.alert.util.AlertScreenshotHelper - Finished with result: /tmp/graph7813.png 2020-10-13 13:05:06.209 [task-executor-4] ERROR org.apache.pinot.thirdeye.notification.formatter.channels.EmailContentFormatter - Exception while embedding screenshot for anomaly org.apache.commons.mail.EmailException: file /tmp/graph7813.png doesn't exist at org.apache.commons.mail.HtmlEmail.embed(HtmlEmail.java:401) ~[thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at org.apache.commons.mail.HtmlEmail.embed(HtmlEmail.java:323) ~[thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at org.apache.pinot.thirdeye.notification.formatter.channels.EmailContentFormatter.buildEmailEntity(EmailContentFormatter.java:84) [thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at org.apache.pinot.thirdeye.notification.formatter.channels.EmailContentFormatter.getEmailEntity(EmailContentFormatter.java:73) [thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at org.apache.pinot.thirdeye.detection.alert.scheme.DetectionEmailAlerter.prepareEmailContent(DetectionEmailAlerter.java:153) [thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at org.apache.pinot.thirdeye.detection.alert.scheme.DetectionEmailAlerter.generateAndSendEmails(DetectionEmailAlerter.java:222) [thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at org.apache.pinot.thirdeye.detection.alert.scheme.DetectionEmailAlerter.run(DetectionEmailAlerter.java:240) [thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at org.apache.pinot.thirdeye.detection.alert.DetectionAlertTaskRunner.execute(DetectionAlertTaskRunner.java:110) [thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at org.apache.pinot.thirdeye.anomaly.task.TaskDriver$1$1.call(TaskDriver.java:122) [thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at org.apache.pinot.thirdeye.anomaly.task.TaskDriver$1$1.call(TaskDriver.java:119) [thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_262] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_262] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_262] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262] 2020-10-13 13:05:06.380 [task-watcher-1] ERROR org.apache.pinot.thirdeye.anomaly.task.TaskDriver - Exception in electing and executing task java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Invalid sender's email at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_262] at java.util.concurrent.FutureTask.get(FutureTask.java:206) ~[?:1.8.0_262] at org.apache.pinot.thirdeye.anomaly.task.TaskDriver$1.run(TaskDriver.java:126) [thirdeye-pinot-1.0.0-SNAPSHOT.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_262] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_262] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_262] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_262] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262] 3. **Can we run "run-backend.sh" and "front-end.sh" in two different terminals at the same time? If yes, How? If No, where I can view the backend logs?** ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
