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

Hook daemon process exit for testing

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-alpha
    • None
    • test
    • None

    Description

      HDFS-3582 introduced a mechanism for testing daemon exit, this allows us to (1) verify that the daemons don't exit unexpectedly and (2) test the particular cause of exit when we do expect it. I've never seen the same MR jenkins failures that prompted HDFS-3582 but it would be worth updating the various raw calls to System#exit or Runtime#exit in MR to use ExitUtil#terminate for consistency (and eg aid hooking exit for other reasons like HADOOP-8096).

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            eli Eli Collins

            Dates

              Created:
              Updated:

              Slack

                Issue deployment