falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pavan kumar kolamuri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1606) Process schedule fails in some cases in case of NativeScheduler
Date Tue, 17 Nov 2015 11:19:11 GMT

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

pavan kumar kolamuri commented on FALCON-1606:
----------------------------------------------

[~ajayyadava] I am attaching the Stack trace . I have encountered this issue when i am writing
integration tests for Native Scheduler. I will add that patch once i am done with that. But
it needs few bugs to be fixed and i am working on that. 
 
{noformat}
java.lang.IllegalArgumentException: End time cannot be before start time
	at org.quartz.impl.triggers.CalendarIntervalTriggerImpl.setEndTime(CalendarIntervalTriggerImpl.java:297)
	at org.quartz.TriggerBuilder.build(TriggerBuilder.java:106)
	at org.apache.falcon.notification.service.impl.AlarmService.register(AlarmService.java:118)
	at org.apache.falcon.notification.service.NotificationServicesRegistry.register(NotificationServicesRegistry.java:65)
	at org.apache.falcon.execution.ProcessExecutor.registerForNotifications(ProcessExecutor.java:383)
	at org.apache.falcon.execution.ProcessExecutor.schedule(ProcessExecutor.java:93)
	at org.apache.falcon.execution.FalconExecutionService.onSchedule(FalconExecutionService.java:131)
	at org.apache.falcon.state.StateService.callbackHandler(StateService.java:102)
	at org.apache.falcon.state.StateService.handleStateChange(StateService.java:83)
	at org.apache.falcon.execution.FalconExecutionService.schedule(FalconExecutionService.java:161)
	at org.apache.falcon.workflow.engine.FalconWorkflowEngine.schedule(FalconWorkflowEngine.java:79)
	at org.apache.falcon.unit.FalconUnitClient.schedule(FalconUnitClient.java:196)
	at org.apache.falcon.unit.FalconUnitClient.schedule(FalconUnitClient.java:114)
	at org.apache.falcon.unit.FalconUnitTestBase.schedule(FalconUnitTestBase.java:199)
{noformat}

> Process schedule fails in some cases in case of NativeScheduler
> ---------------------------------------------------------------
>
>                 Key: FALCON-1606
>                 URL: https://issues.apache.org/jira/browse/FALCON-1606
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: pavan kumar kolamuri
>            Assignee: pavan kumar kolamuri
>            Priority: Minor
>         Attachments: FALCON-1606.patch
>
>
> Process Scheduling fails while scheduling through Falcon Native Scheduler when process
end time is in future and it is less than nextInstance time of process in future. 
> Suppose if process start time(2015-11-16T00:00Z) is in past and end-time is in future
(2015-11-16T16:00Z) and next Instance time of process is 2015-11-17T00:00Z. Current time is
(2015-11-16T15:50Z) . Then process scheduling is failing and throwing exception in AlarmService.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message