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 09DEC18851 for ; Wed, 2 Mar 2016 19:58:21 +0000 (UTC) Received: (qmail 42090 invoked by uid 500); 2 Mar 2016 19:58:18 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 41758 invoked by uid 500); 2 Mar 2016 19:58:18 -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 41404 invoked by uid 99); 2 Mar 2016 19:58:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2016 19:58:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 238D02C1F60 for ; Wed, 2 Mar 2016 19:58:18 +0000 (UTC) Date: Wed, 2 Mar 2016 19:58:18 +0000 (UTC) From: "Xiao Chen (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9888) TestBalancer#testBalancerWithKeytabs should reset KerberosName in test case setup 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/HDFS-9888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15176362#comment-15176362 ] Xiao Chen commented on HDFS-9888: --------------------------------- Thanks! > TestBalancer#testBalancerWithKeytabs should reset KerberosName in test case setup > --------------------------------------------------------------------------------- > > Key: HDFS-9888 > URL: https://issues.apache.org/jira/browse/HDFS-9888 > Project: Hadoop HDFS > Issue Type: Test > Reporter: Xiao Chen > Assignee: Xiao Chen > Priority: Minor > Attachments: HDFS-9888.01.patch > > > In some local environments, {{TestBalancer#testBalancerWithKeytabs}} may fail. Specifically, running itself passes, but running {{TestBalancer}} suite always fail. This is due to: > # Kerberos setup is done at the test case setup > # static variable {{KerberosName#defaultRealm}} is set when class initialization - before {{testBalancerWithKeytabs}} setup > # local default realm is different than test case default realm > This is mostly an environment specific problem, but let's not make such assumption in the test. -- This message was sent by Atlassian JIRA (v6.3.4#6332)