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 048B59D71 for ; Fri, 23 Sep 2011 21:17:48 +0000 (UTC) Received: (qmail 58477 invoked by uid 500); 23 Sep 2011 21:17:47 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 58449 invoked by uid 500); 23 Sep 2011 21:17:47 -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 58441 invoked by uid 99); 23 Sep 2011 21:17:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 21:17:47 +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; Fri, 23 Sep 2011 21:17:46 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 56623AE42D for ; Fri, 23 Sep 2011 21:17:26 +0000 (UTC) Date: Fri, 23 Sep 2011 21:17:26 +0000 (UTC) From: "Kihwal Lee (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <2040458203.8128.1316812646350.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <483574068.6147.1312408047400.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7510) Tokens should use original hostname provided instead of ip MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113773#comment-13113773 ] Kihwal Lee commented on HADOOP-7510: ------------------------------------ I finished reviewing the code and thought it was good, but after seeing Jitendra's comment I decided to wait for Daryn's response. Having read his justification, I think it is quite reasonable. So I feel good about this patch again. :) I've been following the discussion around delegation token. It seems there are some areas that can be improved and there are many ways of doing them. I think this patch is a reasonable compromise. > Tokens should use original hostname provided instead of ip > ---------------------------------------------------------- > > Key: HADOOP-7510 > URL: https://issues.apache.org/jira/browse/HADOOP-7510 > Project: Hadoop Common > Issue Type: Improvement > Components: security > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Fix For: 0.20.205.0 > > Attachments: HADOOP-7510-10.patch, HADOOP-7510-2.patch, HADOOP-7510-3.patch, HADOOP-7510-4.patch, HADOOP-7510-5.patch, HADOOP-7510-6.patch, HADOOP-7510-8.patch, HADOOP-7510-9.patch, HADOOP-7510.patch > > > Tokens currently store the ip:port of the remote server. This precludes tokens from being used after a host's ip is changed. Tokens should store the hostname used to make the RPC connection. This will enable new processes to use their existing tokens. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira