Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 0.23.1
    • Fix Version/s: 0.23.1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      hadoop-config.sh forces HADOOP_prefix to a specific value:
      export HADOOP_PREFIX=`dirname "$this"`/..

      It would be nice to make this overridable.

        Activity

        Bruno Mahé created issue -
        Hide
        Bruno Mahé added a comment -

        Here is a patch

        Show
        Bruno Mahé added a comment - Here is a patch
        Bruno Mahé made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-3372.patch [ 12502830 ]
        Bruno Mahé 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/12502830/MAPREDUCE-3372.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 javadoc. The javadoc tool did not generate any warning messages.

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

        +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 .

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

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1260//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1260//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/12502830/MAPREDUCE-3372.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 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +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 . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1260//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1260//console This message is automatically generated.
        Hide
        Bruno Mahé added a comment -

        ping

        Show
        Bruno Mahé added a comment - ping
        Hide
        Tom White added a comment -

        +1

        I've just committed this. Thanks Bruno!

        Show
        Tom White added a comment - +1 I've just committed this. Thanks Bruno!
        Tom White made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Assignee Bruno Mahé [ bmahe ]
        Fix Version/s 0.23.1 [ 12318883 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #180 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/180/)
        Merge -r 1203487:1203488 from trunk to branch-0.23. Fixes: MAPREDUCE-3372

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203489
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/compile
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #180 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/180/ ) Merge -r 1203487:1203488 from trunk to branch-0.23. Fixes: MAPREDUCE-3372 tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203489 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/compile /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #181 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/181/)
        Merge -r 1203487:1203488 from trunk to branch-0.23. Fixes: MAPREDUCE-3372

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203489
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/compile
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #181 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/181/ ) Merge -r 1203487:1203488 from trunk to branch-0.23. Fixes: MAPREDUCE-3372 tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203489 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/compile /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1283 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1283/)
        MAPREDUCE-3372. HADOOP_PREFIX cannot be overridden. Contributed by Bruno Mahé.

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203488
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/compile
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1283 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1283/ ) MAPREDUCE-3372 . HADOOP_PREFIX cannot be overridden. Contributed by Bruno Mahé. tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203488 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/compile /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1357 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1357/)
        MAPREDUCE-3372. HADOOP_PREFIX cannot be overridden. Contributed by Bruno Mahé.

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203488
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/compile
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1357 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1357/ ) MAPREDUCE-3372 . HADOOP_PREFIX cannot be overridden. Contributed by Bruno Mahé. tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203488 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/compile /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1308 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1308/)
        MAPREDUCE-3372. HADOOP_PREFIX cannot be overridden. Contributed by Bruno Mahé.

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203488
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/compile
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1308 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1308/ ) MAPREDUCE-3372 . HADOOP_PREFIX cannot be overridden. Contributed by Bruno Mahé. tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203488 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/compile /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #193 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/193/)
        Merge -r 1203487:1203488 from trunk to branch-0.23. Fixes: MAPREDUCE-3372

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203489
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/compile
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #193 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/193/ ) Merge -r 1203487:1203488 from trunk to branch-0.23. Fixes: MAPREDUCE-3372 tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203489 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/compile /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #80 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/80/)
        Merge -r 1203487:1203488 from trunk to branch-0.23. Fixes: MAPREDUCE-3372

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203489
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/compile
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #80 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/80/ ) Merge -r 1203487:1203488 from trunk to branch-0.23. Fixes: MAPREDUCE-3372 tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203489 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/compile /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #867 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/867/)
        MAPREDUCE-3372. HADOOP_PREFIX cannot be overridden. Contributed by Bruno Mahé.

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203488
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/compile
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #867 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/867/ ) MAPREDUCE-3372 . HADOOP_PREFIX cannot be overridden. Contributed by Bruno Mahé. tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203488 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/compile /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #97 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/97/)
        Merge -r 1203487:1203488 from trunk to branch-0.23. Fixes: MAPREDUCE-3372

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203489
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/compile
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #97 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/97/ ) Merge -r 1203487:1203488 from trunk to branch-0.23. Fixes: MAPREDUCE-3372 tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203489 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/compile /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #901 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/901/)
        MAPREDUCE-3372. HADOOP_PREFIX cannot be overridden. Contributed by Bruno Mahé.

        tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203488
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/compile
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #901 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/901/ ) MAPREDUCE-3372 . HADOOP_PREFIX cannot be overridden. Contributed by Bruno Mahé. tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1203488 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/compile /hadoop/common/trunk/hadoop-mapreduce-project/src/examples/python/pyAbacus/compile /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/deb/init.d/hadoop-historyserver /hadoop/common/trunk/hadoop-mapreduce-project/src/packages/rpm/init.d/hadoop-historyserver
        Arun C Murthy 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
        1m 13s 1 Bruno Mahé 07/Nov/11 22:29
        Patch Available Patch Available Resolved Resolved
        10d 6h 46m 1 Tom White 18/Nov/11 05:15
        Resolved Resolved Closed Closed
        107d 21h 32m 1 Arun C Murthy 05/Mar/12 02:48

          People

          • Assignee:
            Bruno Mahé
            Reporter:
            Bruno Mahé
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development