From mapreduce-issues-return-19914-apmail-hadoop-mapreduce-issues-archive=hadoop.apache.org@hadoop.apache.org Fri Apr 01 09:25:45 2011 Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 92537 invoked from network); 1 Apr 2011 09:25:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2011 09:25:45 -0000 Received: (qmail 51902 invoked by uid 500); 1 Apr 2011 09:25:45 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 51763 invoked by uid 500); 1 Apr 2011 09:25:44 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 51755 invoked by uid 99); 1 Apr 2011 09:25:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 09:25:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 09:25:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C169E8D02B for ; Fri, 1 Apr 2011 09:25:05 +0000 (UTC) Date: Fri, 1 Apr 2011 09:25:05 +0000 (UTC) From: "Ravi Gummadi (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <64973581.27205.1301649905789.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MAPREDUCE-2416) In Gridmix, in RoundRobinUserResolver, the list of groups for a user obtained from users-list-file is incorrect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 In Gridmix, in RoundRobinUserResolver, the list of groups for a user obtained from users-list-file is incorrect --------------------------------------------------------------------------------------------------------------- Key: MAPREDUCE-2416 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2416 Project: Hadoop Map/Reduce Issue Type: Bug Components: contrib/gridmix Reporter: Ravi Gummadi Assignee: Ravi Gummadi 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, ------------------ -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira