[
https://issues.apache.org/jira/browse/OOZIE-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502154#comment-13502154
]
Robert Kanter commented on OOZIE-1057:
--------------------------------------
One last thing, even though the {{getRetryInterval()}} method you added to
{{ActionCheckXCommand}} is currently only needed for the test, others may use
it now that it is there. So, when there's no executor, I don't think it should
return 0 because that could cause problems. Can you have it return the default?
{code}
protected long getRetryInterval() {
return (executor != null) ? executor.getRetryInterval() :
ActionExecutor.RETRY_INTERVAL;
}
{code}
> Log message for retrying to connect to the JT always says 60,000 milliseconds
> -----------------------------------------------------------------------------
>
> Key: OOZIE-1057
> URL: https://issues.apache.org/jira/browse/OOZIE-1057
> Project: Oozie
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Robert Kanter
> Priority: Minor
> Labels: patch
> Fix For: trunk
>
> Attachments: OOZIE-1057.patch.txt
>
>
> When Oozie tries to reconnect to the JT, the ActionCheckXCommand will log a
> message like this:
> {code}
> 2012-11-08 16:31:48,153 INFO ActionCheckXCommand:539 - USER[oozie] GROUP[-]
> TOKEN[] APP[map-reduce-wf] JOB[0000002-121108161824321-oozie-oozi-W]
> ACTION[0000002-121108161824321-oozie-oozi-W@mr-node] Next Retry, Attempt
> Number [1] in [60,000] milliseconds{code}
> If you set {{oozie.service.ActionCheckerService.action.check.interval}} to
> something other than 60, it will behave correctly (that is, it will check
> every X seconds instead of 60 and even log the message at that interval), but
> will still print out [60,000] milliseconds.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira