I've installed Hadoop 2.8.0 in Windows 7, following the instllation instructions in github, I set JAVA_HOME and HADOOP_HOME Environment variables correctly, and configured the core-site.xml, mapred-site.xml, hdfs-site.xml, yarn-site.xml, hadoop-env.cmd files as required in the document, my path is
But after all this is done, I am getting the following error in console fter running hdfs namenode –format command
The system cannot find the path specified. Error: JAVA_HOME is incorrectly set. Please update C:\Hadoop-2.8.0\hadoop-2.8.0\etc\hadoop\hadoop-env.cmd '-Dhadoop.security.logger' is not recognized as an internal or external command,
operable program or batch file.