hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10500) TestDoAsEffectiveUser fails on JDK7 due to failure to reset proxy user configuration.
Date Mon, 14 Apr 2014 20:44:16 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Nauroth updated HADOOP-10500:
-----------------------------------

    Attachment: HADOOP-10500.1.patch

Here is a trivial patch to add the refresh to the tests that were missing it.

> TestDoAsEffectiveUser fails on JDK7 due to failure to reset proxy user configuration.
> -------------------------------------------------------------------------------------
>
>                 Key: HADOOP-10500
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10500
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security, test
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Trivial
>         Attachments: HADOOP-10500.1.patch
>
>
> The proxy user configuration is held in a static variable.  Various tests in {{TestDoAsEffectiveUser}}
mutate this data.  JDK7 executes tests in a different order than JDK6, so this can cause a
failure if the state hasn't been set explicitly to what the test needs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message