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

Andras Salamon commented on OOZIE-3397:
---------------------------------------

The logging does not give too much information if the sending fails with an 
{{IOException}}.

If a job is submitted with a wrong URL:
{noformat}
oozie job ... -run -Doozie.wf.workflow.notification.url=http://thisisawrongurl
{noformat}
The log contains the following information:
{noformat}
2018-12-15 13:01:37,369  WARN WorkflowNotificationXCommand:523 - 
SERVER[SalamonAndras-MBP15.local] USER[-] GROUP[-] TOKEN[-] APP[-] 
JOB[0000001-181215125708900-oozie-andr-W] ACTION[] Notification sending to URL 
[http://thisisawrongurl] failed with exception [thisisawrongurl]
{noformat}
Reopening the issue. Hope you don't mind [~kmarton], I take it over and provide 
an amend patch soon.

> Improve logging in NotificationXCommand
> ---------------------------------------
>
>                 Key: OOZIE-3397
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3397
>             Project: Oozie
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: trunk
>            Reporter: Julia Kinga Marton
>            Assignee: Julia Kinga Marton
>            Priority: Major
>             Fix For: 5.2.0
>
>         Attachments: OOZIE-3397.001.patch, OOZIE-3397.002.patch
>
>
> Around the notification sending (NotificationXCommand) there is not so much 
> logging. For example if the HTTP call fails, the error is suppressed.



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

Reply via email to