Spark: Trying to run spark-shell, but get 'cmd' is not recognized as an internal or

前端 未结 10 1802
盖世英雄少女心
盖世英雄少女心 2021-01-11 22:55

I\'m trying to install Spark on my Windows desktop. Everything should work fine, but I get an error \"\'cmd\' is not recognized as an internal or external command... \"

10条回答
  •  北荒
    北荒 (楼主)
    2021-01-11 23:11

    I was the getting the same error while executing Spark-shell in the command prompt.

    I tried everything mentioned above but not able to resolve the issue.

    So, at last I added "C:\Windows\System32" in 'PATH' variable of System Variable and it worked.

提交回复
热议问题