aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Khutornenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AURORA-741) DbJobUpdateStore can't fetch updates that have no initial state
Date Tue, 23 Sep 2014 20:33:33 GMT

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

Maxim Khutornenko updated AURORA-741:
-------------------------------------
    Sprint: Aurora Q3 Sprint 3

> DbJobUpdateStore can't fetch updates that have no initial state
> ---------------------------------------------------------------
>
>                 Key: AURORA-741
>                 URL: https://issues.apache.org/jira/browse/AURORA-741
>             Project: Aurora
>          Issue Type: Story
>          Components: Scheduler
>            Reporter: Bill Farner
>            Assignee: Maxim Khutornenko
>            Priority: Blocker
>
> If an IJobUpdate has an empty set for {{instructions.initialState}}, it can be saved
but not retrieved.
> Here's an example stack trace where this was encountered
> {noformat}
> java.lang.IllegalStateException: Optional.get() cannot be called on an absent value
> 	at com.google.common.base.Absent.get(Absent.java:47)
> 	at org.apache.aurora.scheduler.updater.JobUpdateControllerImpl.changeJobUpdateStatus(JobUpdateControllerImpl.java:388)
> 	at org.apache.aurora.scheduler.updater.JobUpdateControllerImpl.recordAndChangeJobUpdateStatus(JobUpdateControllerImpl.java:330)
> 	at org.apache.aurora.scheduler.updater.JobUpdateControllerImpl.access$200(JobUpdateControllerImpl.java:93)
> 	at org.apache.aurora.scheduler.updater.JobUpdateControllerImpl$1.execute(JobUpdateControllerImpl.java:151)
> 	at org.apache.aurora.scheduler.storage.Storage$MutateWork$NoResult.apply(Storage.java:131)
> 	at org.apache.aurora.scheduler.storage.Storage$MutateWork$NoResult.apply(Storage.java:127)
> 	at org.apache.aurora.scheduler.storage.mem.MemStorage.doWork(MemStorage.java:175)
> 	at org.apache.aurora.scheduler.storage.mem.MemStorage.access$400(MemStorage.java:59)
> 	at org.apache.aurora.scheduler.storage.mem.MemStorage$4.apply(MemStorage.java:200)
> 	at org.apache.aurora.scheduler.storage.mem.MemStorage$4.apply(MemStorage.java:197)
> 	at org.apache.aurora.scheduler.storage.db.DbStorage.write(DbStorage.java:150)
> 	at org.mybatis.guice.transactional.TransactionalMethodInterceptor.invoke(TransactionalMethodInterceptor.java:101)
> 	at org.apache.aurora.scheduler.storage.mem.MemStorage.write(MemStorage.java:197)
> 	at org.apache.aurora.scheduler.updater.JobUpdateControllerImpl.start(JobUpdateControllerImpl.java:131)
> {noformat}



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

Mime
View raw message