Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/23055#discussion_r237715021
  
    --- Diff: python/pyspark/worker.py ---
    @@ -22,7 +22,12 @@
     import os
     import sys
     import time
    -import resource
    +# 'resource' is a Unix specific module.
    +has_resource_module = True
    +try:
    +    import resource
    +except ImportError:
    +    has_resource_module = False
    --- End diff --
    
    > For instance, forking in Python is disallowed in Python on Windows
    
    That is *completely* different. Because that affects how the Java side 
talks to the Python side.
    
    The feature in this PR has no bearing on what happens on the JVM side at 
all.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to