无法建立火花。还配置了环境变量

时间:2019-04-19 14:39:50

标签: scala apache-spark-sql environment-variables java-home

我收到以下错误

"C:\Users\Lenovo>spark-shell
'cmd' is not recognized as an internal or external command,
operable program or batch file."

我已经为spark设置了环境变量,但仍然出现错误

我已设置的路径:

C:\Users\Lenovo>path
PATH=C:\Progra~1\Java\jdk1.8.0_201\bin;C:\hadoop\bin;C:\spark\bin;C:\Users\Lenovo\AppData\Local\Microsoft\WindowsApps;C:\Users\Lenovo\AppData\Roaming\npm;C:\Program Files\nodejs;

0 个答案:

没有答案