我跟踪了官方文件 在本地视窗11的机器上 设置了阿帕奇公园
这一设置包括:
- Proper installation of Apache Spark, setting up the env variables etc.
- Creation of a virtual env specifically for Python 3.9 to ensure compatibility with
PySpark
.
Despite these steps, I m encountering a ShowString
error in VS Code:
While I can initiate a Spark session successfully and it starts without errors, I run into problems when trying to use df.show()
to display DataFrame
contents. The method fails and returns a ShowString
error.
不知道目前版本的 java17 space3.5 是否支持 Win11 的表演 。
但任何建议都受到高度赞赏:)
[enter image description here](https://i.sstatic.net/2fBDWU3M.png)
[enter image description here](https://i.sstatic.net/3mjFNGlD.png)
[enter image description here](https://i.sstatic.net/gTm3ecIz.png)
我尝试过多个调试步骤- 验证当前信封变量是否被指向, 并确保火花会话启动 。