git commit: [SPARK-2898] [PySpark] fix bugs in deamon.py

2014-08-10 Thread joshrosen
Repository: spark Updated Branches: refs/heads/master 1d03a26a4 - 28dcbb531 [SPARK-2898] [PySpark] fix bugs in deamon.py 1. do not use signal handler for SIGCHILD, it's easy to cause deadlock 2. handle EINTR during accept() 3. pass errno into JVM 4. handle EAGAIN during fork() Now, it can

git commit: [SPARK-2898] [PySpark] fix bugs in deamon.py

2014-08-10 Thread joshrosen
Repository: spark Updated Branches: refs/heads/branch-1.1 bb23b118e - 92daffed4 [SPARK-2898] [PySpark] fix bugs in deamon.py 1. do not use signal handler for SIGCHILD, it's easy to cause deadlock 2. handle EINTR during accept() 3. pass errno into JVM 4. handle EAGAIN during fork() Now, it