mirror of
https://github.com/apache/sqoop.git
synced 2025-05-20 02:40:52 +08:00
MAPREDUCE-1469. Sqoop should disable speculative execution in export. Contributed by Aaron Kimball.
From: Thomas White <tomwhite@apache.org> git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149857 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a625fd478c
commit
6a215d0fbc
@ -172,6 +172,9 @@ public void runExport() throws ExportException, IOException {
|
||||
FileInputFormat.addInputPath(job, inputPath);
|
||||
job.setNumReduceTasks(0);
|
||||
|
||||
// Concurrent writes of the same records would be problematic.
|
||||
job.setMapSpeculativeExecution(false);
|
||||
|
||||
ConnManager mgr = new ConnFactory(conf).getManager(options);
|
||||
String username = options.getUsername();
|
||||
if (null == username || username.length() == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user