Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6851

custom cluster test TestGrantRevoke::test_role_update doesn't clean up restarted impala daemons correctly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Impala 2.12.0
    • Impala 3.0
    • Infrastructure
    • None
    • ghx-label-9

    Description

      In TestGrantRevoke::test_role_update, one of the impala daemons is restarted. When the test finishes, it doesn't kill or wait for the restarted process. There are several problems of not doing so:

      • When another custom cluster test attempts to kill the impala daemon, the impala daemon will become a zombie process. The PID won't go away until the py tests process exits. start-impala-cluster.py doesn't handle this case correctly and will time out. Fortunately, test_role_update is always the last test in custom cluster tests, so it doesn't break builds for now.
      • It leaks PID and process information in the kernel as long as the py test process is running.

      Attachments

        Issue Links

        Activity

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

          People

            tianyiwang Tianyi Wang
            tianyiwang Tianyi Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment