Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B1CBD2009F3 for ; Sat, 21 May 2016 01:14:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B089B160A31; Fri, 20 May 2016 23:14:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0FEF9160A25 for ; Sat, 21 May 2016 01:14:13 +0200 (CEST) Received: (qmail 80644 invoked by uid 500); 20 May 2016 23:14:13 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 80614 invoked by uid 99); 20 May 2016 23:14:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 23:14:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ECCDA2C1F5D for ; Fri, 20 May 2016 23:14:12 +0000 (UTC) Date: Fri, 20 May 2016 23:14:12 +0000 (UTC) From: "Xiao Chen (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13174) Add more debug logs for delegation tokens and authentication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 May 2016 23:14:14 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294502#comment-15294502 ] Xiao Chen commented on HADOOP-13174: ------------------------------------ Interestingly, the failed {{org.apache.hadoop.security.authentication.server.TestAuthenticationFilter.testManagementOperation}} is related: it resets the mockito object (which by itself is a bad smell, but I'd like to keep the scope of this jira small), and in a later call, mockito returns null on {{getRequestURL()}}. This can never happen in [real code|http://grepcode.com/file/repo1.maven.org/maven2/org.eclipse.jetty.orbit/javax.servlet/2.5.0.v201103041518/javax/servlet/http/HttpUtils.java#281], so I updated the test. Other failed tests are unrelated. > Add more debug logs for delegation tokens and authentication > ------------------------------------------------------------ > > Key: HADOOP-13174 > URL: https://issues.apache.org/jira/browse/HADOOP-13174 > Project: Hadoop Common > Issue Type: Improvement > Components: security > Reporter: Xiao Chen > Assignee: Xiao Chen > Priority: Minor > Attachments: HADOOP-13174.01.patch, HADOOP-13174.02.patch, HADOOP-13174.03.patch, HADOOP-13174.04.patch > > > Recently I debugged several authentication related problems, and found that the debug logs are not enough to identify a problem. > This jira improves it by adding more debug/trace logs along the line. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org