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 0CB932009D9 for ; Tue, 17 May 2016 23:19:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0B82D1607A8; Tue, 17 May 2016 21:19:15 +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 562B3160A20 for ; Tue, 17 May 2016 23:19:14 +0200 (CEST) Received: (qmail 32732 invoked by uid 500); 17 May 2016 21:19:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 32400 invoked by uid 99); 17 May 2016 21:19:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2016 21:19:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 171A52C1F6E for ; Tue, 17 May 2016 21:19:13 +0000 (UTC) Date: Tue, 17 May 2016 21:19:13 +0000 (UTC) From: "Yongjun Zhang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9732) Improve DelegationTokenIdentifier.toString() for better logging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 17 May 2016 21:19:15 -0000 [ https://issues.apache.org/jira/browse/HDFS-9732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15287588#comment-15287588 ] Yongjun Zhang commented on HDFS-9732: ------------------------------------- Thanks [~steve_l], [~cnauroth] and [~aw] again! I just committed to trunk. I attempted to cherry-pick to branch-2 etc, and found that there are quite a few conflicts. Then, I found that one dependent jira is incompatible itself and thus not made its path to branch-2, See: https://issues.apache.org/jira/browse/HDFS-9085?focusedCommentId=14791503&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14791503 Even if I get this to branch-2, I found there is still some other missing jiras in branch-2 that makes it unclean. The test I used in TestDelegationTokenFetcher doesn't exist in branch-2. At this point, I decide to get it to trunk only, since we are working on 3.0 anyways. > Improve DelegationTokenIdentifier.toString() for better logging > --------------------------------------------------------------- > > Key: HDFS-9732 > URL: https://issues.apache.org/jira/browse/HDFS-9732 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 2.7.2 > Reporter: Steve Loughran > Assignee: Yongjun Zhang > Labels: supportability > Attachments: HADOOP-12752-001.patch, HDFS-9732-000.patch, HDFS-9732.001.patch, HDFS-9732.002.patch, HDFS-9732.003.patch, HDFS-9732.004.patch > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > HDFS {{DelegationTokenIdentifier.toString()}} adds some diagnostics info, owner, sequence number. But its superclass, {{AbstractDelegationTokenIdentifier}} contains a lot more information, including token issue and expiry times. > Because {{DelegationTokenIdentifier.toString()}} doesn't include this data, > information that is potentially useful for kerberos diagnostics is lost. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org