milleruntime commented on a change in pull request #64: Made CI bulk import
configurable and scriptable
URL: https://github.com/apache/accumulo-testing/pull/64#discussion_r263955432
##########
File path: src/main/java/org/apache/accumulo/testing/continuous/BulkIngest.java
##########
@@ -103,157 +102,13 @@ public int run(String[] args) throws Exception {
job.waitForCompletion(true);
boolean success = job.isSuccessful();
- // bulk import completed files
- if (success) {
- log.info("Sort and create job successful. Bulk importing {} to {}",
RFILE_DIR, tableName);
-
client.tableOperations().importDirectory(RFILE_DIR).to(tableName).load();
- } else {
- log.error("Job failed, not calling bulk import");
- }
return success ? 0 : 1;
Review comment:
Looks like you don't need `success` anymore
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services