[
https://issues.apache.org/jira/browse/BEAM-8523?focusedWorklogId=350523&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-350523
]
ASF GitHub Bot logged work on BEAM-8523:
----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Nov/19 16:22
Start Date: 27/Nov/19 16:22
Worklog Time Spent: 10m
Work Description: mxm commented on pull request #9959: [BEAM-8523]
JobAPI: Give access to timestamped state change history
URL: https://github.com/apache/beam/pull/9959#discussion_r351381186
##########
File path:
runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/jobsubmission/JobInvocation.java
##########
@@ -70,8 +72,9 @@ public JobInvocation(
this.stateObservers = new ArrayList<>();
this.messageObservers = new ArrayList<>();
this.invocationFuture = null;
- this.jobState = JobState.Enum.STOPPED;
+ this.stateHistory = new ArrayList<>();
Review comment:
Does this grow boundlessly?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 350523)
Time Spent: 3h 50m (was: 3h 40m)
> Add useful timestamp to job servicer GetJobs
> --------------------------------------------
>
> Key: BEAM-8523
> URL: https://issues.apache.org/jira/browse/BEAM-8523
> Project: Beam
> Issue Type: New Feature
> Components: beam-model
> Reporter: Chad Dombrova
> Assignee: Chad Dombrova
> Priority: Major
> Time Spent: 3h 50m
> Remaining Estimate: 0h
>
> As a user querying jobs with JobService.GetJobs, it would be useful if the
> JobInfo result contained timestamps indicating various state changes that may
> have been missed by a client. Useful timestamps include:
>
> * submitted (prepared to the job service)
> * started (executor enters the RUNNING state)
> * completed (executor enters a terminal state)
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)