[
https://issues.apache.org/jira/browse/TEZ-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041513#comment-14041513
]
Jeff Zhang commented on TEZ-692:
--------------------------------
I think we could add a builder class for TezClient: TezClientBuilder which
could override the properties in configuration file.
Several thoughts:
# It is more natural to specify some properties in code rather in
configuration file, such as "isSession". Otherwise it may break user's code.
e.g. user intend to submit dag consecutively, while it load a configuration
which specify no-session mode. )
# User may have the requirements to enforce some properties in code which
don't want to been override.
# It will benefit the unit testing by allowing build different kinds of
TezClient programmatically
> Unify job submission in either TezClient or TezSession
> ------------------------------------------------------
>
> Key: TEZ-692
> URL: https://issues.apache.org/jira/browse/TEZ-692
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: TEZ-692.1.patch
>
>
> Its confusing to have 2 ways to create and submit a tez job. The developer
> has to spend time thinking about and deciding which method to use.
--
This message was sent by Atlassian JIRA
(v6.2#6252)