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

Arina Ielchiieva edited comment on DRILL-4596 at 4/11/16 12:55 PM:
-------------------------------------------------------------------

[Parth|https://issues.apache.org/jira/secure/ViewProfile.jspa?name=parthc], 
thanks for use case.
So implementation approach can be the following:
1. we allow to register any drillbit (disregarding the version).
2. instead of getting available endpoints from coordinator, we'll be receiving 
compatible endpoints. Version compatibility will be defined using main 
application version (major + minor (+ 1). For example, drillbit with version 
1.8 can work with 1.8 and 1.9.  Drillbit with version 1.9 can work with 1.9 and 
2.0 and so on. Even during rolling upgrades, compatible endpoints will be able 
to work together.


was (Author: arina):
[Parth|https://issues.apache.org/jira/secure/ViewProfile.jspa?name=parthc], 
thanks for use case.
So implementation approach can be the following:
1. we allow to register any drillbit (disregarding the version). Only drillbits 
with UNKNOWN version is disallowed. We can get UNKNOWN version only if there is 
something incorrectly set in manifest file. 
2. instead of getting available endpoints from coordinator, we'll be receiving 
compatible endpoints. Version compatibility will be defined using main 
application version (major + minor (+ 1). For example, drillbit with version 
1.8 can work with 1.8 and 1.9.  Drillbit with version 1.9 can work with 1.9 and 
2.0 and so on. Even during rolling upgrades, compatible endpoints will be able 
to work together.

> Drill should do version check among drillbits
> ---------------------------------------------
>
>                 Key: DRILL-4596
>                 URL: https://issues.apache.org/jira/browse/DRILL-4596
>             Project: Apache Drill
>          Issue Type: New Feature
>    Affects Versions: 1.6.0
>            Reporter: Arina Ielchiieva
>            Assignee: Arina Ielchiieva
>             Fix For: Future
>
>
> Before registering new drillbit in zookeeper, we should do version check, and 
> make sure all the running drillbits are in the same version.
> Using drillbits of different version can lead to unexpected results.



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

Reply via email to