hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Graves (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2587) MR279: Fix RM version in the cluster->about page
Date Wed, 15 Jun 2011 14:33:47 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049795#comment-13049795
] 

Thomas Graves commented on MAPREDUCE-2587:
------------------------------------------

uploaded v2 patch, moved saveVersion.sh to scripts dir but its still in the jar right now,
let me know on that. Fixed so can build from directories other then top level mapreduce.

Note, that patch is applied to top level dir, you need to svn add the following:
mapreduce/yarn/yarn-common/src/test/java/org/apache/hadoop/yarn/util/TestYarnVersionInfo.java
mapreduce/yarn/yarn-common/src/main/java/org/apache/hadoop/yarn/YarnVersionAnnotation.java
mapreduce/yarn/yarn-common/src/main/java/org/apache/hadoop/yarn/util/YarnVersionInfo.java
mapreduce/yarn/yarn-common/scripts/

mapreduce/yarn/yarn-common/scripts/saveVersion.sh also needs to be made executable

tested in git, svn, and build from source in jar.   built from top level mapreduce, mapreduce/yarn,
and mapreduce/yarn-common and it properly generated ./yarn/yarn-common/target/generated-sources/version/org/apache/hadoop/yarn/package-info.java
in all cases.

Contents are like:

svn:
/*
 * Generated by saveVersion.sh */
@YarnVersionAnnotation(version="1.0-SNAPSHOT", revision="1135920", branch="branches/MR-279/mapreduce/yarn",
                         user="tgraves", date="Wed Jun 15 14:14:44 UTC 2011", url="http://svn.apache.org/repos/asf/hadoop/common/branches/MR-279/mapreduce/yarn",
                         srcChecksum="174ef00f212ff0639b6bae4ac4f6c03e")
package org.apache.hadoop.yarn;


git:
/*
 * Generated by saveVersion.sh
 */
@YarnVersionAnnotation(version="1.0-SNAPSHOT", revision="c9eb54b09d1a111c1efe9084dea6c0dbd97c7267",
branch="origin/MR-279",
                         user="tgraves", date="Wed Jun 15 14:23:00 UTC 2011", url="git://host.com/home/tgraves/git/hadoop-common/mapreduce/yarn",
                         srcChecksum="174ef00f212ff0639b6bae4ac4f6c03e")
package org.apache.hadoop.yarn;


build jar:
/* * Generated by saveVersion.sh
 */
@YarnVersionAnnotation(version="1.0-SNAPSHOT", revision="Unknown", branch="Unknown",
                         user="tgraves", date="Wed Jun 15 14:28:29 UTC 2011", url="file:///home/tgraves/yarn/MR-279/mapreduce/target/tmp/hadoop-mapreduce-1.0-SNAPSHOT/sources/yarn",
                         srcChecksum="174ef00f212ff0639b6bae4ac4f6c03e")
package org.apache.hadoop.yarn;


> MR279: Fix RM version in the cluster->about page 
> -------------------------------------------------
>
>                 Key: MAPREDUCE-2587
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2587
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Minor
>         Attachments: MAPREDUCE-2587-279-v2.patch, MAPREDUCE-2587-279.patch
>
>
> The Resource Manager version in the Cluster->About page always shows 1.0-SNAPSHOT.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message