[jira] [Created] (FLINK-6167) Consider removing ArchivedExecutionGraph classes

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-6167) Consider removing ArchivedExecutionGraph classes

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-6167:
---------------------------------------

             Summary: Consider removing ArchivedExecutionGraph classes
                 Key: FLINK-6167
                 URL: https://issues.apache.org/jira/browse/FLINK-6167
             Project: Flink
          Issue Type: Improvement
          Components: JobManager
    Affects Versions: 1.3.0
            Reporter: Chesnay Schepler
            Priority: Minor


The Archived* versions of the ExecutionGraph classes (ExecutionGraph, ExecutionJobVertex, ExecutionVertex, Execution) were originally intended to provide a serializable object that can be transferred to the History Server.

The revised implementation of the history server however no longer requires them.

As such we could either remove them, or keep them for testing purposes (instead of mocking) as they simplify the testing of the web-interface handlers quite a lot, which would however require keeping the Access* interfaces.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (FLINK-6167) Consider removing ArchivedExecutionGraph classes

David Wang
Hi Chesnay,

If Acrhived* versions of ExecutionGraph classes have been removed, is there
any way to retrieve data in ExecutionGraph from JobMaster via RPC? Some of
our projects rely on the Archived* classes from Job Masters running in the
cluster.

Thanks,
David

2017-03-22 22:11 GMT+08:00 Chesnay Schepler (JIRA) <[hidden email]>:

> Chesnay Schepler created FLINK-6167:
> ---------------------------------------
>
>              Summary: Consider removing ArchivedExecutionGraph classes
>                  Key: FLINK-6167
>                  URL: https://issues.apache.org/jira/browse/FLINK-6167
>              Project: Flink
>           Issue Type: Improvement
>           Components: JobManager
>     Affects Versions: 1.3.0
>             Reporter: Chesnay Schepler
>             Priority: Minor
>
>
> The Archived* versions of the ExecutionGraph classes (ExecutionGraph,
> ExecutionJobVertex, ExecutionVertex, Execution) were originally intended to
> provide a serializable object that can be transferred to the History Server.
>
> The revised implementation of the history server however no longer
> requires them.
>
> As such we could either remove them, or keep them for testing purposes
> (instead of mocking) as they simplify the testing of the web-interface
> handlers quite a lot, which would however require keeping the Access*
> interfaces.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.15#6346)
>