accumulo.git
4 years ago[maven-release-plugin] prepare release rel/1.9.1 rel/1.9.1
Christopher Tubbs [Thu, 10 May 2018 01:27:25 +0000 (21:27 -0400)] 
[maven-release-plugin] prepare release rel/1.9.1

4 years agoUpdate formatter to avoid bad enum formatting
Christopher Tubbs [Wed, 9 May 2018 23:01:47 +0000 (19:01 -0400)] 
Update formatter to avoid bad enum formatting

4 years agoRemove warning and fix compilation with Java 7
Christopher Tubbs [Wed, 9 May 2018 18:30:20 +0000 (14:30 -0400)] 
Remove warning and fix compilation with Java 7

4 years agofixes #477 Stop putting -1 in WAL (#458)
Keith Turner [Mon, 7 May 2018 20:11:13 +0000 (16:11 -0400)] 
fixes #477 Stop putting -1 in WAL (#458)

4 years agofixes #449 code review updates (#458)
Keith Turner [Wed, 2 May 2018 22:56:26 +0000 (18:56 -0400)] 
fixes #449 code review updates (#458)

4 years agoFixes #449 suggested updates to PR apache/accumulo#458
Christopher Tubbs [Wed, 2 May 2018 21:53:25 +0000 (17:53 -0400)] 
Fixes #449 suggested updates to PR apache/accumulo#458

4 years agofixes #449 fix two bugs with WAL recovery (#458)
Keith Turner [Fri, 27 Apr 2018 22:16:51 +0000 (18:16 -0400)] 
fixes #449 fix two bugs with WAL recovery (#458)

 * Fix bug where tablet is unloaded, reloaded on tserver, and then tserver dies
 * Fix bug with out of order logs.  Recovery code assumed logs were passed in
   time order.  However, since 1.8.0 they have been passed in random order. Rewrote
   recovery code to handle out of order logs.  The fix was to read all logs in
   a sorted merged way.

4 years agofixes #432 Made GC clean up recovery logs (#444)
Keith Turner [Fri, 4 May 2018 14:35:49 +0000 (10:35 -0400)] 
fixes #432 Made GC clean up recovery logs (#444)

4 years ago#441 always use hashset for currentlogs
Keith Turner [Thu, 26 Apr 2018 21:28:00 +0000 (17:28 -0400)] 
#441 always use hashset for currentlogs

4 years agofixes #441 only dereference WALs after minc finishes (#443)
Keith Turner [Thu, 26 Apr 2018 21:04:27 +0000 (17:04 -0400)] 
fixes #441 only dereference WALs after minc finishes (#443)

* fixes #441 only dereference WALs after minc finishes

4 years agoFix #440 Add SHA512 generation to vote email
Christopher Tubbs [Wed, 25 Apr 2018 20:37:16 +0000 (16:37 -0400)] 
Fix #440 Add SHA512 generation to vote email

* Also remove unnecessary comments
* Make general improvements so script can be reused for other projects
* Make other improvements to avoid shellcheck-identified problems

4 years agoFix #433 Update copyright dates to 2018
Christopher Tubbs [Tue, 24 Apr 2018 19:22:10 +0000 (15:22 -0400)] 
Fix #433 Update copyright dates to 2018

