Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2A0F18471 for ; Wed, 2 Mar 2016 18:58:19 +0000 (UTC) Received: (qmail 82661 invoked by uid 500); 2 Mar 2016 18:58:18 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 82185 invoked by uid 500); 2 Mar 2016 18:58:18 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 82108 invoked by uid 99); 2 Mar 2016 18: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 18:58:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 281792C1F68 for ; Wed, 2 Mar 2016 18:58:18 +0000 (UTC) Date: Wed, 2 Mar 2016 18:58:18 +0000 (UTC) From: "Xiao Chen (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Xiao Chen created HDFS-9888: ------------------------------- Summary: 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 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)