Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7135

TestTaskAttemptContainerRequest should reset UserGroupInformation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0
    • test
    • None
    • Reviewed

    Description

      TestTaskAttemptContainerRequest should reset UserGroupInformation after end since this test cache UserGroupInformation and can be cause of other test fail. For example, all test in TestRMContainerAllocator will be failed if we run these tests after TestTaskAttemptContainerRequest (or we can change "UserGroupInformation.setLoginUser(null)" with UserGroupInformation.reset() in this class).

      Also, I think the WARNING message in TestTaskAttemptContainerRequest can be removed since we can reset UserGroupInformation after each test.

      Attachments

        1. image-2018-09-10-13-23-46-533.png
          146 kB
          Oleksandr Shevchenko
        2. MAPREDUCE-7135.001.patch
          1 kB
          Oleksandr Shevchenko
        3. MAPREDUCE-7135.002.patch
          2 kB
          Oleksandr Shevchenko

        Activity

          People

            oshevchenko Oleksandr Shevchenko
            oshevchenko Oleksandr Shevchenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: