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 C7C558898 for ; Mon, 5 Sep 2011 09:50:45 +0000 (UTC) Received: (qmail 52657 invoked by uid 500); 5 Sep 2011 09:50:44 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 52123 invoked by uid 500); 5 Sep 2011 09:50:36 -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 52086 invoked by uid 99); 5 Sep 2011 09:50:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2011 09:50:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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; Mon, 05 Sep 2011 09:50:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 02FCB585FE for ; Mon, 5 Sep 2011 09:50:10 +0000 (UTC) Date: Mon, 5 Sep 2011 09:50:10 +0000 (UTC) From: "Harsh J (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <2111662281.16972.1315216210007.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7509) Improve message when Authentication is required 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/HADOOP-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097081#comment-13097081 ] Harsh J commented on HADOOP-7509: --------------------------------- Hey Ravi, Thanks for this improvement! Personally, I think "Please configure another method." can still be elaborated a bit if we're gonna get helpful with error messages anyway :) > Improve message when Authentication is required > ----------------------------------------------- > > Key: HADOOP-7509 > URL: https://issues.apache.org/jira/browse/HADOOP-7509 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 0.20.204.0 > Reporter: Ravi Prakash > Assignee: Ravi Prakash > Priority: Trivial > Fix For: 0.20.206.0 > > Attachments: HADOOP-7509.1.patch > > > The message when security is enabled and authentication is configured to be simple is not explicit enough. It simply prints out "Authentication is required" and prints out a stack trace. The message should be "Authorization (hadoop.security.authorization) is enabled but authentication (hadoop.security.authentication) is configured as simple. Please configure another method." -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira