Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12014

hadoop-config.cmd displays a wrong error message

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: scripts
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      If an incorrect value is set for %JAVA_HOME%, hadoop-config.cmd displays an error message as follows.

         echo Error: JAVA_HOME is incorrectly set.
         echo        Please update %HADOOP_HOME%\conf\hadoop-env.cmd
      

      But the default configuration directory has moved to etc/hadoop, so it should be %HADOOP_CONF_DIR%\hadoop-env.cmd.

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2151 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2151/)
        HADOOP-12014. hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba)

        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        • hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2151 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2151/ ) HADOOP-12014 . hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba) hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #203 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/203/)
        HADOOP-12014. hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba)

        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        • hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #203 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/203/ ) HADOOP-12014 . hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba) hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #193 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/193/)
        HADOOP-12014. hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba)

        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        • hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #193 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/193/ ) HADOOP-12014 . hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba) hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2133 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2133/)
        HADOOP-12014. hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba)

        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2133 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2133/ ) HADOOP-12014 . hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #204 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/204/)
        HADOOP-12014. hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba)

        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #204 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/204/ ) HADOOP-12014 . hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk #935 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/935/)
        HADOOP-12014. hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba)

        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #935 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/935/ ) HADOOP-12014 . hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Filed HADOOP-12018 to fix the build failure.

        Show
        ajisakaa Akira Ajisaka added a comment - Filed HADOOP-12018 to fix the build failure.
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #7889 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7889/)
        HADOOP-12014. hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba)

        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7889 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7889/ ) HADOOP-12014 . hadoop-config.cmd displays a wrong error message. Contributed by Kengo Seki. (aajisaka: rev c7fea088f7b6c44e4e04bde19dc839975d8ac8ba) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Committed this to trunk and branch-2. Thanks Kengo Seki for contribution.

        Show
        ajisakaa Akira Ajisaka added a comment - Committed this to trunk and branch-2. Thanks Kengo Seki for contribution.
        Show
        ajisakaa Akira Ajisaka added a comment - I remembered why the jenkins build fails : https://issues.apache.org/jira/browse/HADOOP-7984?focusedCommentId=14146354&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14146354 I'll commit this shortly. Thanks Kengo.
        Hide
        ajisakaa Akira Ajisaka added a comment -
        Show
        ajisakaa Akira Ajisaka added a comment - Started jenkins build : https://builds.apache.org/job/PreCommit-HADOOP-Build/6800/
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        -1 patch 0m 0s The patch command could not apply the patch during dryrun.



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12734576/HADOOP-12014.001.patch
        Optional Tests  
        git revision trunk / cf2b569
        Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/6800/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment -1 patch 0m 0s The patch command could not apply the patch during dryrun. Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12734576/HADOOP-12014.001.patch Optional Tests   git revision trunk / cf2b569 Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/6800/console This message was automatically generated.
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Looks good to me, +1.

        Show
        ajisakaa Akira Ajisaka added a comment - Looks good to me, +1.
        Hide
        sekikn Kengo Seki added a comment -

        I retried dev-support/test-patch.sh HADOOP-12014 and now it was successfully applied.

        Show
        sekikn Kengo Seki added a comment - I retried dev-support/test-patch.sh HADOOP-12014 and now it was successfully applied.
        Hide
        sekikn Kengo Seki added a comment -

        The error above was also occurred on my environment, but git apply -p0 HADOOP-12014.001.patch passed successfully.

        Show
        sekikn Kengo Seki added a comment - The error above was also occurred on my environment, but git apply -p0 HADOOP-12014 .001.patch passed successfully.
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        -1 patch 0m 0s The patch command could not apply the patch during dryrun.



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12734576/HADOOP-12014.001.patch
        Optional Tests  
        git revision trunk / 2b6bcfd
        Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/6796/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment -1 patch 0m 0s The patch command could not apply the patch during dryrun. Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12734576/HADOOP-12014.001.patch Optional Tests   git revision trunk / 2b6bcfd Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/6796/console This message was automatically generated.

          People

          • Assignee:
            sekikn Kengo Seki
            Reporter:
            sekikn Kengo Seki
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development