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

Confusing output when running hadoop version from one hadoop installation when HADOOP_HOME points to another

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.2, 2.0.1-alpha
    • 1.2.0, 2.1.0-beta
    • tools
    • None
    • Reviewed

    Description

      Hadoop version X is downloaded to ~/hadoop-x, and Hadoop version Y is downloaded to ~/hadoop-y. HADOOP_HOME is set to hadoop-x. A user running hadoop-y/bin/hadoop might expect to be running the hadoop-y jars, but, because of HADOOP_HOME, will actually be running hadoop-x jars.

      "hadoop version" could help clear this up a little by reporting the current HADOOP_HOME.

      Attachments

        1. MAPREDUCE-4659.patch
          2 kB
          Sandy Ryza
        2. MAPREDUCE-4659-2.patch
          3 kB
          Sandy Ryza
        3. MAPREDUCE-4659-3.patch
          8 kB
          Sandy Ryza
        4. MAPREDUCE-4659-4.patch
          10 kB
          Sandy Ryza
        5. MAPREDUCE-4659-5.patch
          10 kB
          Sandy Ryza
        6. MAPREDUCE-4659-branch-1.patch
          7 kB
          Sandy Ryza
        7. MAPREDUCE-4659-6.patch
          10 kB
          Sandy Ryza
        8. MAPREDUCE-4659-6.patch
          10 kB
          Sandy Ryza
        9. MAPREDUCE-4659-7.patch
          10 kB
          Sandy Ryza

        Activity

          People

            sandyr Sandy Ryza
            sandyr Sandy Ryza
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: