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

Bikas Saha commented on TEZ-1664:
---------------------------------

Can we put these two together at the end of the method in an if-else stmt on 
versionMismatch. Would help with readability of the transition.
{code}
+        this.state = DAGAppMasterState.ERROR;
......
+      this.state = DAGAppMasterState.INITED;
{code}

"issions as AM incompatible wit" -> "issions as AM is incompatible wit" ?

A test case that verifies what we want to enforce in reality would be useful. 
Checks the comments on the verifier class.

+1

> 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, 
> TEZ-1664.3.patch, TEZ-1664.4.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