We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89cf739 commit bb36f50Copy full SHA for bb36f50
python/pyspark/java_gateway.py
@@ -49,6 +49,8 @@ def launch_gateway(conf=None):
49
redirect_shells = ["ZMQInteractiveShell", "StringIO"]
50
grab_jvm_output = (sys.stdout != sys.__stdout__ and
51
sys.stdout.__class__.__name__ in redirect_shells)
52
+ if grab_jvm_output:
53
+ print("Grabbing JVM output cause magic.....")
54
55
if "PYSPARK_GATEWAY_PORT" in os.environ:
56
gateway_port = int(os.environ["PYSPARK_GATEWAY_PORT"])
0 commit comments