Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 55413 invoked from network); 9 Mar 2010 09:30:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Mar 2010 09:30:17 -0000 Received: (qmail 91129 invoked by uid 500); 9 Mar 2010 09:29:51 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 91011 invoked by uid 500); 9 Mar 2010 09:29:51 -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 90993 invoked by uid 99); 9 Mar 2010 09:29:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Mar 2010 09:29:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Mar 2010 09:29:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3B2D6234C4B1 for ; Tue, 9 Mar 2010 09:29:27 +0000 (UTC) Message-ID: <253386092.151581268126967241.JavaMail.jira@brutus.apache.org> Date: Tue, 9 Mar 2010 09:29:27 +0000 (UTC) From: "Vinod K V (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1573) TestStreamingAsDifferentUser fails if run as tt_user In-Reply-To: <992025105.133801268048367713.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod K V updated MAPREDUCE-1573: --------------------------------- Component/s: test task-controller Hadoop Flags: [Reviewed] > TestStreamingAsDifferentUser fails if run as tt_user > ---------------------------------------------------- > > Key: MAPREDUCE-1573 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1573 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: task-controller, test > Affects Versions: 0.22.0 > Reporter: Ravi Gummadi > Assignee: Ravi Gummadi > Fix For: 0.22.0 > > Attachments: 1573.patch > > > TestStreamingAsDifferentUser fails if run as tt_user. MAPREDUCE-890 didn't make the necessary changes needed for the newly added testcase in TestStreamignAsDifferentUser. > {code} > Testcase: testStreamingWithDistCache took 21.228 sec > FAILED > Path /tmp/hadoop-gravi/mapred/local/0_0/taskTracker/gravi/distcache has the permissions drwxrws--- instead of the expected dr-xrws--- > junit.framework.AssertionFailedError: Path /tmp/hadoop-gravi/mapred/local/0_0/taskTracker/gravi/distcache has the permissions drwxrws--- instead of the expected dr-xrws--- at org.apache.hadoop.mapred.TestTaskTrackerLocalization.checkFilePermissions(TestTaskTrackerLocalization.java:292) > at org.apache.hadoop.mapred.ClusterWithLinuxTaskController.checkPermissionsOnDir(ClusterWithLinuxTaskController.java:440) > at org.apache.hadoop.mapred.ClusterWithLinuxTaskController.checkPermissionsOnPrivateDistCache(ClusterWithLinuxTaskController.java:354) > at org.apache.hadoop.streaming.TestStreamingAsDifferentUser$2.run(TestStreamingAsDifferentUser.java:157) > at org.apache.hadoop.streaming.TestStreamingAsDifferentUser$2.run(TestStreamingAsDifferentUser.java:120) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:706) > at org.apache.hadoop.streaming.TestStreamingAsDifferentUser.testStreamingWithDistCache(TestStreamingAsDifferentUser.java:120) > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.