4 years agoHandle RW unexpected table state (#429)
Mike Miller [Thu, 19 Apr 2018 17:42:19 +0000 (13:42 -0400)] 
Handle RW unexpected table state (#429)

4 years ago[maven-release-plugin] prepare for next development iteration
Christopher Tubbs [Thu, 12 Apr 2018 22:09:59 +0000 (18:09 -0400)] 
[maven-release-plugin] prepare for next development iteration

4 years ago[maven-release-plugin] prepare release rel/1.9.0 rel/1.9.0
Christopher Tubbs [Thu, 12 Apr 2018 22:09:48 +0000 (18:09 -0400)] 
[maven-release-plugin] prepare release rel/1.9.0

4 years agoMake TLSv1.2 the default (#417)
Christopher Tubbs [Mon, 9 Apr 2018 20:40:26 +0000 (16:40 -0400)] 
Make TLSv1.2 the default (#417)

When Accumulo's RPC is configured for SSL/TLS, the connections
will use TLSv1.2 by default (instead of TLSv1 or TLSv1.1).

4 years agoRemove unused variables
Christopher Tubbs [Fri, 6 Apr 2018 04:28:04 +0000 (00:28 -0400)] 
Remove unused variables

4 years agoFix line wrap and other checkstyle errors
Christopher Tubbs [Fri, 6 Apr 2018 04:01:59 +0000 (00:01 -0400)] 
Fix line wrap and other checkstyle errors

4 years agoFix findbugs error due to line-wrapping
Christopher Tubbs [Fri, 6 Apr 2018 04:01:12 +0000 (00:01 -0400)] 
Fix findbugs error due to line-wrapping

Fix findbugs error due to known false-positive issue from line-wrapping:
https://github.com/spotbugs/spotbugs/issues/462

4 years agoApply initial formatting changes to 100-char lines
Christopher Tubbs [Fri, 6 Apr 2018 04:00:56 +0000 (00:00 -0400)] 
Apply initial formatting changes to 100-char lines

Apply formatting changes from running the following:
mvn clean verify -Dfindbugs.skip -Dcheckstyle.skip -DskipITs -DskipTests

4 years agoPOM updates for formatting (#416)
Christopher Tubbs [Fri, 6 Apr 2018 04:00:39 +0000 (00:00 -0400)] 
POM updates for formatting (#416)

* Update to formatter-maven-plugin 2.7.2
* Update sortpom version
* Simplify formatting plugin profiles which require jdk8
* Use 100 character line limit
* Update ciManagement and issueManagement sections for next release
* Include rule to ignore @link/@see tags in javadocs
* Ignore long 'new *Map<>' lines, because they tend to be long with
  generics

4 years agoACCUMULO-4833 Disable broken randomwalk task
Christopher Tubbs [Thu, 5 Apr 2018 17:46:47 +0000 (13:46 -0400)] 
ACCUMULO-4833 Disable broken randomwalk task

Comment out the replication task in the Concurrent test configuration
for the randomwalk test framework.

4 years agoMerge branch 'ACCUMULO-4791-1.9' into 1.8
Mark Owens [Thu, 5 Apr 2018 16:55:02 +0000 (12:55 -0400)] 
Merge branch 'ACCUMULO-4791-1.9' into 1.8

4 years agoACCUMULO-4585 Fix bootstrap_config memory profiles
Christopher Tubbs [Wed, 4 Apr 2018 21:35:37 +0000 (17:35 -0400)] 
ACCUMULO-4585 Fix bootstrap_config memory profiles

Tweak memory profiles in bootstrap_config script so the block caches,
sort buffer, and map memory usage fits into the configured memory for
the JVM in the 512MB profile

Also tweak the sort buffer for the 2GB profile so it falls somewhere
between that of the 1GB and 3GB profile.

4 years agoACCUMULO-4791 correct setshelliter usage
Mark Owens [Tue, 27 Mar 2018 21:42:11 +0000 (17:42 -0400)] 
ACCUMULO-4791 correct setshelliter usage

Updated setshelliter command to no longer need a tablename or namespace in order to work properly.
Previously, the command required one of the two values even though they were not needed by the \
command.

During the process some refactoring of the getOptions command was done as well.

4 years agoACCUMULO-4585 Fix bootstrap_config memory profiles
Christopher Tubbs [Wed, 4 Apr 2018 21:35:37 +0000 (17:35 -0400)] 
ACCUMULO-4585 Fix bootstrap_config memory profiles

Tweak memory profiles in bootstrap_config script so the block caches,
sort buffer, and map memory usage fits into the configured memory for
the JVM in the 512MB profile

Also tweak the sort buffer for the 2GB profile so it falls somewhere
between that of the 1GB and 3GB profile.

4 years agoFixed inefficient auths check (#410)
Keith Turner [Thu, 29 Mar 2018 14:27:44 +0000 (10:27 -0400)] 
Fixed inefficient auths check (#410)

4 years agoMerge tag 'rel/1.7.4' into 1.8
Christopher Tubbs [Fri, 23 Mar 2018 22:37:35 +0000 (18:37 -0400)] 
Merge tag 'rel/1.7.4' into 1.8

4 years agoFixes #404 Enabled more metrics reporting (#403)
Mike Walch [Thu, 22 Mar 2018 15:55:26 +0000 (11:55 -0400)] 
Fixes #404 Enabled more metrics reporting (#403)

* Added more ingest/scan metrics reporting to Hadoop2 metrics

4 years agoACCUMULO-3389 Fix name in tsBatchDeleter (#406)
Mike Miller [Tue, 20 Mar 2018 20:32:32 +0000 (16:32 -0400)] 
ACCUMULO-3389 Fix name in tsBatchDeleter (#406)

* Also improved error message in IteratorSetting to include bad name

4 years ago[maven-release-plugin] prepare release rel/1.7.4 rel/1.7.4
Christopher Tubbs [Mon, 19 Mar 2018 19:35:40 +0000 (15:35 -0400)] 
[maven-release-plugin] prepare release rel/1.7.4

4 years agoMerge branch '1.7' into 1.8
Keith Turner [Mon, 19 Mar 2018 18:35:40 +0000 (14:35 -0400)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4836 make online table always wait (#394)
Keith Turner [Thu, 1 Mar 2018 00:18:18 +0000 (19:18 -0500)] 
ACCUMULO-4836 make online table always wait (#394)

4 years agoACCUMULO-3389 Iterator Names can't contain dots (#397)
Mark Owens [Fri, 16 Mar 2018 22:05:16 +0000 (18:05 -0400)] 
ACCUMULO-3389 Iterator Names can't contain dots (#397)

Updated code to check iterator names for the presence of dots. If name is found to contain a
dot then an IllegalArgumentException is thrown. Wrote unit/IT tests also.

4 years agoACCUMULO-4834 Add timeout to LocatorIT
Christopher Tubbs [Fri, 16 Mar 2018 20:38:29 +0000 (16:38 -0400)] 
ACCUMULO-4834 Add timeout to LocatorIT

4 years agoMerge branch '1.7' into 1.8
Mike Miller [Fri, 16 Mar 2018 20:03:03 +0000 (16:03 -0400)] 
Merge branch '1.7' into 1.8

4 years agoFix ChaoticBalancerIT (#401)
Mike Miller [Fri, 16 Mar 2018 18:48:08 +0000 (14:48 -0400)] 
Fix ChaoticBalancerIT (#401)

4 years agoMerge branch '1.7' into 1.8
Christopher Tubbs [Thu, 15 Mar 2018 17:50:07 +0000 (13:50 -0400)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4847 Fix broken TabletServerGivesUpIT
Christopher Tubbs [Thu, 15 Mar 2018 17:48:26 +0000 (13:48 -0400)] 
ACCUMULO-4847 Fix broken TabletServerGivesUpIT

Fix retry behavior in TabletServerGivesUpIT by setting increment time to
less than the max time, as now required in the Retry code. Also tweak
timing / number of iterations for test retries.

4 years agoMerge branch '1.7' into 1.8
Christopher Tubbs [Wed, 14 Mar 2018 20:21:04 +0000 (16:21 -0400)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4847 Fix Retry utility's API (#399)
Christopher Tubbs [Wed, 14 Mar 2018 20:17:40 +0000 (16:17 -0400)] 
ACCUMULO-4847 Fix Retry utility's API (#399)

Create a builder API for Retry and RetryFactory, so that the parameters
(which all have the same type) cannot be easily confused for one another
and cause "sleep-until-heat-death-of-the-universe" bugs.

Also fix a minor bug which is caused by the assumption that nanoTime is
always positive. It is normal for nanoTime to be negative, only the
differences between two times is guaranteed to be positive.

4 years agoMerge branch '1.7' into 1.8
Mike Miller [Tue, 6 Mar 2018 19:11:38 +0000 (14:11 -0500)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4835 Make TableOps throw TableNotFound (#395)
Mike Miller [Tue, 6 Mar 2018 18:00:07 +0000 (13:00 -0500)] 
ACCUMULO-4835 Make TableOps throw TableNotFound (#395)

* Also removed redundant Range assignment in loop

4 years agoMerge branch '1.7' into 1.8
Mike Miller [Thu, 1 Mar 2018 18:22:28 +0000 (13:22 -0500)] 
Merge branch '1.7' into 1.8

4 years agoAdd TableOfflineException to TableOps.addSplits (#393)
Mike Miller [Thu, 1 Mar 2018 15:32:45 +0000 (10:32 -0500)] 
Add TableOfflineException to TableOps.addSplits (#393)

Also revert commit bcd2dc51 which was hiding this error

4 years agoFix false positive in rw concurrent/AddSplits
Mike Miller [Wed, 28 Feb 2018 18:24:00 +0000 (13:24 -0500)] 
Fix false positive in rw concurrent/AddSplits

4 years agoMerge branch '1.7' into 1.8
Christopher Tubbs [Tue, 27 Feb 2018 21:31:59 +0000 (16:31 -0500)] 
Merge branch '1.7' into 1.8

4 years agoClean up travis configuration
Christopher Tubbs [Tue, 27 Feb 2018 21:24:28 +0000 (16:24 -0500)] 
Clean up travis configuration

Remove unnecessary custom settings.xml file and cache cleanup:
- Committers can clean caches as needed from the Travis CI UI
- Maven 3.5.2 (current) uses https by default for Maven Central

4 years agoMerge branch '1.7' into 1.8
Ivan Bella [Tue, 27 Feb 2018 16:55:26 +0000 (11:55 -0500)] 
Merge branch '1.7' into 1.8

4 years agoFixes ACCUMULO-4832 WAL warnings
Ivan Bella [Mon, 26 Feb 2018 19:44:26 +0000 (14:44 -0500)] 
Fixes ACCUMULO-4832 WAL warnings

Change initial WAL retry message to debug, and subsequent messages to warnings.
Also added trace messages inbetween if desired.  Only the warning message will show the full stack trace.
Updated Retry to use System.nanoTime() instead of System.currentTimeMillis().

4 years agoMerge branch '1.7' into 1.8
Christopher Tubbs [Tue, 27 Feb 2018 04:11:37 +0000 (23:11 -0500)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4828 Update commons-vfs2 to 2.2
Christopher Tubbs [Tue, 27 Feb 2018 04:10:46 +0000 (23:10 -0500)] 
ACCUMULO-4828 Update commons-vfs2 to 2.2

Improve VFS stability by updating to the latest bugfix release of
commons-vfs2, which is version 2.2.

4 years agoACCUMULO-4817 Fix bouncycastle deprecation warning
Christopher Tubbs [Tue, 27 Feb 2018 04:10:32 +0000 (23:10 -0500)] 
ACCUMULO-4817 Fix bouncycastle deprecation warning

* Remove use of deprecated bouncycastle library calls
* Fix empty paragraph javadoc warning

4 years agoACCUMULO-4826 Use the hadoop3 shaded jars (#332)
Josh Elser [Mon, 26 Feb 2018 01:56:50 +0000 (20:56 -0500)] 
ACCUMULO-4826 Use the hadoop3 shaded jars (#332)

* ACCUMULO-4826 Support Hadoop 3

* Bundle commons libraries we previously expected Hadoop to provide
* Bundle htrace-core4 for Hadoop tracing
* Updated configuration/config-gen for Hadoop3 shaded jars
* Fix the usage for -v/--version in bootstrap-config.sh
* Fix the broken version menu for IOP4.1
* Build both h2 and h3 with Travis
* Fix the goofy sed calls that would drop some changes in bootstrap-config.sh

4 years agoACCUMULO-4817 Fix bouncycastle deprecation warning
Christopher Tubbs [Fri, 23 Feb 2018 21:02:46 +0000 (16:02 -0500)] 
ACCUMULO-4817 Fix bouncycastle deprecation warning

* Remove use of deprecated bouncycastle library calls
* Fix empty paragraph javadoc warning

4 years agoACCUMULO-4639 Relocate NullTserver test class
Christopher Tubbs [Fri, 23 Feb 2018 00:16:30 +0000 (19:16 -0500)] 
ACCUMULO-4639 Relocate NullTserver test class

* Relocate NullTserver test class outside of a directory named "thrift"
so that it won't match our build tool excludes targeting thrift
generated files, such as being excluded from formatting during the
build.

4 years agoACCUMULO-4805 Optimize file manager when no files to open (#389)
Keith Turner [Wed, 21 Feb 2018 17:11:04 +0000 (12:11 -0500)] 
ACCUMULO-4805 Optimize file manager when no files to open (#389)

4 years agoACCUMULO-4800 Cache parsing of iterator config (#378)
Keith Turner [Tue, 20 Feb 2018 16:50:50 +0000 (11:50 -0500)] 
ACCUMULO-4800 Cache parsing of iterator config (#378)

4 years agoACCUMULO-4799 removed redundant auth check (#386)
Keith Turner [Tue, 20 Feb 2018 16:15:22 +0000 (11:15 -0500)] 
ACCUMULO-4799 removed redundant auth check (#386)

4 years agoMerge branch '1.7' into 1.8
Christopher Tubbs [Fri, 16 Feb 2018 03:05:05 +0000 (22:05 -0500)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4817 Update build plugins and parent POM
Christopher Tubbs [Fri, 16 Feb 2018 03:01:56 +0000 (22:01 -0500)] 
ACCUMULO-4817 Update build plugins and parent POM

* Use Apache 19 parent POM
* Remove invalid/broken javadoc elements (specifically, invalid @author tags)
* Update configuration for newer plugins
  ** Exclude leaking Exceptions in public API caught by apilyzer
  ** Use Collections.emptySet() over Collections.EMPTY_SET caught by modernizer
  ** Use html5 backend over html backend for asciidoctor
* Move Maven prerequisites element from top-level POM to maven-plugin POM
* Sort modules section of POM for readability
* Drop posix config for assembly plugin (redundant with parent POM)
* Add comments related to plugins which require JDK8+

4 years agoMerge branch '1.7' into 1.8
Christopher Tubbs [Thu, 15 Feb 2018 03:51:21 +0000 (22:51 -0500)] 
Merge branch '1.7' into 1.8

4 years agoBuild javadocs in travis-ci
Christopher Tubbs [Thu, 15 Feb 2018 03:50:16 +0000 (22:50 -0500)] 
Build javadocs in travis-ci

4 years agofixed javadoc warning and findbugs complaint
Keith Turner [Thu, 15 Feb 2018 02:50:11 +0000 (21:50 -0500)] 
fixed javadoc warning and findbugs complaint

4 years agoMerge remote-tracking branch 'upstream/1.7' into 1.8
Keith Turner [Wed, 14 Feb 2018 22:32:04 +0000 (17:32 -0500)] 
Merge remote-tracking branch 'upstream/1.7' into 1.8

4 years agoACCUMULO-4798 optimized stat in ZooCache (#376)
Keith Turner [Wed, 14 Feb 2018 21:44:36 +0000 (16:44 -0500)] 
ACCUMULO-4798 optimized stat in ZooCache (#376)

4 years agoACCUMULO-4788 Make connection pool O(1) instead of O(N) (#385)
Keith Turner [Wed, 14 Feb 2018 21:34:01 +0000 (16:34 -0500)] 
ACCUMULO-4788 Make connection pool O(1) instead of O(N) (#385)

The Jira issue mentions two problems inefficiency and a global lock. This commit focuses on the inefficiency issue and makes the reserve and return operations O(1) instead of O(N). The global lock is stil there, but now operations done while the lock are held are much faster. I plan to open up a follow on issue to address the lock.

4 years agoACCUMULO-4782 switch session manager to a concurrent map (#382)
Keith Turner [Wed, 14 Feb 2018 21:32:29 +0000 (16:32 -0500)] 
ACCUMULO-4782 switch session manager to a concurrent map (#382)

4 years agoACCUMULO-4789 Avoid creating expensive thread name (#384)
Keith Turner [Wed, 14 Feb 2018 21:31:52 +0000 (16:31 -0500)] 
ACCUMULO-4789 Avoid creating expensive thread name (#384)

4 years agoACCUMULO-4801 cache slow to compute fields of client context (#387)
Keith Turner [Wed, 14 Feb 2018 21:31:32 +0000 (16:31 -0500)] 
ACCUMULO-4801 cache slow to compute fields of client context (#387)

4 years agoACCUMULO-4809 Avoid blocking during session cleanup (#383)
Keith Turner [Wed, 14 Feb 2018 21:17:34 +0000 (16:17 -0500)] 
ACCUMULO-4809 Avoid blocking during session cleanup (#383)

4 years ago[ACCUMULO-4787] Close input stream in AccumuloReplicaSystem (#369)
Adam J. Shook [Wed, 14 Feb 2018 19:15:05 +0000 (14:15 -0500)] 
[ACCUMULO-4787] Close input stream in AccumuloReplicaSystem (#369)

4 years ago[ACCUMULO-4787] Close input stream in AccumuloReplicaSystem (#369)
Adam J. Shook [Wed, 14 Feb 2018 19:15:05 +0000 (14:15 -0500)] 
[ACCUMULO-4787] Close input stream in AccumuloReplicaSystem (#369)

4 years agomisc performance improvements (#379)
Keith Turner [Fri, 9 Feb 2018 00:33:17 +0000 (19:33 -0500)] 
misc performance improvements (#379)

* Avoid computing audit log message when level is not enabled
 * Faster hash function in thrift transport key
 * Avoid accessing site config for frequently accessed properties

4 years agoACCUMULO-4805 Obtain filemanager lock once when opening files (#380)
Keith Turner [Fri, 9 Feb 2018 00:32:52 +0000 (19:32 -0500)] 
ACCUMULO-4805 Obtain filemanager lock once when opening files (#380)

Before this change the lock on the file manager was obtained F+1 times, where
F is the number of files.  When there are lots of threads this is a lot of
contention.  In this change, the lock is only obtained once.

Also in this change the file managers semaphore was switched to non-fair.  The
fair semaphore is expensive and can cause contention.

4 years agoACCUMULO-4790 Avoid creating FileRef
Keith Turner [Fri, 2 Feb 2018 04:59:12 +0000 (23:59 -0500)] 
ACCUMULO-4790 Avoid creating FileRef

4 years agoACCUMULO-4797 improved namespace config performance (#375)
Keith Turner [Mon, 5 Feb 2018 22:08:50 +0000 (17:08 -0500)] 
ACCUMULO-4797 improved namespace config performance (#375)

4 years agoACCUMULO-4779 Improved performance of get by prefix in config (#372)
Keith Turner [Mon, 5 Feb 2018 22:07:07 +0000 (17:07 -0500)] 
ACCUMULO-4779 Improved performance of get by prefix in config (#372)

This change improves performance by caching config with a prefix.

Also removed custom method to get VFS config.  Now that getting
config by prefixes is fast, it can used for VFS.

4 years agoMerge branch '1.7' into 1.8
Keith Turner [Fri, 2 Feb 2018 18:30:41 +0000 (13:30 -0500)] 
Merge branch '1.7' into 1.8

For this merge the -s ours option was used so that the reverts from 1.7
were not applied.  This was done because I decided revert recent
performance improvements from 1.7 while leaving those changes in 1.8

4 years agoRevert "ACCUMULO-4779 fixed classpath context config performance issue (#358)"
Keith Turner [Fri, 2 Feb 2018 17:15:44 +0000 (12:15 -0500)] 
Revert "ACCUMULO-4779 fixed classpath context config performance issue (#358)"

This reverts commit 8c27bdf0e0168f854e9bb6effad25e6b6b0cb853.

4 years agoRevert "ACCUMULO-4779 Avoid locks in ZooCache when data in cache"
Keith Turner [Fri, 2 Feb 2018 17:13:59 +0000 (12:13 -0500)] 
Revert "ACCUMULO-4779 Avoid locks in ZooCache when data in cache"

This reverts commit cf9e754b045e3fac452df282bcf4ec97974038a0.

4 years agoRevert "ACCUMULO-4779 made getting vfs config more efficient"
Keith Turner [Fri, 2 Feb 2018 17:13:44 +0000 (12:13 -0500)] 
Revert "ACCUMULO-4779 made getting vfs config more efficient"

This reverts commit 7bc630cdce4a0aa02be4873e2873ff1036a94e14.

4 years agoRevert "ACCUMULO-4779 Fix warning; remove unused field"
Keith Turner [Fri, 2 Feb 2018 17:13:17 +0000 (12:13 -0500)] 
Revert "ACCUMULO-4779 Fix warning; remove unused field"

This reverts commit d8d2afa11037e41504d8f9347c1f6d36002e4a6a.

4 years agoRevert "ACCUMULO-4778 Cache table name to id map (#364)"
Keith Turner [Fri, 2 Feb 2018 17:12:25 +0000 (12:12 -0500)] 
Revert "ACCUMULO-4778 Cache table name to id map (#364)"

This reverts commit 5adeb4b7ed561a0bcea1a1def17835310831662f.

4 years agoRevert "ACCUMULO-4779 Speedup Property by precomputing and avoiding sync (#366)"
Keith Turner [Fri, 2 Feb 2018 17:11:53 +0000 (12:11 -0500)] 
Revert "ACCUMULO-4779 Speedup Property by precomputing and avoiding sync (#366)"

This reverts commit 1fe3ba12a943e590b89b2979e661e7dc447d0774.

4 years agoMerge branch '1.7' into 1.8
Ivan Bella [Thu, 1 Feb 2018 21:51:41 +0000 (16:51 -0500)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4777 Refine retry logging
Ivan Bella [Fri, 26 Jan 2018 14:31:11 +0000 (09:31 -0500)] 
ACCUMULO-4777 Refine retry logging

* Reverted to only log the warning message after attempt 1.
* Fixed log messages to display 1 based attempt number.
* Avoid logging warning on every retry.

4 years agoMerge branch '1.7' into 1.8
Keith Turner [Thu, 1 Feb 2018 17:37:53 +0000 (12:37 -0500)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4779 Speedup Property by precomputing and avoiding sync (#366)
Keith Turner [Thu, 1 Feb 2018 16:38:16 +0000 (11:38 -0500)] 
ACCUMULO-4779 Speedup Property by precomputing and avoiding sync (#366)

4 years agoMerge branch '1.7' into 1.8
Mike Miller [Tue, 30 Jan 2018 21:24:53 +0000 (16:24 -0500)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4778 Cache table name to id map (#364)
Mike Miller [Tue, 30 Jan 2018 21:21:13 +0000 (16:21 -0500)] 
ACCUMULO-4778 Cache table name to id map (#364)

* Improved performance anytime tableIdMap is accessed (by the API or internally)
* New class TableMap is cached per instance using Guava Cache
* Added watcher on Tables ZooCache that will refresh the TableMap on any ZK table updates
* Removed now obsolete internal cache from MultiTableBatchWriter

4 years agoMerge branch '1.7' into 1.8
Christopher Tubbs [Fri, 26 Jan 2018 01:21:38 +0000 (20:21 -0500)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4779 Fix warning; remove unused field
Christopher Tubbs [Fri, 26 Jan 2018 01:20:47 +0000 (20:20 -0500)] 
ACCUMULO-4779 Fix warning; remove unused field

Remove instanceId field from ZooConfiguration now that it is no longer
used after the ZooKeeper path is precomputed in its constructor.

4 years agoMerge branch '1.7' into 1.8
Keith Turner [Fri, 26 Jan 2018 00:44:56 +0000 (19:44 -0500)] 
Merge branch '1.7' into 1.8

4 years agoACCUMULO-4779 made getting vfs config more efficient
Keith Turner [Fri, 26 Jan 2018 00:44:05 +0000 (19:44 -0500)] 
ACCUMULO-4779 made getting vfs config more efficient

4 years agoACCUMULO-4779 Avoid locks in ZooCache when data in cache
Keith Turner [Fri, 26 Jan 2018 00:42:58 +0000 (19:42 -0500)] 
ACCUMULO-4779 Avoid locks in ZooCache when data in cache

ZooCache was using read and write locks.  For the case where lots
of threads were accessing data present in the cache the read locks
were really slowing things down.  This commit switches to immutable
copies of all the data present in the cache which require no locks
to access.  When the cache changes the immutable copies are
regenerated and then made available.

4 years agoMerge branch '1.7' into 1.8
Ivan Bella [Thu, 25 Jan 2018 21:29:35 +0000 (16:29 -0500)] 
Merge branch '1.7' into 1.8

Conflicts:
server/tserver/src/main/java/org/apache/accumulo/tserver/log/TabletServerLogger.java

4 years agoACCUMULO-4777: Added a backoff mechanism for writing to the WALs as we do for creatin...
Ivan Bella [Fri, 12 Jan 2018 14:45:42 +0000 (09:45 -0500)] 
ACCUMULO-4777: Added a backoff mechanism for writing to the WALs as we do for creating WALs but with unlimited retries.

4 years agoACCUMULO-4777 Removed the unused sequence generator.
Ivan Bella [Thu, 11 Jan 2018 23:56:51 +0000 (18:56 -0500)] 
ACCUMULO-4777 Removed the unused sequence generator.

4 years agoMerge branch '1.7' into 1.8
Mike Miller [Fri, 19 Jan 2018 20:02:16 +0000 (15:02 -0500)] 
Merge branch '1.7' into 1.8