Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2488

getLocalityLevel returns incorrect result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.21.0
    • None
    • jobtracker

    Description

      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 returns "this.maxLevel", which is incorrect.
      To make it work, I change it
      int level = Integer.MAX_VALUE;

      Attachments

        Activity

          People

            Unassigned Unassigned
            jenvor Zhenhua (Gerald) Guo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: