PySpark in iPython notebook raises Py4JJavaError when using count() and first()

后端 未结 3 1858
死守一世寂寞
死守一世寂寞 2020-12-01 16:24

I am using PySpark(v.2.1.0) in iPython notebook (python v.3.6) over virtualenv in my Mac(Sierra 10.12.3 Beta).

1.I launched iPython notebook by shooting this in Ter

3条回答
  •  粉色の甜心
    2020-12-01 16:55

    If you are using Anaconda, try to install java-jdk for Anaconda:

    conda install -c cyclus java-jdk
    

提交回复
热议问题