Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 DBE66DD25 for ; Tue, 9 Oct 2012 18:08:04 +0000 (UTC) Received: (qmail 43851 invoked by uid 500); 9 Oct 2012 18:08:04 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 43819 invoked by uid 500); 9 Oct 2012 18:08:04 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 43810 invoked by uid 99); 9 Oct 2012 18:08:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 18:08:04 +0000 Date: Tue, 9 Oct 2012 18:08:04 +0000 (UTC) From: "Arpit Gupta (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1112277792.15808.1349806084489.JavaMail.jiratomcat@arcas> In-Reply-To: <758112327.163120.1349311629028.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HADOOP-8878) uppercase namenode hostname causes hadoop dfs calls with webhdfs filesystem and fsck to fail when security is on 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/HADOOP-8878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Gupta updated HADOOP-8878: -------------------------------- Attachment: HADOOP-8878.patch patch for trunk which is using LOCALE.US in toLowerCase > uppercase namenode hostname causes hadoop dfs calls with webhdfs filesystem and fsck to fail when security is on > ---------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-8878 > URL: https://issues.apache.org/jira/browse/HADOOP-8878 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 1.0.3, 1.1.0, 1.2.0, 3.0.0 > Reporter: Arpit Gupta > Assignee: Arpit Gupta > Attachments: HADOOP-8878.branch-1.patch, HADOOP-8878.branch-1.patch, HADOOP-8878.branch-1.patch, HADOOP-8878.patch, HADOOP-8878.patch, HADOOP-8878.patch > > > This was noticed on a secure cluster where the namenode had an upper case hostname and the following command was issued > hadoop dfs -ls webhdfs://NN:PORT/PATH > the above command failed because delegation token retrieval failed. > Upon looking at the kerberos logs it was determined that we tried to get the ticket for kerberos principal with upper case hostnames and that host did not exit in kerberos. We should convert the hostnames to lower case. Take a look at HADOOP-7988 where the same fix was applied on a different class. > I have noticed this issue exists on branch-1. Will investigate trunk and branch-2 and update accordingly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira