hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9888) Allow reseting KerberosName in unit tests
Date Thu, 11 Aug 2016 23:49:20 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418142#comment-15418142
] 

Zhe Zhang commented on HDFS-9888:
---------------------------------

I just backported this patch to branch-2, branch-2.8 and branch-2.7.

> Allow reseting KerberosName in unit tests
> -----------------------------------------
>
>                 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
>             Fix For: 2.8.0, 2.7.3, 2.9.0, 3.0.0-alpha1
>
>         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)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message