You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Xinyu Liu (JIRA)" <ji...@apache.org> on 2018/01/04 20:31:00 UTC

[jira] [Updated] (SAMZA-1448) Change JobStatusProvider interface so functions don't mutate the state of passed objects

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

Xinyu Liu updated SAMZA-1448:
-----------------------------
    Fix Version/s: 0.15.0

> Change JobStatusProvider interface so functions don't mutate the state of passed objects
> ----------------------------------------------------------------------------------------
>
>                 Key: SAMZA-1448
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1448
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Abhishek Shivanna
>            Priority: Minor
>             Fix For: 0.15.0
>
>
> The current functions: 
> {code:java}
> void getJobStatuses(Collection<Job> jobs)
> Job getJobStatus(JobInstance jobInstance)
> {code}
> could be re-written as:
> {code:java}
> Map<String, JobStatus> getJobStatuses(List<String> jobIds) // return: map of JobId to JobStatus
> JobStatus getJobStatus(String jobId)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)