Hadoop Common
  1. Hadoop Common
  2. HADOOP-9349

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.2, 2.0.1-alpha
    • Fix Version/s: 1.2.0, 2.1.0-beta
    • Component/s: tools
    • Labels:
      None
    • Hadoop Flags:
      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.

      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-6.patch
        10 kB
        Sandy Ryza
      7. MAPREDUCE-4659-6.patch
        10 kB
        Sandy Ryza
      8. MAPREDUCE-4659-7.patch
        10 kB
        Sandy Ryza
      9. MAPREDUCE-4659-branch-1.patch
        7 kB
        Sandy Ryza

        Activity

        Sandy Ryza created issue -
        Sandy Ryza made changes -
        Field Original Value New Value
        Affects Version/s 1.0.0 [ 12318240 ]
        Sandy Ryza made changes -
        Affects Version/s 0.20.2 [ 12314205 ]
        Affects Version/s 1.0.0 [ 12318240 ]
        Affects Version/s 2.0.1-alpha [ 12322466 ]
        Hide
        Harsh J added a comment -

        Good idea, I've seen this bite a few users before. Note though, that on 2.x and current 1.x, the HADOOP_HOME was deprecated for HADOOP_PREFIX and per-component homes. So maybe we could also look at HADOOP_COMMON_HOME, which is the lib set that has the VersionInfo?

        Show
        Harsh J added a comment - Good idea, I've seen this bite a few users before. Note though, that on 2.x and current 1.x, the HADOOP_HOME was deprecated for HADOOP_PREFIX and per-component homes. So maybe we could also look at HADOOP_COMMON_HOME, which is the lib set that has the VersionInfo?
        Hide
        Todd Lipcon added a comment -

        Or perhaps just print the path to the hadoop common jar itself? That way this works even for projects like HBase that depend on Hadoop and print the hadoop version info in their webpage. It's also more independent of packaging, etc.

        Show
        Todd Lipcon added a comment - Or perhaps just print the path to the hadoop common jar itself? That way this works even for projects like HBase that depend on Hadoop and print the hadoop version info in their webpage. It's also more independent of packaging, etc.
        Hide
        Sandy Ryza added a comment -

        What would be the best way to find the path to the hadoop common jar? The script currently adds all the jars in certain folders.

        1. tarball layout
          if [ -d "$HADOOP_HOME/webapps" ]; then
          CLASSPATH=$ {CLASSPATH}:$HADOOP_HOME
          fi
          for f in $HADOOP_HOME/hadoop-core-*.jar; do
          CLASSPATH=${CLASSPATH}

          :$f;
          done

        1. add libs to CLASSPATH
          for f in $HADOOP_HOME/lib/*.jar; do
          CLASSPATH=$ {CLASSPATH}:$f;
          done

          if [ -d "$HADOOP_HOME/build/ivy/lib/Hadoop/common" ]; then
          for f in $HADOOP_HOME/build/ivy/lib/Hadoop/common/*.jar; do
          CLASSPATH=${CLASSPATH}

          :$f;
          done
          fi

        for f in $HADOOP_HOME/lib/jsp-2.1/*.jar; do
        CLASSPATH=$

        {CLASSPATH}

        :$f;
        done

        for f in $HADOOP_HOME/hadoop-tools-*.jar; do
        TOOL_PATH=$

        {TOOL_PATH}:$f;
        done
        for f in $HADOOP_HOME/build/hadoop-tools-*.jar; do
        TOOL_PATH=${TOOL_PATH}

        :$f;
        done

        Show
        Sandy Ryza added a comment - What would be the best way to find the path to the hadoop common jar? The script currently adds all the jars in certain folders. tarball layout if [ -d "$HADOOP_HOME/webapps" ]; then CLASSPATH=$ {CLASSPATH}:$HADOOP_HOME fi for f in $HADOOP_HOME/hadoop-core-*.jar; do CLASSPATH=${CLASSPATH} :$f; done add libs to CLASSPATH for f in $HADOOP_HOME/lib/*.jar; do CLASSPATH=$ {CLASSPATH}:$f; done if [ -d "$HADOOP_HOME/build/ivy/lib/Hadoop/common" ]; then for f in $HADOOP_HOME/build/ivy/lib/Hadoop/common/*.jar; do CLASSPATH=${CLASSPATH} :$f; done fi for f in $HADOOP_HOME/lib/jsp-2.1/*.jar; do CLASSPATH=$ {CLASSPATH} :$f; done for f in $HADOOP_HOME/hadoop-tools-*.jar; do TOOL_PATH=$ {TOOL_PATH}:$f; done for f in $HADOOP_HOME/build/hadoop-tools-*.jar; do TOOL_PATH=${TOOL_PATH} :$f; done
        Hide
        Todd Lipcon added a comment -

        Check out JobConf.findContainingJar. You could run code like that from within the Java code in VersionInfo.java

        Show
        Todd Lipcon added a comment - Check out JobConf.findContainingJar. You could run code like that from within the Java code in VersionInfo.java
        Hide
        Sandy Ryza added a comment -

        Cool, that works. Should I move that method to somewhere common or just copy it?

        Show
        Sandy Ryza added a comment - Cool, that works. Should I move that method to somewhere common or just copy it?
        Hide
        Todd Lipcon added a comment -

        Either way works for me. If you move it you'll need to leave the old version too, pointing to your new location, for compatibility.

        Show
        Todd Lipcon added a comment - Either way works for me. If you move it you'll need to leave the old version too, pointing to your new location, for compatibility.
        Sandy Ryza made changes -
        Attachment MAPREDUCE-4659.patch [ 12545485 ]
        Sandy Ryza made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12545485/MAPREDUCE-4659.patch
        against trunk revision .

        -1 patch. The patch command could not apply the patch.

        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2858//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12545485/MAPREDUCE-4659.patch against trunk revision . -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2858//console This message is automatically generated.
        Hide
        Sandy Ryza added a comment -

        Fix for Hadoop 2

        Show
        Sandy Ryza added a comment - Fix for Hadoop 2
        Sandy Ryza made changes -
        Attachment MAPREDUCE-4659-2.patch [ 12545489 ]
        Sandy Ryza made changes -
        Affects Version/s 2.0.1-alpha [ 12322466 ]
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12545489/MAPREDUCE-4659-2.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common.

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2860//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2860//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12545489/MAPREDUCE-4659-2.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The javadoc tool did not generate any warning messages. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2860//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2860//console This message is automatically generated.
        Hide
        Alejandro Abdelnur added a comment -

        Instead duplicating the code for findContainingJar() we should create a util class (annotated as private) and used from JobConf.java & VersionInfo.java.

        Show
        Alejandro Abdelnur added a comment - Instead duplicating the code for findContainingJar() we should create a util class (annotated as private) and used from JobConf.java & VersionInfo.java.
        Alejandro Abdelnur made changes -
        Assignee Sandy Ryza [ sandyr ]
        Sandy Ryza made changes -
        Attachment MAPREDUCE-4659-3.patch [ 12548313 ]
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12548313/MAPREDUCE-4659-3.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 1 new or modified test files.

        -1 javac. The patch appears to cause the build to fail.

        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2917//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12548313/MAPREDUCE-4659-3.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 1 new or modified test files. -1 javac . The patch appears to cause the build to fail. Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2917//console This message is automatically generated.
        Hide
        Sandy Ryza added a comment -

        Sorry, I was too hasty with the third patch. I've verified that MAPREDUCE-4659-4.patch builds.

        Show
        Sandy Ryza added a comment - Sorry, I was too hasty with the third patch. I've verified that MAPREDUCE-4659 -4.patch builds.
        Sandy Ryza made changes -
        Attachment MAPREDUCE-4659-4.patch [ 12548331 ]
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12548331/MAPREDUCE-4659-4.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 2 new or modified test files.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient.

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2919//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2919//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12548331/MAPREDUCE-4659-4.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 2 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . The javadoc tool did not generate any warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient. +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2919//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2919//console This message is automatically generated.
        Hide
        Alejandro Abdelnur added a comment -

        Looks good, only NIT is that in hadoop-common the standard practice is to do use the private annotation as @InterfaceAudience.Private, would you please update the patch accordingly?

        Show
        Alejandro Abdelnur added a comment - Looks good, only NIT is that in hadoop-common the standard practice is to do use the private annotation as @InterfaceAudience.Private, would you please update the patch accordingly?
        Sandy Ryza made changes -
        Attachment MAPREDUCE-4659-5.patch [ 12548443 ]
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12548443/MAPREDUCE-4659-5.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 2 new or modified test files.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient.

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2921//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2921//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12548443/MAPREDUCE-4659-5.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 2 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . The javadoc tool did not generate any warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient. +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2921//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2921//console This message is automatically generated.
        Sandy Ryza made changes -
        Attachment MAPREDUCE-4659-branch-1.patch [ 12571121 ]
        Sandy Ryza made changes -
        Attachment MAPREDUCE-4659-6.patch [ 12571123 ]
        Hide
        Sandy Ryza added a comment -

        Attached branch-1 patch and refresh for trunk

        Show
        Sandy Ryza added a comment - Attached branch-1 patch and refresh for trunk
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12571123/MAPREDUCE-4659-6.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 2 new or modified test files.

        -1 one of tests included doesn't have a timeout.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient.

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3368//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3368//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12571123/MAPREDUCE-4659-6.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 2 new or modified test files. -1 one of tests included doesn't have a timeout. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . The javadoc tool did not generate any warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient. +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3368//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3368//console This message is automatically generated.
        Sandy Ryza made changes -
        Attachment MAPREDUCE-4659-6.patch [ 12571232 ]
        Hide
        Sandy Ryza added a comment -

        Updated patch with test timeout

        Show
        Sandy Ryza added a comment - Updated patch with test timeout
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12571232/MAPREDUCE-4659-6.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 2 new or modified test files.

        +1 tests included appear to have a timeout.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient.

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3371//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3371//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12571232/MAPREDUCE-4659-6.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 2 new or modified test files. +1 tests included appear to have a timeout. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . The javadoc tool did not generate any warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient. +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3371//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3371//console This message is automatically generated.
        Hide
        Alejandro Abdelnur added a comment -

        branch-1 patch looks good
        trunk/branch-2 has a NIT, it the find JobConf.findContainingJar() method is public, thus we cannot remove it.

        Show
        Alejandro Abdelnur added a comment - branch-1 patch looks good trunk/branch-2 has a NIT, it the find JobConf.findContainingJar() method is public, thus we cannot remove it.
        Hide
        Sandy Ryza added a comment -

        Added JobConf#findContainingJar back in in trunk

        Show
        Sandy Ryza added a comment - Added JobConf#findContainingJar back in in trunk
        Sandy Ryza made changes -
        Attachment MAPREDUCE-4659-7.patch [ 12571500 ]
        Hide
        Alejandro Abdelnur added a comment -

        +1 pending jenkins

        Show
        Alejandro Abdelnur added a comment - +1 pending jenkins
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12571500/MAPREDUCE-4659-7.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 2 new or modified test files.

        +1 tests included appear to have a timeout.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient.

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3375//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3375//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12571500/MAPREDUCE-4659-7.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 2 new or modified test files. +1 tests included appear to have a timeout. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . The javadoc tool did not generate any warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient. +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3375//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3375//console This message is automatically generated.
        Alejandro Abdelnur made changes -
        Project Hadoop Map/Reduce [ 12310941 ] Hadoop Common [ 12310240 ]
        Key MAPREDUCE-4659 HADOOP-9349
        Affects Version/s 2.0.1-alpha [ 12322467 ]
        Affects Version/s 0.20.2 [ 12314203 ]
        Affects Version/s 0.20.2 [ 12314205 ]
        Affects Version/s 2.0.1-alpha [ 12322466 ]
        Component/s tools [ 12319643 ]
        Component/s client [ 12312982 ]
        Alejandro Abdelnur made changes -
        Summary Confusing output when running "hadoop version" from one hadoop installation when HADOOP_HOME points to another Confusing output when running hadoop version from one hadoop installation when HADOOP_HOME points to another
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12571500/MAPREDUCE-4659-7.patch
        against trunk revision .

        -1 patch. The patch command could not apply the patch.

        Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/2247//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12571500/MAPREDUCE-4659-7.patch against trunk revision . -1 patch . The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/2247//console This message is automatically generated.
        Hide
        Alejandro Abdelnur added a comment -

        Thanks Sandy. Committed to trunk, branch-1 and branch-2.

        Show
        Alejandro Abdelnur added a comment - Thanks Sandy. Committed to trunk, branch-1 and branch-2.
        Alejandro Abdelnur made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 1.2.0 [ 12321659 ]
        Fix Version/s 2.0.4-beta [ 12324030 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-trunk-Commit #3402 (See https://builds.apache.org/job/Hadoop-trunk-Commit/3402/)
        HADOOP-9349. Confusing output when running hadoop version from one hadoop installation when HADOOP_HOME points to another. (sandyr via tucu) (Revision 1451448)

        Result = SUCCESS
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1451448
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ClassUtil.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestClassUtil.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestJobConf.java
        Show
        Hudson added a comment - Integrated in Hadoop-trunk-Commit #3402 (See https://builds.apache.org/job/Hadoop-trunk-Commit/3402/ ) HADOOP-9349 . Confusing output when running hadoop version from one hadoop installation when HADOOP_HOME points to another. (sandyr via tucu) (Revision 1451448) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1451448 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ClassUtil.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestClassUtil.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestJobConf.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Yarn-trunk #142 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/142/)
        HADOOP-9349. Confusing output when running hadoop version from one hadoop installation when HADOOP_HOME points to another. (sandyr via tucu) (Revision 1451448)

        Result = SUCCESS
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1451448
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ClassUtil.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestClassUtil.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestJobConf.java
        Show
        Hudson added a comment - Integrated in Hadoop-Yarn-trunk #142 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/142/ ) HADOOP-9349 . Confusing output when running hadoop version from one hadoop installation when HADOOP_HOME points to another. (sandyr via tucu) (Revision 1451448) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1451448 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ClassUtil.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestClassUtil.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestJobConf.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1331 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1331/)
        HADOOP-9349. Confusing output when running hadoop version from one hadoop installation when HADOOP_HOME points to another. (sandyr via tucu) (Revision 1451448)

        Result = FAILURE
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1451448
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ClassUtil.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestClassUtil.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestJobConf.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1331 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1331/ ) HADOOP-9349 . Confusing output when running hadoop version from one hadoop installation when HADOOP_HOME points to another. (sandyr via tucu) (Revision 1451448) Result = FAILURE tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1451448 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ClassUtil.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestClassUtil.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestJobConf.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1359 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1359/)
        HADOOP-9349. Confusing output when running hadoop version from one hadoop installation when HADOOP_HOME points to another. (sandyr via tucu) (Revision 1451448)

        Result = SUCCESS
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1451448
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ClassUtil.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestClassUtil.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestJobConf.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1359 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1359/ ) HADOOP-9349 . Confusing output when running hadoop version from one hadoop installation when HADOOP_HOME points to another. (sandyr via tucu) (Revision 1451448) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1451448 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ClassUtil.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestClassUtil.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobConf.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestJobConf.java
        Hide
        Matt Foley added a comment -

        Closed upon release of Hadoop 1.2.0.

        Show
        Matt Foley added a comment - Closed upon release of Hadoop 1.2.0.
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        3d 4h 37m 1 Sandy Ryza 17/Sep/12 23:25
        Patch Available Patch Available Resolved Resolved
        164d 2h 59m 1 Alejandro Abdelnur 01/Mar/13 01:24
        Resolved Resolved Closed Closed
        75d 3h 51m 1 Matt Foley 15/May/13 06:16

          People

          • Assignee:
            Sandy Ryza
            Reporter:
            Sandy Ryza
          • Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development