You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/11/23 21:58:45 UTC

[GitHub] milleruntime opened a new issue #778: Loss of precision configuring BW with new AccumuloClient

milleruntime opened a new issue #778: Loss of precision configuring BW with new AccumuloClient
URL: https://github.com/apache/accumulo/issues/778
 
 
   The new AccumuloClient builder allows setting Batch writer properties using the BatchWriterConfig object.  This is great but BatchWriterConfig allows setting of different TimeUnits when configuring the batch writer. The AccumuloClient builder always assuming seconds as the TimeUnit so if you set something like milliseconds, there will be loss of precision and user may get unexpected results.  See https://github.com/apache/accumulo/blob/master/core/src/main/java/org/apache/accumulo/core/clientImpl/AccumuloClientImpl.java#L376

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services