yarn --version
The system cannot find the path specified.
Error: JAVA_HOME is incorrectly set.
Please update C:\Users\shriy\Downloads\hadoop-3.1.0\etc\hadoop\hadoop-env.cmd
'-Dhadoop.log.dir' is not recognized as an internal or external command,
operable program or batch file.