Github user WeichenXu123 commented on the pull request:
https://github.com/apache/spark/pull/12978#issuecomment-218040874
@srowen
because spark-daemon.sh using exec command to start the java daemon process.
when run script, the spark-daemon.sh process will exists for a little
time(stage1) and then changed to a java process(stage2), then if java process
throw exception, it will die.
if stage1 spending more then 2s, then the judgement if [[ ! $(ps -p
"$newpid" -o comm=) =~ "java" ]]; is fail, it will regard the process as failed
but in fact it has not come into stag2. In my virtual machine, this thing offen
happen.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]