Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10500

TestDoAsEffectiveUser fails on JDK7 due to failure to reset proxy user configuration.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 3.0.0-alpha1
    • Fix Version/s: 2.5.0
    • Component/s: security, test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. HADOOP-10500.1.patch
          1 kB
          Chris Nauroth
        2. HADOOP-10500.2.patch
          1 kB
          Chris Nauroth

          Issue Links

            Activity

              People

              • Assignee:
                cnauroth Chris Nauroth
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: