[ 
https://issues.apache.org/jira/browse/OOZIE-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503425#comment-16503425
 ] 

Hadoop QA commented on OOZIE-1393:
----------------------------------


Testing JIRA OOZIE-1393

Cleaning local git workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:green}+1{color} the patch does not introduce any line longer than 
132
.    {color:green}+1{color} the patch adds/modifies 1 testcase(s)
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{color:green}+1 JAVADOC{color}
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc 
warning(s)
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc 
error(s)
.    {color:red}ERROR{color}: the current HEAD has 2 Javadoc error(s)
{color:green}+1 COMPILE{color}
.    {color:green}+1{color} HEAD compiles
.    {color:green}+1{color} patch compiles
.    {color:green}+1{color} the patch does not seem to introduce new javac 
warnings
{color:green}+1{color} There are no new bugs found in total.
. {color:green}+1{color} There are no new bugs found in [webapp].
. {color:green}+1{color} There are no new bugs found in [core].
. {color:green}+1{color} There are no new bugs found in [tools].
. {color:green}+1{color} There are no new bugs found in [sharelib/hive2].
. {color:green}+1{color} There are no new bugs found in [sharelib/distcp].
. {color:green}+1{color} There are no new bugs found in [sharelib/hcatalog].
. {color:green}+1{color} There are no new bugs found in [sharelib/streaming].
. {color:green}+1{color} There are no new bugs found in [sharelib/sqoop].
. {color:green}+1{color} There are no new bugs found in [sharelib/oozie].
. {color:green}+1{color} There are no new bugs found in [sharelib/pig].
. {color:green}+1{color} There are no new bugs found in [sharelib/hive].
. {color:green}+1{color} There are no new bugs found in [sharelib/spark].
. {color:green}+1{color} There are no new bugs found in [client].
. {color:green}+1{color} There are no new bugs found in [examples].
. {color:green}+1{color} There are no new bugs found in [docs].
. {color:green}+1{color} There are no new bugs found in [server].
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.    {color:green}+1{color} the patch does not change any JPA 
Entity/Colum/Basic/Lob/Transient annotations
.    {color:green}+1{color} the patch does not modify JPA files
{color:green}+1 TESTS{color}
.    Tests run: 2146
.    {color:orange}Tests failed at first run:{color}
TestCoordActionsKillXCommand#testActionKillCommandDate
.    For the complete list of flaky tests, see TEST-SUMMARY-FULL files.
{color:green}+1 DISTRO{color}
.    {color:green}+1{color} distro tarball builds with the patch 

----------------------------
{color:green}*+1 Overall result, good!, no -1s*{color}


The full output of the test-patch run is available at

. https://builds.apache.org/job/PreCommit-OOZIE-Build/613/



> EmailActionExecutor - allow setting additional properties for the SMTP client
> -----------------------------------------------------------------------------
>
>                 Key: OOZIE-1393
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1393
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Kiran Nagasubramanian
>            Assignee: Mahesh Balakrishnan
>            Priority: Major
>         Attachments: OOZIE-1393-002.patch, OOZIE-1393-003.patch, 
> OOZIE-1393-004.patch, OOZIE-1393-004.patch, OOZIE-1393-005.patch, 
> OOZIE-1393.patch, Screen Shot 2018-05-22 at 7.35.36 PM.png, Screen Shot 
> 2018-06-06 at 9.53.05 AM.png
>
>
> I was trying out email action executor. I've made sure that I'd set all the 
> properties on oozie-site.xml and in the workflow definition too. Please find 
> below the details I set, the stack trace and some of my findings. Any advice 
> on how to resolve this would be really appreciated.
> Details set:
> host = smtp.gmail.com
> port = 587
> both to and from are gmail addresses...
> oozie.email.smtp.auth = true
> oozie.email.smtp.username = same as From address(Gmail ID)
> oozie.email.smtp.password = <password>
> Stack trace:
> 130520210251024-oozie-Kira-W@email-node] Error starting action [email-node]. 
> ErrorType [ERROR], ErrorCode [EM007], Message [EM007: Encountered an error 
> while sending the email message over SMTP.]
> org.apache.oozie.action.ActionExecutorException: EM007: Encountered an error 
> while sending the email message over SMTP.
>       at 
> org.apache.oozie.action.email.EmailActionExecutor.email(EmailActionExecutor.java:181)
>       at 
> org.apache.oozie.action.email.EmailActionExecutor.validateAndMail(EmailActionExecutor.java:110)
>       at 
> org.apache.oozie.action.email.EmailActionExecutor.start(EmailActionExecutor.java:70)
>       at 
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:211)
>       at 
> org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:59)
>       at org.apache.oozie.command.XCommand.call(XCommand.java:277)
>       at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:326)
>       at 
> org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:255)
>       at 
> org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>       at java.lang.Thread.run(Thread.java:680)
> Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a 
> STARTTLS command first. qh4sm1420786pac.8 - gsmtp
>       at 
> com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
>       at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
>       at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
>       at javax.mail.Transport.send0(Transport.java:169)
>       at javax.mail.Transport.send(Transport.java:98)
>       at 
> org.apache.oozie.action.email.EmailActionExecutor.email(EmailActionExecutor.java:177)
>       ... 11 more
> Findings:
> I was able to develop a standalone class using javax.mail and send emails 
> successfully...The only difference I could see is I'm setting the following 
> property additionally in my standalone test:
> props.put("mail.smtp.starttls.enable", "true");
> If I dont set this property, my standalone example also fails with the same 
> exception as Oozie does.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to