kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KYLIN-2875) Cube e-mail notification Validation
Date Fri, 08 Dec 2017 13:19:04 GMT

     [ https://issues.apache.org/jira/browse/KYLIN-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shaofeng SHI resolved KYLIN-2875.
---------------------------------
    Resolution: Fixed

> Cube e-mail notification Validation
> -----------------------------------
>
>                 Key: KYLIN-2875
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2875
>             Project: Kylin
>          Issue Type: Improvement
>          Components: REST Service, Web 
>            Reporter: Pan, Julian
>            Assignee: Pan, Julian
>             Fix For: v2.3.0
>
>         Attachments: KYLIN_2875.patch
>
>
> Validation e-mail notification list avoid EmailException:
> 2017-03-28 20:01:56,453 INFO [pool-10-thread-8] execution.AbstractExecutable:250 : notify
list:[user1@apache.com;user2@apache.com;, DL-user-group@apache.com]
> 2017-03-28 20:01:56,453 ERROR [pool-10-thread-8] util.MailService:112 : Illegal semicolon,
not in group
> org.apache.commons.mail.EmailException: Illegal semicolon, not in group
> at org.apache.commons.mail.Email.createInternetAddress(Email.java:541)
> at org.apache.commons.mail.Email.addTo(Email.java:653)
> at org.apache.commons.mail.Email.addTo(Email.java:636)
> at org.apache.commons.mail.Email.addTo(Email.java:618)
> at org.apache.kylin.common.util.MailService.sendMail(MailService.java:97)
> at org.apache.kylin.common.util.MailService.sendMail(MailService.java:70)
> at org.apache.kylin.job.execution.AbstractExecutable.notifyUserStatusChange(AbstractExecutable.java:251)
> at org.apache.kylin.job.execution.DefaultChainedExecutable.onStatusChange(DefaultChainedExecutable.java:105)
> at org.apache.kylin.engine.mr.CubingJob.onStatusChange(CubingJob.java:296)
> at org.apache.kylin.job.execution.DefaultChainedExecutable.onExecuteFinished(DefaultChainedExecutable.java:89)
> at org.apache.kylin.engine.mr.CubingJob.onExecuteFinished(CubingJob.java:292)
> at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:135)
> at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:133)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: javax.mail.internet.AddressException: Illegal semicolon, not in group in string
``caishen@ebay.com;kalagupackiam@ebay.com;cbian@ebay.com;cbian@ebay.com;'' at position 16
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:780)
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)
> at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:91)
> at org.apache.commons.mail.Email.createInternetAddress(Email.java:514)
> ... 15 more



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message