-Dhadoop.security.logger’ is not recognized as an internal or external command… here is a solution to the problem.
-Dhadoop.security.logger’ is not recognized as an internal or external command
But after doing all this, after running the hdfs namenode –format command, I get the following error in the console
The system cannot find the path specified.
Error: JAVA_HOME is set incorrectly.
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
A runnable program or batch file.
Solution
Can the JAVA_HOME in hadoop-env.cmd be set to
set JAVA_HOME="C:\Program Files\Java\jdk1.8.0_77"
Java paths vary for 32-bit and 64-bit systems. Choose the correct javapath and add quotes.