accumulo.git
57 min ago#820 Fix ITs by using createAccumuloClient (#827) master
Mike Walch [Thu, 13 Dec 2018 19:15:37 +0000 (14:15 -0500)] 
#820 Fix ITs by using createAccumuloClient (#827)

* ITs were failing as getAccumuloClient was used within try-with-resources
* Replaced use of getAccumuloClient with createAccumuloClient to fix issue

21 hours agoCleanup TabletServerLogger code (#793)
Mike Miller [Wed, 12 Dec 2018 22:57:50 +0000 (17:57 -0500)] 
Cleanup TabletServerLogger code (#793)

* Remove unnecessary object manipulation across method calls
* Remove unused methods
* Replace code with lambdas
* Removed Mutations class that is no longer needed
* Removed extra loops for checking durability by creating maxDurability method
* Make Tserver not log mutation when durability is none
* Simplify sendables object that calls commit on mutations

21 hours agoRemoved unused code (#826)
Mike Walch [Wed, 12 Dec 2018 22:41:25 +0000 (17:41 -0500)] 
Removed unused code (#826)

* Code was not used by Accumulo, unit tests or ITs
* If this code is ever brought back to life, it should probably
  live in accumulo-testing repo or a personal repo

21 hours ago#820 - Make sure AccumuloClient is closed (#825)
Mike Walch [Wed, 12 Dec 2018 22:36:27 +0000 (17:36 -0500)] 
#820 - Make sure AccumuloClient is closed (#825)

* Closed AccumuloClient in many places where it was not being closed
* Updated method names to reflect if AccumuloClient should be closed.
* 'create' in method name means returned AccumuloClient must closed by user
* 'get' in method name means returned AccumuloClient doesn't need to be
  closed by user

23 hours agoCreate method for duplicate code in Tserver
Mike Miller [Wed, 12 Dec 2018 20:36:24 +0000 (15:36 -0500)] 
Create method for duplicate code in Tserver

2 days agoAuto-formatting fix (#814)
Mike Walch [Tue, 11 Dec 2018 16:41:19 +0000 (11:41 -0500)] 
Auto-formatting fix (#814)

2 days agoFixed MapReduce check (#814)
Mike Walch [Tue, 11 Dec 2018 16:14:20 +0000 (11:14 -0500)] 
Fixed MapReduce check (#814)

* Check was causing problems in RandomWalk test
  even though job was configured correctly

2 days agofixed javadoc 814/head
Mike Walch [Tue, 11 Dec 2018 15:42:42 +0000 (10:42 -0500)] 
fixed javadoc

2 days agoMake new MR API accept booleans. Closes #803 (#812)
Mike Miller [Mon, 10 Dec 2018 21:26:22 +0000 (16:26 -0500)] 
Make new MR API accept booleans. Closes #803 (#812)

2 days agoCR updates
Mike Walch [Mon, 10 Dec 2018 20:51:44 +0000 (15:51 -0500)] 
CR updates

3 days agoImproved tablet metadata abstraction layer and used it more. (#797)
Keith Turner [Mon, 10 Dec 2018 18:03:54 +0000 (13:03 -0500)] 
Improved tablet metadata abstraction layer and used it more. (#797)

3 days agoLog mini classpath at debug #703
Keith Turner [Mon, 10 Dec 2018 16:32:37 +0000 (11:32 -0500)] 
Log mini classpath at debug #703

5 days agoRemove unnecessary check
Mike Walch [Fri, 7 Dec 2018 22:46:50 +0000 (17:46 -0500)] 
Remove unnecessary check

* Check is causing problems in RandomWalk test
  even though job is configured correctly

5 days agoFixes #788 - Remove ClientInfo from API (#808)
Mike Walch [Fri, 7 Dec 2018 20:50:20 +0000 (15:50 -0500)] 
Fixes #788 - Remove ClientInfo from API (#808)

6 days agoCleanup hadoop-mapreduce (#809)
Mike Miller [Fri, 7 Dec 2018 18:33:16 +0000 (13:33 -0500)] 
Cleanup hadoop-mapreduce (#809)

* Drop unused unwrapping DelegationTokenStub and methods
* Drop exceptions never thrown

6 days agoInlined authenticate() into ConnectorImpl (#806)
Mike Walch [Fri, 7 Dec 2018 16:18:15 +0000 (11:18 -0500)] 
Inlined authenticate() into ConnectorImpl (#806)

6 days agoRemove unnecessary exceptions from ClientContext (#805)
Christopher Tubbs [Fri, 7 Dec 2018 15:23:31 +0000 (10:23 -0500)] 
Remove unnecessary exceptions from ClientContext (#805)

Remove exceptions which are never thrown, and clean up exception
handling of internal code which called ClientContext.getClient()

Fix rawtypes warnings by adding generic type parameters to
ClientBuilderImpl in AccumuloClientImpl

Save actions in IDE automatically converted some anonymous inner classes
to cleaner lambdas.

7 days agoMinor corrections to javadoc
Mike Miller [Thu, 6 Dec 2018 18:46:07 +0000 (13:46 -0500)] 
Minor corrections to javadoc

7 days agofixes #791 fixed bug in ConcurrentKeyExtentCacheTest (#801)
Keith Turner [Thu, 6 Dec 2018 15:08:32 +0000 (10:08 -0500)] 
fixes #791 fixed bug in ConcurrentKeyExtentCacheTest (#801)

7 days agoRemoved more ClientInfo references from API (#799)
Mike Walch [Wed, 5 Dec 2018 22:51:41 +0000 (17:51 -0500)] 
Removed more ClientInfo references from API (#799)

8 days agoInlined KeyExtent.getMetadataEntry
Keith Turner [Wed, 5 Dec 2018 20:02:35 +0000 (15:02 -0500)] 
Inlined KeyExtent.getMetadataEntry

8 days agoRunning the build formatted some code
Keith Turner [Wed, 5 Dec 2018 18:46:08 +0000 (13:46 -0500)] 
Running the build formatted some code

8 days agoReplace ClientInfo with properties in MR (#796)
Mike Miller [Wed, 5 Dec 2018 17:21:51 +0000 (12:21 -0500)] 
Replace ClientInfo with properties in MR (#796)

* Remove ClientInfo from the MapReduce API by replacing it with client properties

8 days agoUnit test and validation for client properties (#795)
Mike Walch [Wed, 5 Dec 2018 17:06:16 +0000 (12:06 -0500)] 
Unit test and validation for client properties (#795)

8 days ago#792 - formatting fixes
Mike Walch [Tue, 4 Dec 2018 21:31:17 +0000 (16:31 -0500)] 
#792 - formatting fixes

8 days agoFixes #776 - Move partitioners out of hadoopImpl (#794)
Christopher McTague [Tue, 4 Dec 2018 20:59:23 +0000 (15:59 -0500)] 
Fixes #776 - Move partitioners out of hadoopImpl (#794)

9 days agoUpdates to client builder API (#792)
Mike Walch [Tue, 4 Dec 2018 18:33:51 +0000 (13:33 -0500)] 
Updates to client builder API (#792)

* Removed use ClientInfo in AccumuloClient
* Removed changeUser method from AccumuloClient
* Created Accumulo.newClientProperties() for building client properties
* Removed client verification from AccumuloClient constructor but kept
  it for Connector
* Added properties() method to AccumuloClient

9 days agoFix warnings
Christopher Tubbs [Tue, 4 Dec 2018 03:25:39 +0000 (22:25 -0500)] 
Fix warnings

Remove unnecessary warnings suppressions
Inline deprecated import

9 days agoMerge branch '1.9'
Christopher Tubbs [Tue, 4 Dec 2018 03:08:18 +0000 (22:08 -0500)] 
Merge branch '1.9'

9 days agoFix warnings by adding missing generic types 1.9
Christopher Tubbs [Tue, 4 Dec 2018 03:03:27 +0000 (22:03 -0500)] 
Fix warnings by adding missing generic types

12 days agoMake auths optional in new MR API (#789)
Mike Miller [Fri, 30 Nov 2018 21:22:24 +0000 (16:22 -0500)] 
Make auths optional in new MR API (#789)

* Get the users auths if non are set

12 days agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/accumulo
Ivan Bella [Fri, 30 Nov 2018 21:01:19 +0000 (21:01 +0000)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/accumulo

12 days agoMerge branch '1.9'
Ivan Bella [Fri, 30 Nov 2018 20:59:32 +0000 (20:59 +0000)] 
Merge branch '1.9'

12 days agoMake durability propertyType case insensitive (#790)
Mike Miller [Fri, 30 Nov 2018 20:25:39 +0000 (15:25 -0500)] 
Make durability propertyType case insensitive (#790)

* Durability has uppercase values but the PropertyType.isValidFromat check fails if the
enum is set as a value.

13 days agofixes ACCUMULO-4410: Master did not resume balancing after administrative tserver... 781/head
Ivan Bella [Tue, 27 Nov 2018 20:16:09 +0000 (20:16 +0000)] 
fixes ACCUMULO-4410: Master did not resume balancing after administrative tserver shutdown
  - Updated the master to reduce the serversToShutdown to only those that are current.
  - Removed the statefulness of the ShutdownTServer fate operation as that state is never actually maintained.
  - Ensure the update() call is continuously invoked ensuring we clean up the serversToShutdown in a timely manor.

13 days agofixes #785 avoid using system classloader in client rfile code (#786)
Keith Turner [Fri, 30 Nov 2018 15:44:06 +0000 (10:44 -0500)] 
fixes #785 avoid using system classloader in client rfile code (#786)

* fixes #785 avoid using system classloader in client rfile code

Properly making this change cascaded into wider changes.  Trying to avoid the
system classloader led to the discovery of code in BCFile that created a
crypto service using static config and the system classloader.  I realized
this code needed to go which resulted in making the crypto service mandatory
when opening an RFile.  This led to pushing the  ServerContext further into
code, which is a good thing.

The following actions were taken :

 * Made CryptoService a required argument for opening a file in FileOperations
 * MAde CryptoServiceFactory require the caller to specify if accumulo
   classloader should be used.
 * Added CryptoServiceFactory.newDefaultInstance() method and called this in
   places like test code that just need the default crypto service.
 * Pushed ServerContext further into code.  One nice thing about this is that
   things available from ServerContext no longer needed to passed.

13 days agoMonitor 2.0: Minor bug fixes, chart updates (#745)
cleroux [Fri, 30 Nov 2018 00:33:44 +0000 (16:33 -0800)] 
Monitor 2.0: Minor bug fixes, chart updates (#745)

* Fix avatar jumping left/right between small/medium layouts
* Overview chart updates

2 weeks agoUpdate generated doc order to match website
Mike Miller [Thu, 29 Nov 2018 00:18:04 +0000 (19:18 -0500)] 
Update generated doc order to match website

2 weeks agoCreate types in ClientProperty. Closes #778 (#779)
Mike Miller [Wed, 28 Nov 2018 20:35:57 +0000 (15:35 -0500)] 
Create types in ClientProperty. Closes #778 (#779)

* Fixes precision with BW config. Closes #778
* Added property types to ClientProperty
* Renamed batch writer props for consistency with server properties
* Add default to durability PropertyType bounds
* Use separate getter and setter methods for different types

2 weeks agofixes #780 fix rfile client replication bug (#782)
Keith Turner [Tue, 27 Nov 2018 20:59:00 +0000 (15:59 -0500)] 
fixes #780 fix rfile client replication bug (#782)

2 weeks agoRemove debug statement
Mike Miller [Tue, 27 Nov 2018 20:53:44 +0000 (15:53 -0500)] 
Remove debug statement

2 weeks agoVerifying whether JAVA_HOME is set or not (#772)
Sumanth [Tue, 27 Nov 2018 17:43:35 +0000 (23:13 +0530)] 
Verifying whether JAVA_HOME is set or not (#772)

2 weeks agofixes #774 removed race condition in lru cache (#775)
Keith Turner [Tue, 27 Nov 2018 17:42:10 +0000 (12:42 -0500)] 
fixes #774 removed race condition in lru cache (#775)

2 weeks agoSuppress FB warnings in new MR ITs
Mike Miller [Tue, 27 Nov 2018 17:06:57 +0000 (12:06 -0500)] 
Suppress FB warnings in new MR ITs

2 weeks agoMR Improvements Closes #753 #751 (#765)
Mike Miller [Mon, 26 Nov 2018 18:51:46 +0000 (13:51 -0500)] 
MR Improvements Closes #753 #751 (#765)

* Combine MR static method and builder. Closes #753
* Remove BWConfig from map reduce API.  Closes #751
* Replace setInfo methods with configure which begins fluent API
* Replace *Info objects with *FormatBuilders
* Migrate tests from core to use new API

Co-authored-by: Keith Turner <kturner@apache.org>
* Limit MR config to Job XOR JobConf (#13)

2 weeks agoRemove unused imports from BatchWriterConfig
Mike Miller [Fri, 23 Nov 2018 21:05:37 +0000 (16:05 -0500)] 
Remove unused imports from BatchWriterConfig

3 weeks agoGet defaults for BatchWriterConfig from ClientProperty (#777)
Mike Miller [Thu, 22 Nov 2018 00:00:52 +0000 (19:00 -0500)] 
Get defaults for BatchWriterConfig from ClientProperty (#777)

3 weeks agofixes #518 ignore non rfiles in new bulk import (#773)
Keith Turner [Tue, 20 Nov 2018 13:14:57 +0000 (08:14 -0500)] 
fixes #518 ignore non rfiles in new bulk import (#773)

3 weeks agoAvoid two copies of INSTALL.md in source & website (#770)
Mike Walch [Mon, 19 Nov 2018 17:13:16 +0000 (12:13 -0500)] 
Avoid two copies of INSTALL.md in source & website (#770)

* Removing INSTALL.md in source
* README.md now points to quickstart on website which is
  equivalent to INSTALL.md

3 weeks agoMerge branch '1.9'
Christopher Tubbs [Thu, 15 Nov 2018 23:43:39 +0000 (18:43 -0500)] 
Merge branch '1.9'

3 weeks agoFormat C++ code (manually)
Christopher Tubbs [Thu, 15 Nov 2018 23:41:43 +0000 (18:41 -0500)] 
Format C++ code (manually)

* Replace tabs with 2-space indents
* Remove trailing whitespace
* Remove a few excessive blank lines
* Apply indentation uniformly with vim '='

3 weeks agofixes #767 correct allocation issue in native maps (#769)
Keith Turner [Thu, 15 Nov 2018 23:35:45 +0000 (18:35 -0500)] 
fixes #767 correct allocation issue in native maps (#769)

This fixes a bug that was found when building the native maps against
Fedora 29.  The cause of the bug was that an empty C++ map seemed to
allocate a small amount of memory, which was a new behavior.  This new
behavior violated an assumption made by the custom alloctor used by the
native map code.  The code was restructured to avoid this issue.

3 weeks agoACCUMULO-4496 Added link to 2.x docs
Mike Walch [Thu, 15 Nov 2018 22:45:26 +0000 (17:45 -0500)] 
ACCUMULO-4496 Added link to 2.x docs

3 weeks agoMerge branch '1.9'
Mike Walch [Thu, 15 Nov 2018 22:28:49 +0000 (17:28 -0500)] 
Merge branch '1.9'

3 weeks agoMerge branch 'pr-697' into 1.9
Mike Walch [Thu, 15 Nov 2018 22:24:50 +0000 (17:24 -0500)] 
Merge branch 'pr-697' into 1.9

4 weeks agoMerge branch '1.9'
Christopher Tubbs [Thu, 15 Nov 2018 16:00:58 +0000 (11:00 -0500)] 
Merge branch '1.9'

4 weeks agoMinor clean up from #766
Christopher Tubbs [Thu, 15 Nov 2018 15:44:15 +0000 (10:44 -0500)] 
Minor clean up from #766

* Make commons-configuration dependency in assembly module optional, to
avoid transitive dependency resolution if somebody depends on the
assembly module.
* Sort assembly component includes, for easier
comparison/diff/deduplication

4 weeks agoMerge branch '1.9'
Sean Busbey [Thu, 15 Nov 2018 15:16:49 +0000 (09:16 -0600)] 
Merge branch '1.9'

4 weeks agoAdjusted packaging by moving impl and crypto related classes into new
Mark Owens [Tue, 13 Nov 2018 19:57:32 +0000 (14:57 -0500)] 
Adjusted packaging by moving impl and crypto related classes into new
packages that were not part of the API packaging naming system.

4 weeks agoInclude commons-configuration in our convenience binaries for Hadoop 2. (#766)
Sean Busbey [Thu, 15 Nov 2018 12:36:42 +0000 (06:36 -0600)] 
Include commons-configuration in our convenience binaries for Hadoop 2. (#766)

We need newer than Hadoop 2.y releases provide now, so bring our own along.

Closes #757

4 weeks agoFixes #747 - Shorten method names in AccumuloClient builder (#752)
Mike Walch [Wed, 14 Nov 2018 20:44:09 +0000 (15:44 -0500)] 
Fixes #747 - Shorten method names in AccumuloClient builder (#752)

4 weeks agofixes #495 use file len cache for summary data (#741)
Keith Turner [Tue, 13 Nov 2018 16:49:05 +0000 (11:49 -0500)] 
fixes #495 use file len cache for summary data (#741)

4 weeks agoFix warnings and jar sealing issues with ITs (#761)
Christopher Tubbs [Sun, 11 Nov 2018 05:53:26 +0000 (00:53 -0500)] 
Fix warnings and jar sealing issues with ITs (#761)

* Fix compiler warnings
  * Add missing Deprecated annotation in class method which overrides
    deprecated interface method
  * Add trivial notNull checks in test try-with-resources methods which
    didn't otherwise reference the resource inside the try block
  * Add fail() methods to fail after a test method is called which is
    expected to throw an exception, in order to ensure the exception is
    thrown in the correct line, and to add a reference to the assigned
    variable
  * Add generic parameters and final keyword to CLASS constants in new
    hadoop-mapreduce module
  * Remove import statement for deprecated class
* Rename packages for ITs in new hadoop-mapreduce module to avoid jar
sealing conflicts between the module's main jar and the IT classes
* Fix trivial typos in a comment seen in UserCompactionStrategyIT

4 weeks agoDeclare test module's dependency on native libs
Christopher Tubbs [Fri, 9 Nov 2018 17:54:48 +0000 (12:54 -0500)] 
Declare test module's dependency on native libs

The test module depends on the native libs. This declares that
dependency explicitly, so that Maven orders the build so that the native
libs are built prior to running the integration tests.

4 weeks agoMerge branch '1.9'
Keith Turner [Fri, 9 Nov 2018 15:37:30 +0000 (10:37 -0500)] 
Merge branch '1.9'

4 weeks agoOnly requeue compaction when there was activity (#759)
Keith Turner [Fri, 9 Nov 2018 15:36:26 +0000 (10:36 -0500)] 
Only requeue compaction when there was activity (#759)

5 weeks agoAdded additional crypto unit tests (#756)
Nick Felts [Thu, 8 Nov 2018 18:41:07 +0000 (13:41 -0500)] 
Added additional crypto unit tests (#756)

* Test for missing KEK uri file
* Test for empty KEK uri file
* Test for unwrapping with an incorrect KEK
* Added IllegalArgumentException to catch in AESKeyUtils.loadKekFromUri to provide more useful error message

5 weeks agoNew MapReduce API (#743)
Mike Miller [Wed, 7 Nov 2018 18:15:32 +0000 (13:15 -0500)] 
New MapReduce API (#743)

* Created OutputInfo, FileOutputInfo, InputInfo fluent API for building options for single static method
* Made top level classes extend hadoop classes and moved underlying code to hadoopImpl
* Updated unit Tests in hadoop-mapreduce to use new API
* Created NewAccumuloInputFormatIT to test new API
* Added log4j.properties for testing
* Removed AccumuloMultiTableInputFormat (see #749)
* Removed setting of Log4j loglevel
* Remove deprecated methods and broken javadoc

5 weeks agoFix formatting
Mike Miller [Wed, 7 Nov 2018 15:55:39 +0000 (10:55 -0500)] 
Fix formatting

5 weeks agoUpdated accumulo-env.sh to include existing CLASSPATH (#750)
Mike Walch [Wed, 7 Nov 2018 15:11:07 +0000 (10:11 -0500)] 
Updated accumulo-env.sh to include existing CLASSPATH (#750)

5 weeks agoFixes #533 - Create scanners with default user auths (#744)
Mike Walch [Fri, 2 Nov 2018 20:44:57 +0000 (16:44 -0400)] 
Fixes #533 - Create scanners with default user auths (#744)

5 weeks agoAvoid ZK watch when checking if property is set (#740)
Mike Walch [Fri, 2 Nov 2018 16:40:53 +0000 (12:40 -0400)] 
Avoid ZK watch when checking if property is set (#740)

* Updated AccumuloConfig.isPropertySet() method optionally cache and
  watch for changes in the property

5 weeks agoEliminate use of async:false for ajax requests (#732)
cleroux [Fri, 2 Nov 2018 13:28:49 +0000 (06:28 -0700)] 
Eliminate use of async:false for ajax requests (#732)

5 weeks agoRemove warnings and fix broken javadocs
Christopher Tubbs [Thu, 1 Nov 2018 23:46:04 +0000 (19:46 -0400)] 
Remove warnings and fix broken javadocs

Also bump the formatter-maven-plugin to the recently released and
current latest 2.8.1

6 weeks agoAdded Authorization Summarizer (#737)
Keith Turner [Tue, 30 Oct 2018 21:08:41 +0000 (17:08 -0400)] 
Added Authorization Summarizer (#737)

6 weeks agoMerge branch '1.9'
Keith Turner [Tue, 30 Oct 2018 20:54:41 +0000 (16:54 -0400)] 
Merge branch '1.9'

6 weeks agoRevert commons-vfs2 version (#728)
matthpeterson [Tue, 30 Oct 2018 20:53:27 +0000 (16:53 -0400)] 
Revert commons-vfs2 version (#728)

Roll back to commons-vfs2 version 2.1 due to bugs with 2.2.  See dev mailing list thread: "commons-vfs2.jar 2.2 buggy"

6 weeks agoMerge branch '726a'
Mike Walch [Tue, 30 Oct 2018 19:51:09 +0000 (15:51 -0400)] 
Merge branch '726a'

6 weeks agoMade AccumuloClient Closeable (#718)
Keith Turner [Tue, 30 Oct 2018 19:40:24 +0000 (15:40 -0400)] 
Made AccumuloClient Closeable (#718)

With this change when all AccumuloClients are closed all static resources are
automatically cleaned up.  This includes threads and sockets referenced by
static singletons.  Also, fail fast checks were added to make user code calling
a closed client error out.

This change puts Accumulo on the path to remove static code.  Removing static
code is predicated on AccumuloClient being closeable.  Making AccumuloClient
closeable is best done at it inception as this behavior would be hard to add
after release.

When Connector is used, this change keeps static behavior compatible with
previous versions of Accumulo.

Most of the ITs were updated to manage AccumuloClients using try with
resources.

6 weeks agoCode review updates (#726)
Mike Walch [Mon, 29 Oct 2018 20:25:36 +0000 (16:25 -0400)] 
Code review updates (#726)

* Only print warnings if config property is set
* Only print warnings in ServerUtil when process starts

6 weeks agoFixes #725 - Log deprecated properties (#726)
Michael Schnitzler [Fri, 26 Oct 2018 10:25:38 +0000 (12:25 +0200)] 
Fixes #725 - Log deprecated properties (#726)

6 weeks agoMerge branch '1.9'
Josh Elser [Mon, 29 Oct 2018 22:00:20 +0000 (18:00 -0400)] 
Merge branch '1.9'

6 weeks agoMake the ACCUMULO_MONITOR_BIND_ALL property case-insensitive checking
Josh Elser [Mon, 29 Oct 2018 18:53:15 +0000 (14:53 -0400)] 
Make the ACCUMULO_MONITOR_BIND_ALL property case-insensitive checking

Closes #734

Signed-off-by: Keith Turner <kturner@apache.org>
6 weeks agoMerge branch '1.9'
Keith Turner [Mon, 29 Oct 2018 17:15:45 +0000 (13:15 -0400)] 
Merge branch '1.9'

6 weeks agofixes #587 In table delete wait for tablets assigned to dead servers (#727)
Keith Turner [Mon, 29 Oct 2018 16:53:17 +0000 (12:53 -0400)] 
fixes #587 In table delete wait for tablets assigned to dead servers (#727)

The tableOps.CleanUp.isReady() operation was not waiting on tablets that were
assigned to dead tablet servers.  The master will attempt to write logs and
delete the location for these tablets.  Therefore its best to wait for the
Master to make its metadata update before proceeding to clean up a deleted
table's metadata.  Not waiting could result in junk in the metadata table.

Also, slightly unrelated to this bug fix I noticed that the transition table
state method in TabletGroupWatcher was not idempotent. Specifically if a FATE
delete table op attempted to transition a table to DELETING that was already
DELETING it would have thrown an error.  Now transitioning DELETING to
DELETING should be a noop.

6 weeks agofix formatting
Keith Turner [Mon, 29 Oct 2018 16:48:35 +0000 (12:48 -0400)] 
fix formatting

6 weeks agoFixes deprecation warning. Closes #701 (#722)
Mike Miller [Fri, 26 Oct 2018 19:10:47 +0000 (15:10 -0400)] 
Fixes deprecation warning. Closes #701 (#722)

6 weeks agoFix Travis conflict with rat plugin
Christopher Tubbs [Fri, 26 Oct 2018 14:09:29 +0000 (10:09 -0400)] 
Fix Travis conflict with rat plugin

The travis_wait command in Travis CI causes maven-rat-plugin check
failures, so this modifies the build command to only run that for the
spotbugs/findsecbugs task that disables rat check.

In addition to the Travis console timeout, which was increased to 20
minutes, spotbugs has its own timeout, which must be increased for
findsecbugs, which runs slowly in Travis CI's infrastructure. That is
now increased to 20 minutes from the default of 10 as well.

6 weeks agoAdjust travis timeout for build output
Christopher Tubbs [Fri, 26 Oct 2018 13:47:48 +0000 (09:47 -0400)] 
Adjust travis timeout for build output

* Update spotbugs to latest 3.1.7
* Adjust timeout settings in Travis CI so that it doesn't timeout when
the build doesn't print something to the console within 10 minutes. The
new setting is 20 minutes. This gives spotbugs, when run with the
findsecbugs plugin, more time to analyze the code for security bugs,
which would otherwise timeout frequently on our large core module.

6 weeks agoFix path to parent POM
Christopher Tubbs [Fri, 26 Oct 2018 04:10:29 +0000 (00:10 -0400)] 
Fix path to parent POM

6 weeks agoCleanup MapReduce package and API (#712)
Mike Miller [Thu, 25 Oct 2018 22:39:46 +0000 (18:39 -0400)] 
Cleanup MapReduce package and API (#712)

* Copy back old MapReduce code to core
* Rename new MapReduce module and package names
* Use org.apache.accumulo.hadoop.{mapred,mapreduce} for API
* Use org.apache.accumulo.hadoopImpl for non-API

7 weeks agoFix formatting from merge
Mike Miller [Thu, 25 Oct 2018 20:12:23 +0000 (16:12 -0400)] 
Fix formatting from merge

7 weeks agoFix #713 Monitor 2.0 overview plots overlap when resizing browser window (#714)
cleroux [Thu, 25 Oct 2018 17:33:47 +0000 (10:33 -0700)] 
Fix #713 Monitor 2.0 overview plots overlap when resizing browser window (#714)

7 weeks agoMerge branch '1.9'
Mike Miller [Wed, 24 Oct 2018 22:08:50 +0000 (18:08 -0400)] 
Merge branch '1.9'

* Closes #705
* Closes #706

7 weeks agoFix Job object param in mapreduce.InputFormatBase (#719)
Mike Miller [Tue, 23 Oct 2018 17:25:43 +0000 (13:25 -0400)] 
Fix Job object param in mapreduce.InputFormatBase (#719)

7 weeks agoSort imports
Mike Miller [Mon, 22 Oct 2018 22:41:45 +0000 (18:41 -0400)] 
Sort imports

7 weeks agoUpdates to code that generate configuration docs (#717)
Mike Walch [Mon, 22 Oct 2018 17:25:49 +0000 (13:25 -0400)] 
Updates to code that generate configuration docs (#717)

7 weeks agoRemoved Accumulo class name conflict (#716)
Mike Walch [Mon, 22 Oct 2018 17:03:44 +0000 (13:03 -0400)] 
Removed Accumulo class name conflict (#716)

* Class with same name exist in core & server-base
* Renamed Accumulo class in server-base to ServerUtil
* Updated code to use Accumulo.newClient() instead of impl code

7 weeks agoTableName from baseSplit is ignored, when getting inputTableConfig within AbstractInp...
Denys Kuzmenko [Mon, 22 Oct 2018 16:06:38 +0000 (18:06 +0200)] 
TableName from baseSplit is ignored, when getting inputTableConfig within AbstractInputFormat.initialize() (#711)

7 weeks agoCreated ClientInfo.from(configFile) (#715)
Mike Walch [Mon, 22 Oct 2018 13:53:12 +0000 (09:53 -0400)] 
Created ClientInfo.from(configFile) (#715)

* Consolidated all code for reading config file into one method