Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.0-alpha
-
None
-
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
Attachments
Issue Links
- is related to
-
HADOOP-8096 add single point where System.exit() is called for better handling in containers
- In Progress
- relates to
-
HDFS-4016 back-port HDFS-3582 to branch-0.23
- Closed
-
MAPREDUCE-4426 Hook daemon process exit for testing
- Open