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

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.4.0, 3.0.0-alpha1
    • 2.5.0
    • security, test
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: