You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Zhenhua (Gerald) Guo (JIRA)" <ji...@apache.org> on 2011/05/12 08:19:47 UTC
[jira] [Created] (MAPREDUCE-2488) getLocalityLevel returns
incorrect result
getLocalityLevel returns incorrect result
-----------------------------------------
Key: MAPREDUCE-2488
URL: https://issues.apache.org/jira/browse/MAPREDUCE-2488
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: jobtracker
Affects Versions: 0.21.0
Reporter: Zhenhua (Gerald) Guo
This line
{{int level = this.maxLevel;}}
initializes variable "level" to "this.maxLevel". If the real locality level is larger than maxLevel, the method "getLocalityLevel" always return "this.maxLevel", which is incorrect.
To make it work, I change it
{{int level = Integer.MAX_VALUE;}}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira