hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9888) TestBalancer#testBalancerWithKeytabs should reset KerberosName in test case setup
Date Wed, 02 Mar 2016 18:58:18 GMT
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)

Mime
View raw message