Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2416

In Gridmix, in RoundRobinUserResolver, the list of groups for a user obtained from users-list-file is incorrect

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: contrib/gridmix
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Removes the restriction of specifying group names in users-list file for Gridmix in RoundRobinUserResolver mode.

      Description

      RoundRobinUserResolver.parseUserList() has a bug in obtaining list of groups for each user — in the sense that the list is not cleared before obtaining groups list for the next user. So if the first line has some groups, then from 2nd
      line onwards, the validation of "whether the users(in the next lines) are also having group names in those lines" is useless as the list is already nonempty.

      For example, users-list-file content as shown below also is valid as per parseUserList():
      ------------------
      user1,group1
      user2,
      user3,
      user4,
      ------------------

      1. 2416.v1.patch
        8 kB
        Ravi Gummadi
      2. 2416.patch
        8 kB
        Ravi Gummadi

        Activity

          People

          • Assignee:
            Ravi Gummadi
            Reporter:
            Ravi Gummadi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development