HADOOP-12014. hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki.

This commit is contained in:
Akira Ajisaka 2015-05-22 14:13:51 +09:00
parent cf2b5694d6
commit c7fea088f7
2 changed files with 4 additions and 1 deletions

View File

@ -737,6 +737,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-12000. cannot use --java-home in test-patch (aw) HADOOP-12000. cannot use --java-home in test-patch (aw)
HADOOP-12014. hadoop-config.cmd displays a wrong error message.
(Kengo Seki via aajisaka)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -115,7 +115,7 @@ if not defined JAVA_HOME (
if not exist %JAVA_HOME%\bin\java.exe ( if not exist %JAVA_HOME%\bin\java.exe (
echo Error: JAVA_HOME is incorrectly set. echo Error: JAVA_HOME is incorrectly set.
echo Please update %HADOOP_HOME%\conf\hadoop-env.cmd echo Please update %HADOOP_CONF_DIR%\hadoop-env.cmd
goto :eof goto :eof
) )