Browse Source

MAPREDUCE-3488. Streaming jobs are failing because the main class isnt set in the pom files. (mahadev) - Merging r1208796 from trunk

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1208798 13f79535-47bb-0310-9956-ffa450edef68
Mahadev Konar 13 years ago
parent
commit
3610bc8c4c
2 changed files with 14 additions and 0 deletions
  1. 3 0
      hadoop-mapreduce-project/CHANGES.txt
  2. 11 0
      hadoop-tools/hadoop-streaming/pom.xml

+ 3 - 0
hadoop-mapreduce-project/CHANGES.txt

@@ -157,6 +157,9 @@ Release 0.23.1 - Unreleased
     MAPREDUCE-3477. Hadoop site documentation cannot be built anymore. 
     (jeagles via tucu)
 
+    MAPREDUCE-3488. Streaming jobs are failing because the main class
+    isnt set in the pom files. (mahadev)
+
 Release 0.23.0 - 2011-11-01 
 
   INCOMPATIBLE CHANGES

+ 11 - 0
hadoop-tools/hadoop-streaming/pom.xml

@@ -116,6 +116,17 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+         <configuration>
+          <archive>
+           <manifest>
+            <mainClass>org.apache.hadoop.streaming.HadoopStreaming</mainClass>
+           </manifest>
+         </archive>
+        </configuration>
+       </plugin>
     </plugins>
   </build>
 </project>