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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment