[
https://issues.apache.org/jira/browse/HDFS-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan A. Veselovsky updated HDFS-4311:
-------------------------------------
Attachment: HDFS-4311--N1.patch
Test rewritten to use MiniKdc.
> repair test org.apache.hadoop.fs.http.server.TestHttpFSWithKerberos
> -------------------------------------------------------------------
>
> Key: HDFS-4311
> URL: https://issues.apache.org/jira/browse/HDFS-4311
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0, 2.0.3-alpha
> Reporter: Ivan A. Veselovsky
> Assignee: Ivan A. Veselovsky
> Attachments: HDFS-4311--N1.patch, HDFS-4311.patch
>
>
> Some of the test cases in this test class are failing because they are
> affected by static state changed by the previous test cases. Namely this is
> the static field org.apache.hadoop.security.UserGroupInformation.loginUser .
> The suggested patch solves this problem.
> Besides, the following improvements are done:
> 1) parametrized the user principal and keytab values via system properties;
> 2) shutdown of the Jetty server and the minicluster between the test cases is
> added to make the test methods independent on each other.
--
This message was sent by Atlassian JIRA
(v6.1#6144)