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

hadoop-config.cmd displays a wrong error message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.8.0, 3.0.0-alpha1
    • scripts
    • 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.

      Attachments

        1. HADOOP-12014.001.patch
          0.6 kB
          Kengo Seki

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: