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 C92A317AA4 for ; Mon, 29 Sep 2014 17:55:35 +0000 (UTC) Received: (qmail 7943 invoked by uid 500); 29 Sep 2014 17:55:35 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 7903 invoked by uid 500); 29 Sep 2014 17:55:35 -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 7879 invoked by uid 99); 29 Sep 2014 17:55:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 17:55:35 +0000 Date: Mon, 29 Sep 2014 17:55:35 +0000 (UTC) From: "Andrew Wang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11113) Namenode not able to reconnect to KMS after KMS restart 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-11113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14151957#comment-14151957 ] Andrew Wang commented on HADOOP-11113: -------------------------------------- Thanks for working on this Arun, just a few review comments: * Re: status codes, 401 requires that the WWW-Authenticate header is set. I think we're stuck without an appropriate error code here, so we went with 403. [~tucu00] might remember this better than me though. * Commented out kdcConf lines in TestKMS could be removed * Rather than modify all the runServer lines, you could do some method delegation (have one version without a port param, have it call the one with a port param). > Namenode not able to reconnect to KMS after KMS restart > ------------------------------------------------------- > > Key: HADOOP-11113 > URL: https://issues.apache.org/jira/browse/HADOOP-11113 > Project: Hadoop Common > Issue Type: Bug > Components: security > Reporter: Arun Suresh > Assignee: Arun Suresh > Attachments: HADOOP-11113.1.patch > > > It is observed that if KMS is restarted without the Namenode being restarted, NN will not be able to reconnect with KMS. > It seems that the KMS auth cookie goes stale and it does not get flushed, so the KMSClient in the NN cannot reconnect with the new KMS. -- This message was sent by Atlassian JIRA (v6.3.4#6332)