Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 CE30318B54 for ; Mon, 1 Feb 2016 18:46:40 +0000 (UTC) Received: (qmail 79063 invoked by uid 500); 1 Feb 2016 18:46:40 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 78967 invoked by uid 500); 1 Feb 2016 18:46:40 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 78887 invoked by uid 99); 1 Feb 2016 18:46:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 18:46:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E2DE92C1F60 for ; Mon, 1 Feb 2016 18:46:39 +0000 (UTC) Date: Mon, 1 Feb 2016 18:46:39 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Commented]_(HDFS-9732)_Remove_DelegationTo?= =?utf-8?Q?kenIdentifier.toString()_=E2=80=94for_better_logging_output?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-9732?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15126= 776#comment-15126776 ]=20 Chris Nauroth commented on HDFS-9732: ------------------------------------- The {{hdfs fetchdt}} command depends on the current output format of {{Dele= gationTokenIdentifier#toString}}. Unfortunately, that means the simple way= to make this change also would be backwards-incompatible. We'll either need to target the change to 3.x, or look at breaking the depe= ndency of {{hdfs fetchdt}} so that it maintains its current output, but {{t= oString}} can still add more detail for things like logging. HDFS-9085 is a patch that changed this code recently. The decision on that= one was to go to trunk only. > Remove DelegationTokenIdentifier.toString() =E2=80=94for better logging o= utput > ---------------------------------------------------------------------- > > 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 > Attachments: HADOOP-12752-001.patch > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > HDFS {{DelegationTokenIdentifier.toString()}} adds some diagnostics info,= owner, sequence number. But its superclass, {{AbstractDelegationTokenIden= tifier}} contains a lot more information, including token issue and expiry = times. > Because {{DelegationTokenIdentifier.toString()}} doesn't include this da= ta, > information that is potentially useful for kerberos diagnostics is lost. -- This message was sent by Atlassian JIRA (v6.3.4#6332)