Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 63961 invoked from network); 19 Apr 2010 19:32:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Apr 2010 19:32:13 -0000 Received: (qmail 35810 invoked by uid 500); 19 Apr 2010 19:32:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 35784 invoked by uid 500); 19 Apr 2010 19:32:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 35776 invoked by uid 99); 19 Apr 2010 19:32:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 19:32:13 +0000 X-ASF-Spam-Status: No, hits=-1312.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 19:32:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3JJVpRT004005 for ; Mon, 19 Apr 2010 15:31:51 -0400 (EDT) Message-ID: <7764455.18661271705511373.JavaMail.jira@thor> Date: Mon, 19 Apr 2010 15:31:51 -0400 (EDT) From: "Srikanth Sundarrajan (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (HDFS-481) Bug Fixes + HdfsProxy to use proxy user to impresonate the real user In-Reply-To: <425101633.1247174782894.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srikanth Sundarrajan updated HDFS-481: -------------------------------------- Attachment: HDFS-481-NEW.patch Backport patch for y20.1xx > Bug Fixes + HdfsProxy to use proxy user to impresonate the real user > -------------------------------------------------------------------- > > Key: HDFS-481 > URL: https://issues.apache.org/jira/browse/HDFS-481 > Project: Hadoop HDFS > Issue Type: Bug > Components: contrib/hdfsproxy > Affects Versions: 0.21.0 > Reporter: zhiyong zhang > Assignee: Srikanth Sundarrajan > Fix For: 0.22.0 > > Attachments: HDFS-481-bp-y20.patch, HDFS-481-bp-y20.patch, HDFS-481-bp-y20s.patch, HDFS-481-bp-y20s.patch, HDFS-481-NEW.patch, HDFS-481.out, HDFS-481.patch, HDFS-481.patch, HDFS-481.patch, HDFS-481.patch, HDFS-481.patch, HDFS-481.patch, HDFS-481.patch, HDFS-481.patch > > > Bugs: > 1. hadoop-version is not recognized if run ant command from src/contrib/ or from src/contrib/hdfsproxy > If running ant command from $HADOOP_HDFS_HOME, hadoop-version will be passed to contrib's build through subant. But if running from src/contrib or src/contrib/hdfsproxy, the hadoop-version will not be recognized. > 2. LdapIpDirFilter.java is not thread safe. userName, Group & Paths are per request and can't be class members. > 3. Addressed the following StackOverflowError. > ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localh > ost].[/].[proxyForward]] Servlet.service() for servlet proxyForward threw exception > java.lang.StackOverflowError > at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpR > equest.java:229) > This is due to when the target war (/target.war) does not exist, the forwarding war will forward to its parent context path /, which defines the forwarding war itself. This cause infinite loop. Added "HDFS Proxy Forward".equals(dstContext.getServletContextName() in the if logic to break the loop. > 4. Kerberos credentials of remote user aren't available. HdfsProxy needs to act on behalf of the real user to service the requests -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.