[
https://issues.apache.org/jira/browse/TEZ-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073622#comment-14073622
]
Siddharth Seth commented on TEZ-1304:
-------------------------------------
For local mode execution, in general (not just client specific) - I think we
should make use of direct method invocations and skip RPCs when possible.
The current patch maintains the logic of processing the results of DAGClient
invocations like getAppMasterState in TezClient itself. We could follow a
similar approach of creating a wrapper over the DAGClient - and making use of
that in the respective Framework client implementations. Alternately, even
moving some of the common functionality in Framework client itself - so that
it's shared between the YarnClient / LocalClient.
In any case, I'd like to get this in soon - so that work on LocalMode
continues, and then iterate to make improvements.
> Create execution underlying framework abstraction layer
> -------------------------------------------------------
>
> Key: TEZ-1304
> URL: https://issues.apache.org/jira/browse/TEZ-1304
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: Jonathan Eagles
> Assignee: Jonathan Eagles
> Attachments: TEZ-1304-v1.patch, TEZ-1304-v2.patch
>
>
> Continuing in the direction of hiding the internals of the execution
> framework, this patch aims at abstracting it away from the tez client
> implementation. This will further ease the addition of other execution
> frameworks such as Tez Local Mode.
--
This message was sent by Atlassian JIRA
(v6.2#6252)