sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject sqoop git commit: SQOOP-1721: Sqoop2: common jars missing for MR job
Date Fri, 14 Nov 2014 02:03:50 GMT
Repository: sqoop
Updated Branches:
  refs/heads/sqoop2 a8298c13a -> bddc9874d


SQOOP-1721: Sqoop2: common jars missing for MR job

(Qian Xu via Jarek Jarcec Cecho)


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

Branch: refs/heads/sqoop2
Commit: bddc9874dca2365c3990d9acd2e3295b2fbff022
Parents: a8298c1
Author: Jarek Jarcec Cecho <jarcec@apache.org>
Authored: Thu Nov 13 18:03:26 2014 -0800
Committer: Jarek Jarcec Cecho <jarcec@apache.org>
Committed: Thu Nov 13 18:03:26 2014 -0800

----------------------------------------------------------------------
 core/src/main/java/org/apache/sqoop/driver/JobManager.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/bddc9874/core/src/main/java/org/apache/sqoop/driver/JobManager.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/sqoop/driver/JobManager.java b/core/src/main/java/org/apache/sqoop/driver/JobManager.java
index 36ba1cd..d6efa6d 100644
--- a/core/src/main/java/org/apache/sqoop/driver/JobManager.java
+++ b/core/src/main/java/org/apache/sqoop/driver/JobManager.java
@@ -47,6 +47,8 @@ import org.apache.sqoop.schema.Schema;
 import org.apache.sqoop.submission.SubmissionStatus;
 import org.apache.sqoop.submission.counter.Counters;
 import org.apache.sqoop.utils.ClassUtils;
+import org.joda.time.LocalDate;
+import org.joda.time.LocalDateTime;
 import org.json.simple.JSONValue;
 
 public class JobManager implements Reconfigurable {
@@ -395,6 +397,8 @@ public class JobManager implements Reconfigurable {
     jobRequest.addJarForClass(executionEngine.getClass());
     // Extra libraries that Sqoop code requires
     jobRequest.addJarForClass(JSONValue.class);
+    jobRequest.addJarForClass(LocalDate.class);
+    jobRequest.addJarForClass(LocalDateTime.class);
   }
 
   MSubmission createJobSubmission(HttpEventContext ctx, long jobId) {


Mime
View raw message