Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3582

Hook daemon process exit for testing

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Occasionally the tests fail with "java.util.concurrent.ExecutionException: org.apache.maven.surefire.booter.SurefireBooterForkException:
      Error occurred in starting fork, check output in log" because the NN is exit'ing (via System#exit or Runtime#exit). Unfortunately Surefire doesn't retain the log output (see SUREFIRE-871) so the test log is empty, we don't know which part of the test triggered which exit in HDFS. To make this easier to debug let's hook all daemon process exits when running the tests.

        Attachments

        1. hdfs-3582.txt
          7 kB
          Eli Collins
        2. hdfs-3582.txt
          13 kB
          Eli Collins
        3. hdfs-3582.txt
          13 kB
          Eli Collins
        4. hdfs-3582.txt
          13 kB
          Eli Collins
        5. hdfs-3582.txt
          56 kB
          Eli Collins
        6. hdfs-3582.txt
          57 kB
          Eli Collins
        7. hdfs-3582.txt
          53 kB
          Eli Collins
        8. hdfs-3582.txt
          53 kB
          Eli Collins
        9. hdfs-3582.txt
          57 kB
          Eli Collins
        10. hdfs-3582.txt
          60 kB
          Eli Collins
        11. hdfs-3582.txt
          60 kB
          Eli Collins

        Issue Links

          Activity

            People

            • Assignee:
              eli Eli Collins
              Reporter:
              eli Eli Collins

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment