Skip to content

Commit

Permalink
Allow retries for ES export.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Hale committed Jan 23, 2025
1 parent 229fda5 commit 5befed8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,9 @@ private static List<JsonInfo> run(Configuration conf, String queryFiles, String
BindingSet bindings = AbstractHalyardTool.getBindings(conf, SimpleValueFactory.getInstance());
Job job = Job.getInstance(conf, "HalyardBulkExport " + source + " -> " + target);
job.setJarByClass(HalyardBulkExport.class);
job.setMaxMapAttempts(1);
if (!isEsExport) {
job.setMaxMapAttempts(1);
}
job.setMapperClass(BulkExportMapper.class);
job.setMapOutputKeyClass(NullWritable.class);
job.setNumReduceTasks(0);
Expand Down

0 comments on commit 5befed8

Please sign in to comment.