GitHub user matthpeterson opened a pull request:
https://github.com/apache/accumulo/pull/270
ACCUMULO-4657 Reduce excessive logging / logging checks for Bulk Import code
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/matthpeterson/accumulo patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/accumulo/pull/270.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #270
----
commit 84e815786f78c9391962ffd788265946abe546d2
Author: matthpeterson <[email protected]>
Date: 2017-06-16T19:51:38Z
Update MetadataTableUtil.java
Outputting every "loaded" entry in the table is excessive, especially for
tables with multiple simultaneous bulk imports and multiple references to the
same file. This has been seen to cause performance problems. Even when the
log level was reduced, there was blocking within log4j. By doing that check
once outside the loop and only logging at trace level, we have seen bulk import
performance improvements.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---