Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D49E9870 for ; Fri, 8 Jun 2012 00:09:23 +0000 (UTC) Received: (qmail 46624 invoked by uid 500); 8 Jun 2012 00:09:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 46547 invoked by uid 500); 8 Jun 2012 00:09:23 -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 46375 invoked by uid 99); 8 Jun 2012 00:09:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 00:09:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 1D19B142860 for ; Fri, 8 Jun 2012 00:09:23 +0000 (UTC) Date: Fri, 8 Jun 2012 00:09:23 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <815221564.50609.1339114163120.JavaMail.jiratomcat@issues-vm> In-Reply-To: <840460275.40979.1338923243526.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HDFS-3509) WebHdfsFilesystem does not work within a proxyuser doAs call in secure mode 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-3509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur updated HDFS-3509: ------------------------------------- Status: Patch Available (was: Open) > WebHdfsFilesystem does not work within a proxyuser doAs call in secure mode > --------------------------------------------------------------------------- > > Key: HDFS-3509 > URL: https://issues.apache.org/jira/browse/HDFS-3509 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.0.0-alpha > Reporter: Alejandro Abdelnur > Assignee: Alejandro Abdelnur > Priority: Critical > Attachments: HDFS-3509.patch > > > It does not find kerberos credentials in the context (the UGI is logged in from a keytab) and it fails with the following trace: > {code} > java.lang.IllegalStateException: unknown char '<'(60) in org.mortbay.util.ajax.JSON$ReaderSource@23245e75 > at org.mortbay.util.ajax.JSON.handleUnknown(JSON.java:788) > at org.mortbay.util.ajax.JSON.parse(JSON.java:777) > at org.mortbay.util.ajax.JSON.parse(JSON.java:603) > at org.mortbay.util.ajax.JSON.parse(JSON.java:183) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.jsonParse(WebHdfsFileSystem.java:259) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:268) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.run(WebHdfsFileSystem.java:427) > at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getDelegationToken(WebHdfsFileSystem.java:722) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira