friedlou opened a new issue #1655:
URL: https://github.com/apache/accumulo/issues/1655


   There are two properties that control the number of times a bulk import is 
attempted: master.bulk.retries and tserver.bulk.retry.max.
   
   master.bulk.retries is used by LoadFiles.java to limit the number of 
retries. The code treats this value as the number of total attempts, not the 
number of retries. So if it is set to 1, only one attempt is made to load the 
files before reporting failure. (The code forces it to 1 even if the property 
is set to 0.)
   
   tserver.bulk.retry.max is used by BulkImporter.java to limit the number of 
retires. However, it treats this value as the number retries. The number of 
attempts would be 1 + the value in the property. So if it is set to 0, only one 
attempt should be made to load the files. However, this is not what happens. 
Even when the property is set to 0, two attempts are made to load the file 
before reporting failure. This needs to be fixed. 


----------------------------------------------------------------
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]


Reply via email to