📜  异常:Java 网关进程在发送其端口号之前退出 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:35.878000             🧑  作者: Mango

代码示例1
this should help you

One solution is adding pyspark-shell to the shell environment variable PYSPARK_SUBMIT_ARGS:

export PYSPARK_SUBMIT_ARGS="--master local[2] pyspark-shell"
There is a change in python/pyspark/java_gateway.py , which requires PYSPARK_SUBMIT_ARGS includes pyspark-shell if a PYSPARK_SUBMIT_ARGS variable is set by a user.