You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-commits@hadoop.apache.org by ma...@apache.org on 2011/04/28 23:17:03 UTC
svn commit: r1097613 - in /hadoop/mapreduce/branches/MR-279: CHANGES.txt
mr-client/hadoop-mapreduce-client-app/pom.xml
Author: mahadev
Date: Thu Apr 28 21:17:02 2011
New Revision: 1097613
URL: http://svn.apache.org/viewvc?rev=1097613&view=rev
Log:
MAPREDUCE-2433. YARNApplicationConstants hard code app master jar version (Luke Lu via mahadev)
Modified:
hadoop/mapreduce/branches/MR-279/CHANGES.txt
hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-app/pom.xml
Modified: hadoop/mapreduce/branches/MR-279/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/CHANGES.txt?rev=1097613&r1=1097612&r2=1097613&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/CHANGES.txt (original)
+++ hadoop/mapreduce/branches/MR-279/CHANGES.txt Thu Apr 28 21:17:02 2011
@@ -57,6 +57,8 @@ Trunk (unreleased changes)
Implement restart for resource manager phase 1 - Helper classes to store and restore the data structures. (mahadev)
+ MAPREDUCE-2433. YARNApplicationConstants hard code app master jar version (Luke Lu via mahadev)
+
INCOMPATIBLE CHANGES
MAPREDUCE-1866. Removes deprecated class
Modified: hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-app/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-app/pom.xml?rev=1097613&r1=1097612&r2=1097613&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-app/pom.xml (original)
+++ hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-app/pom.xml Thu Apr 28 21:17:02 2011
@@ -13,6 +13,7 @@
<properties>
<install.file>${project.artifact.file}</install.file>
+ <applink.base>${project.build.directory}/${project.name}</applink.base>
</properties>
<dependencies>
@@ -45,6 +46,8 @@
</dependencies>
<build>
+ <!-- local name for links -->
+ <finalName>mr-app</finalName>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
@@ -72,6 +75,26 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>create-mr-app-symlinks</id>
+ <phase>package</phase>
+ <configuration>
+ <target>
+ <symlink link="${applink.base}.jar"
+ resource="mr-app.jar" failonerror="false"/>
+ <symlink link="${applink.base}-1.0-SNAPSHOT.jar"
+ resource="mr-app.jar" failonerror="false"/>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>