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

(cherry picked from commit 5f4d3171a36bdcfacd2be4493601f8f300a85207)
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>
diff --git a/release-log.txt b/release-log.txt
index 23c07e2..b784169 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 5.0.0-beta1 release
 
+OOZIE-3159 Spark Action fails because of absence of hadoop mapreduce jar(s) (asasvari)
 OOZIE-3083 Make improved version Info backward compatible (gezapeti via asasvari)
 OOZIE-3142 Integer Overflows in Purge retentionTime (Prabhu Joseph via andras.piros)
 OOZIE-3143 AG_Install.twiki needs some refinement (kmarton via andras.piros)
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>