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

Jason Lowe commented on MAPREDUCE-6978:
---------------------------------------

This is a duplicate of MAPREDUCE-6922.  Hadoop does not guarantee rolling 
upgrades always work between major release versions.  The easiest way to work 
around the issue is to move to a [distributed cache 
deploy|http://hadoop.apache.org/docs/r3.0.0-beta1/hadoop-mapreduce-client/hadoop-mapreduce-client-core/DistributedCacheDeploy.html]
 for MapReduce so the job will always run with a consistent version of 
MapReduce even though the node jars may change while the job is running.

> MR task counters deserialized through RPC throws OutOfBoundsException if 
> Counter enum class version not match
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6978
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6978
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: mr-am, task
>    Affects Versions: 3.0.0-alpha4
>         Environment: NM1 TaskCounter.class old version; 
> NM2 TaskCounter.class new version (new Enumeration values appended); 
>            Reporter: rangjiaheng
>
> Environment:
> NM1 TaskCounter.class old version; 
> NM2 TaskCounter.class new version (new Enumeration values appended); 
> Result:
> When an MR app's AM running on NM1, and it's containers on NM2; the 
> containers on NM2 will all failed, AM cause OutOfBoundsException;
> Reason:
> When app running, containers will report their counters to AM through RPC, 
> while the Container with new version TaskCounter.class will write more 
> Counter values to RPC; however, the AM with old version TaskCounter.class 
> which can not read them correctly from RPC.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to