Open shivansh-infogain opened 5 years ago
This is likely due to you not having set your PATH environment variable correctly. If you type echo %PATH%
into cmd and paste the output here it will be easier to debug the issue.
C:\Program Files (x86)\Python38-32\Scripts\;C:\Program Files (x86)\Python38-32\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk1.8.0_261\bin;C:\Program Files\MongoDB\Server\4.4\bin;C:\Program Files (x86)\scala\bin;%SPARK_HOME%\bin;%JAVA_HOME%\bin;%HADOOP_HOME%\sbin;C:\Users\PHANTOM\AppData\Local\Microsoft\WindowsApps;C:\spark\spark-2.4.6-bin-hadoop2.7\bin;C:\spark\Hadoop\bin;C:\Program Files\Java\jdk1.8.0_261\bin;C:\hadoop\hadoop\sbin;
This is likely due to you not having set your PATH environment variable correctly. If you type
echo %PATH%
into cmd and paste the output here it will be easier to debug the issue.
Instead of going to sbin directory go to bin directory and run your cmd. It worked for me.
I'm getting this message when I try the command: start-all.cmd Windows cannot find 'hadoop'. Make sure you typed the name correctly, and then try again. Windows cannot find 'yarn'. Make sure you typed the name correctly, and then try again.
Can anyone help ?