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

(cherry picked from commit 07007bdbc8900cfe8421f4829b1444fc9e7aceb7)
This commit is contained in:
Akira Ajisaka 2015-05-22 14:13:51 +09:00
parent a073e5bd31
commit 6cd7672878
2 changed files with 4 additions and 1 deletions

View File

@ -272,6 +272,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
) )