Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B81075BC for ; Wed, 2 Nov 2011 01:29:54 +0000 (UTC) Received: (qmail 72122 invoked by uid 500); 2 Nov 2011 01:29:53 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 72050 invoked by uid 500); 2 Nov 2011 01:29:53 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 71883 invoked by uid 99); 2 Nov 2011 01:29:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 01:29:53 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Wed, 02 Nov 2011 01:29:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6604F32D5C5 for ; Wed, 2 Nov 2011 01:29:32 +0000 (UTC) Date: Wed, 2 Nov 2011 01:29:32 +0000 (UTC) From: "Arpit Gupta (Created) (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <1681329148.48900.1320197372419.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HDFS-2528) webhdfs rest call to a secure dn fails when a token is sent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 webhdfs rest call to a secure dn fails when a token is sent ----------------------------------------------------------- Key: HDFS-2528 URL: https://issues.apache.org/jira/browse/HDFS-2528 Project: Hadoop HDFS Issue Type: Bug Affects Versions: 0.20.205.0 Reporter: Arpit Gupta Assignee: Tsz Wo (Nicholas), SZE curl -L -u : --negotiate -i "http://NN:50070/webhdfs/v1/tmp/webhdfs_data/file_small_data.txt?op=OPEN" the following exception is thrown by the datanode when the redirect happens. {"RemoteException":{"exception":"IOException","javaClassName":"java.io.IOException","message":"Call to hrt12n23.cc1.ygridcore.net/98.137.234.231:8020 failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]"}} Interestingly when using ./bin/hadoop with a webhdfs path we are able to cat or tail a file successfully. -- 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