0
votes

cmd screenshotI have done everything as instructed but still not able to launch spark-shell

dir is working

I have placed all downloaded files as instructed but spark-shell is not working.

C:\Users\admin>cd c:\spark

c:\spark>dir Volume in drive C has no label. Volume Serial Number is BCEB-22EE

Directory of c:\spark

11/05/2019 05:19 PM . 11/05/2019 05:19 PM .. 11/05/2019 04:59 PM 230,091,034 spark-2.4.4-bin-hadoop2.7.tgz 1 File(s) 230,091,034 bytes 2 Dir(s) 180,582,641,664 bytes free

c:\spark>spark-shell 'spark-shell' is not recognized as an internal or external command, operable program or batch file.

C:\Users\admin>cd c:\spark

c:\spark>dir Volume in drive C has no label. Volume Serial Number is BCEB-22EE

Directory of c:\spark

11/05/2019 05:19 PM . 11/05/2019 05:19 PM .. 11/05/2019 04:59 PM 230,091,034 spark-2.4.4-bin-hadoop2.7.tgz 1 File(s) 230,091,034 bytes 2 Dir(s) 180,582,641,664 bytes free

c:\spark>spark-shell 'spark-shell' is not recognized as an internal or external command, operable program or batch file.cmd image

1

1 Answers

0
votes
  1. Extract the contents of spark-2.4.4-bin-hadoop2.7.tgz. (maybe with winzip?)
  2. This will result in a directory probably something like spark-2.4.4-bin-hadoop2.7. Inside that directory there will be one called bin cd into that as well
  3. In bin you will find the spark-shell scripts