[
https://issues.apache.org/jira/browse/MAPREDUCE-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871887#action_12871887
]
Eli Collins commented on MAPREDUCE-1817:
----------------------------------------
Hey Owen,
Thanks for chiming in. Seems like there must be a way we can improve the check
so that it really tests that the versions of the code is the same without
requiring that the bits be built on exactly the same minute. That's my
understanding of what getRevision would do. Any fix will bump the revision
number, if the JT gets updated with this revision number it should refuse
service to an old TT since the revision won't match right? ie any change to the
source should bump the revision number -- if that's not the case then it seems
like the real bug is that we need a better notion of "revision number". If
you're recompiling the code w/o checking in a fix to bump the revision number
then there be dragons...
The motivation is that some users don't run the same version of linux on all
the machines in their cluster. For various reasons not everyone standardizes on
one install for all machines, even though that's best practice, which means
they use different packages, and it's reasonable that different packages are
not built at exactly the same time of day. So the option for them today is to
either reinstall the OS on a bunch of machines or run two instances of Hadoop,
both of which are pretty painful too.
Thanks,
Eli
> JT and TT should not have to match build versions
> -------------------------------------------------
>
> Key: MAPREDUCE-1817
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1817
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: tasktracker
> Affects Versions: 0.20.1, 0.20.2, 0.20.3, 0.21.0, 0.22.0
> Reporter: Eli Collins
> Fix For: 0.22.0
>
>
> TaskTracker#offerService checks for a match with the JT
> VersionInfo#getBuildVersion, and fails if they are the same version but
> happen to be built at a different time of day. It seems like the correct test
> is VersionInfo#getRevision. fwiw the NN and DN do not have to match build
> versions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.