[ 
https://issues.apache.org/jira/browse/TEZ-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185721#comment-14185721
 ] 

Hitesh Shah commented on TEZ-1664:
----------------------------------

bq. version info check has static. Does this mean that a long lived user client 
cannot use a different version of tez because the static would have the 
previous version set? Lets say the client accepts tez conf and submits jobs for 
multiple users.

The client's version is by definition tied to the client instance. The version 
is being pulled in from the tez-api jar in the classpath that was used to 
instantiate the TezClient object and therefore would always be static within 
the same JVM.

bq. extra space
Will fix.

bq. why is this under version info check?
If there is a version mismatch, we should treat this as a final attempt. 

bq. re-ordering intentional? related?
Mainly for short-circuiting the init() and start() to a smaller set of 
services. Will look to see if I can revert to old behavior and just ensure that 
new DAGs cannot be submitted or any DAG be run.

bq. In fact, we should look at changing am-retries to 1 because the RM already 
has code in 2.6
Probably better addressed as a diff jira as there are probably some other 
failure scenarios such as AM memory usage ( running out of memory or killed by 
YARN ) that may need to considered as a case for multiple attempts. 



> Add checks to ensure that the client and AM are compatible 
> -----------------------------------------------------------
>
>                 Key: TEZ-1664
>                 URL: https://issues.apache.org/jira/browse/TEZ-1664
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>            Assignee: Hitesh Shah
>         Attachments: TEZ-1664.1.wip.patch, TEZ-1664.2.patch
>
>
> There is a potential chance that a client is misconfigured wrongly to point 
> to an incompatible tez tar ball on HDFS.
> Until we end up supporting either compatibility across various versions or 
> uploading the tez tarball if not configured, we should do a version 
> compatibility check and fail the AM if it was launched by an incompatible 
> client. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to