You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by as...@apache.org on 2018/01/17 14:57:26 UTC

oozie git commit: OOZIE-3159 Spark Action fails because of absence of hadoop mapreduce jar(s) (asasvari)

Repository: oozie
Updated Branches:
  refs/heads/master eb79701e4 -> 5f4d3171a


OOZIE-3159 Spark Action fails because of absence of hadoop mapreduce jar(s) (asasvari)


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/5f4d3171
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/5f4d3171
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/5f4d3171

Branch: refs/heads/master
Commit: 5f4d3171a36bdcfacd2be4493601f8f300a85207
Parents: eb79701
Author: Attila Sasvari <as...@cloudera.com>
Authored: Wed Jan 17 15:46:44 2018 +0100
Committer: Attila Sasvari <as...@cloudera.com>
Committed: Wed Jan 17 15:46:44 2018 +0100

----------------------------------------------------------------------
 pom.xml                | 6 +++++-
 release-log.txt        | 1 +
 sharelib/spark/pom.xml | 9 +++++++--
 3 files changed, 13 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/5f4d3171/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2c52648..6bd1b7a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -834,7 +834,11 @@
                 <artifactId>hadoop-yarn-server-web-proxy</artifactId>
                 <version>${hadoop.version}</version>
             </dependency>
-
+            <dependency>
+                <groupId>org.apache.hadoop</groupId>
+                <artifactId>hadoop-mapreduce-client-core</artifactId>
+                <version>${hadoop.version}</version>
+            </dependency>
             <dependency>
                 <groupId>org.apache.pig</groupId>
                 <artifactId>pig</artifactId>

http://git-wip-us.apache.org/repos/asf/oozie/blob/5f4d3171/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 40946fa..fc25e4f 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 5.0.0 release (trunk - unreleased)
 
+OOZIE-3159 Spark Action fails because of absence of hadoop mapreduce jar(s) (asasvari)
 OOZIE-3162 Precommit build fails to add comment to JIRA (asasvari)
 OOZIE-1401 amend PurgeCommand should purge the workflow jobs w/o end_time (andras.piros, asasvari)
 OOZIE-3085 Improve logging in ActionExecutors: add log entry for start(), end() and kill() (kmarton via andras.piros)

http://git-wip-us.apache.org/repos/asf/oozie/blob/5f4d3171/sharelib/spark/pom.xml
----------------------------------------------------------------------
diff --git a/sharelib/spark/pom.xml b/sharelib/spark/pom.xml
index e9174c2..4975736 100644
--- a/sharelib/spark/pom.xml
+++ b/sharelib/spark/pom.xml
@@ -45,8 +45,14 @@
         </dependency>
         <dependency>
             <groupId>org.apache.hadoop</groupId>
-            <artifactId>hadoop-common</artifactId>
+            <artifactId>hadoop-mapreduce-client-core</artifactId>
             <scope>compile</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>javax.servlet</groupId>
+                    <artifactId>servlet-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>commons-lang</groupId>
@@ -221,7 +227,6 @@
             <version>${spark.bagel.version}</version>
             <scope>compile</scope>
         </dependency>
-
         <dependency>
             <groupId>org.apache.oozie</groupId>
             <artifactId>oozie-core</artifactId>