accumulo.git
5 years ago[maven-release-plugin] prepare release rel/1.7.3 rel/1.7.3
Ed Coleman [Fri, 10 Mar 2017 11:48:55 +0000 (06:48 -0500)] 
[maven-release-plugin] prepare release rel/1.7.3

5 years agoACCUMULO-4600: Fix to properly read from accumulo-site.xml 232/head
Mike Miller [Wed, 8 Mar 2017 21:12:48 +0000 (16:12 -0500)] 
ACCUMULO-4600: Fix to properly read from accumulo-site.xml

5 years agoACCUMULO-4597 fixed bug in rfile-info 229/head
Keith Turner [Mon, 6 Mar 2017 23:48:29 +0000 (18:48 -0500)] 
ACCUMULO-4597 fixed bug in rfile-info

5 years agoACCUMULO-4590 Use JSON.parse instead of eval
Christopher Tubbs [Wed, 22 Feb 2017 19:19:57 +0000 (14:19 -0500)] 
ACCUMULO-4590 Use JSON.parse instead of eval

5 years agoACCUMULO-4519 regenerate thrift
Christopher Tubbs [Thu, 9 Feb 2017 21:28:55 +0000 (16:28 -0500)] 
ACCUMULO-4519 regenerate thrift

5 years agoACCUMULO-4519 patch from Yudong Wu
Michael Wall [Thu, 9 Feb 2017 21:13:47 +0000 (16:13 -0500)] 
ACCUMULO-4519 patch from Yudong Wu

Adds missing system permission and namespace functionality to the proxy.

5 years agoMerge branch 'mjwall-ACCUMULO-4481' into 1.7
Michael Wall [Thu, 9 Feb 2017 15:46:31 +0000 (10:46 -0500)] 
Merge branch 'mjwall-ACCUMULO-4481' into 1.7

5 years agoACCUMULO-4479 Removing UPGRADING.md in favor 216/head
Michael Wall [Thu, 9 Feb 2017 15:34:15 +0000 (10:34 -0500)] 
ACCUMULO-4479 Removing UPGRADING.md in favor

of adding upgrade instructions to release notes

5 years agoACCUMULO-4577: modified exception thrown by Tables.getNamespaceId
Mike Miller [Thu, 2 Feb 2017 14:02:57 +0000 (09:02 -0500)] 
ACCUMULO-4577: modified exception thrown by Tables.getNamespaceId

5 years agoACCUMULO-4574 Modified TableOperations online to check if table is already online...
Ed Coleman [Mon, 6 Feb 2017 18:47:15 +0000 (13:47 -0500)] 
ACCUMULO-4574 Modified TableOperations online to check if table is already online before executing fate transaction.

When the online command is issued, the fate operation will block if a fate
transaction has locked the table. If the table is already online, there is no
reason to block and then issue the online operation. This modification turns
the online command into a noop if the table is already online. This change
includes an IT test that uses a compaction with slow iterator to cause the fate
transaction to lock a table and then runs the online command - checking that
the operation did not block.

Squashed commit of the following:

Note from kturner :In addition to squasing the following commits, I also
organized the imports on TableOperationsImpl.  This is a changes that not
present in the commits mentioned below.

commit 6d8a0502f3d028f6489512764a3ebc9e8a862d99
Author: Ed Coleman <dev1@etcoleman.com>
Date:   Sat Feb 4 12:15:23 2017 -0500

    ACCUMULO-4574 Refactored Tables.getTableState() to optionally clear cache and TableOperations.online() to use added method.

    This updates the pull request with review comments to create a getTableState method that can optionally clear the
    zookeeper cache.

commit 03a8dbc82404c2ff34c166b522ddab3e922bc6ce
Merge: 0d0e103 33712bb
Author: Ed Coleman <dev1@etcoleman.com>
Date:   Sat Feb 4 08:35:08 2017 -0500

    Merge remote-tracking branch 'upstream/1.7' into ACCUMULO-4574

commit 0d0e103d23b0f37921fc2ed5d03bea0e8de79f0b
Author: Ed Coleman <dev1@etcoleman.com>
Date:   Sun Jan 29 03:09:41 2017 -0500

    ACCUMULO-4574 Modify table online operation to check for online state before executing fate operation

    This commit updates the pull request to incorporate review comments. It also contains the changes
    from Keith Turner in pull request 209 - ACCUMULO-4578 that provides refactored AdminUtil.FateStatus class.
    - modified test to use AdminUtil.FateStatus class.
    - added method to clear zoocache by path to Tables.
    - added cache clear for table state to online check.

commit 7588c90dc5ec755ce167f1e2877081ad3e98ecd8
Merge: 1a20212 db84650
Author: Ed Coleman <dev1@etcoleman.com>
Date:   Sat Jan 28 15:25:01 2017 -0500

    Merge remote-tracking branch 'keith-turner/ACCUMULO-4578' into ACCUMULO-4574

commit 1a20212065a767b3edf428911fd9f184393deb5d
Merge: 32c13d5 0385bd7
Author: Ed Coleman <dev1@etcoleman.com>
Date:   Sat Jan 28 14:37:04 2017 -0500

    Merge branch 'ACCUMULO-4574' of github.com:EdColeman/accumulo into ACCUMULO-4574

commit 32c13d59e6585fe3e8735f5d586593e801c23f27
Author: Ed Coleman <dev1@etcoleman.com>
Date:   Tue Jan 24 00:14:32 2017 -0500

    ACCUMULO-4574 Partial update of online noop test incorporating some pull request comments for additional review.

    - Increased blocked online timeout to up to compaction time.
    - extended AccumuloClusterIT instead of ConfigurableMacIT
    - refactored online op thread to use callable with a future, simplyfing timing and eliminating exception handling.

    Other pull request comments dealing with FATE internals, possible FATE utility and zoo cache require addition
    evaluation and will be included in future commit.

commit 259eedaa18a3f3fff4df8eafb78c1a706b8d558b
Author: Ed Coleman <dev1@etcoleman.com>
Date:   Sun Jan 22 20:25:58 2017 -0500

    ACCUMULO-4574 Modified TableOperations online to check if table is already online before executing fate transaction.

    When the online command is issued, the fate operation will block if a fate transaction has locked the table. If
    the table is already online, there is no reason to block and then issue the online operation. This modification
    turns the online command into a noop if the table is already online. This change includes an IT
    test that uses a compaction with slow iterator to cause the fate transaction to lock a table and
    then runs the online command - checking that the operation did not block.

commit 0385bd73ab2fa3d8c949c779623577810f877c35
Author: Ed Coleman <dev1@etcoleman.com>
Date:   Tue Jan 24 00:14:32 2017 -0500

    ACCUMULO-4574 Partial update of online noop test incorporating some pull request comments for additional review.

    - Increased blocked online timeout to up to compaction time.
    - extended AccumuloClusterIT instead of ConfigurableMacIT
    - refactored online op thread to use callable with a future, simplyfing timing and eliminating exception handling.

    Other pull request comments dealing with FATE internals, possible FATE utility and zoo cache require addition
    evaluation and will be included in future commit.

commit 058173b59b8e97503a00ec095a9a4235370a9aaa
Author: Ed Coleman <dev1@etcoleman.com>
Date:   Sun Jan 22 20:25:58 2017 -0500

    ACCUMULO-4574 Modified TableOperations online to check if table is already online before executing fate transaction.

    When the online command is issued, the fate operation will block if a fate transaction has locked the table. If
    the table is already online, there is no reason to block and then issue the online operation. This modification
    turns the online command into a noop if the table is already online. This change includes an IT
    test that uses a compaction with slow iterator to cause the fate transaction to lock a table and
    then runs the online command - checking that the operation did not block.

5 years agoSquashed commit of the following:
Michael Wall [Thu, 2 Feb 2017 15:38:17 +0000 (10:38 -0500)] 
Squashed commit of the following:

commit b6d788398464b7661f0daf9d43bb2e5202f966d8
Author: Luis Tavarez <zeravat@outlook.com>
Date:   Mon Jan 30 11:04:54 2017 -0500

    ACCUMULO-4446 Commiting to run Jenkins

commit 42b0a133e49f3583e7a2e0324f2792f745acf910
Merge: e76b11f 42abc6b
Author: Luis Tavarez <zeravat@outlook.com>
Date:   Mon Jan 30 08:25:44 2017 -0500

    Merge branch 'ACCCUMULO-4446-1.7' of github.com:lstav/accumulo into ACCCUMULO-4446-1.7

commit e76b11f00d34e2c52afb19f75821296b37379ae2
Author: Luis Tavarez <zeravat@outlook.com>
Date:   Mon Jan 30 08:25:18 2017 -0500

    ACCUMULO-4446 Changed format of log messages

commit 42abc6b4ec8f720eefb1b7c2d43e5aee643f6ff3
Merge: 43b196f 23b7969
Author: Luis Tavarez <zeravat@outlook.com>
Date:   Thu Jan 26 18:07:21 2017 -0500

    Merge branch 'ACCCUMULO-4448-1.7' of github.com:lstav/accumulo into ACCCUMULO-4446-1.7

commit 43b196fbd93f7b1d0fae4a0ccca57d9a98be7491
Author: Luis Tavarez <zeravat@outlook.com>
Date:   Thu Jan 26 09:35:40 2017 -0500

    ACCUMULO-4446 Added log messages when acquiring Master, Monitor, ZK, and GC locks

commit 23b7969a8ecf557ab5653fdc8f5075ddf251b157
Author: Luis Tavarez <zeravat@outlook.com>
Date:   Thu Jan 26 09:35:40 2017 -0500

    ACCUMULO-4446 Making changes to 1.7

Signed-off-by: Michael Wall <mjwall@apache.org>
5 years agoACCUMULO-4578 fixed checkstyle issue
Keith Turner [Mon, 30 Jan 2017 22:02:53 +0000 (17:02 -0500)] 
ACCUMULO-4578 fixed checkstyle issue

5 years agoACCUMULO-4578 added some javadoc 209/head
Keith Turner [Mon, 30 Jan 2017 18:02:34 +0000 (13:02 -0500)] 
ACCUMULO-4578 added some javadoc

5 years agoACCUMULO-4578 release namespace lock when compaction canceled
Keith Turner [Fri, 27 Jan 2017 02:42:03 +0000 (21:42 -0500)] 
ACCUMULO-4578 release namespace lock when compaction canceled

5 years agoACCUMULO-4575 Fixed concurrent delete issue in FATE ops
Keith Turner [Thu, 26 Jan 2017 22:47:22 +0000 (17:47 -0500)] 
ACCUMULO-4575 Fixed concurrent delete issue in FATE ops

5 years agoACCUMULO-4576: Always use the most current tablet server information to make assignme...
Dave Marion [Wed, 25 Jan 2017 20:41:01 +0000 (15:41 -0500)] 
ACCUMULO-4576: Always use the most current tablet server information to make assignment / balancing decisions

5 years agoACCUMULO-4575 Fixed concurrent delete table bug
Keith Turner [Wed, 25 Jan 2017 17:19:01 +0000 (12:19 -0500)] 
ACCUMULO-4575 Fixed concurrent delete table bug

5 years agoACCUMULO-4571 Move the migration log message from debug to trace 201/head
Josh Elser [Tue, 17 Jan 2017 21:25:36 +0000 (16:25 -0500)] 
ACCUMULO-4571 Move the migration log message from debug to trace

5 years agoACCUMULO-4549 Deprecate extra init in TabletBalancer
Christopher Tubbs [Wed, 11 Jan 2017 22:22:41 +0000 (17:22 -0500)] 
ACCUMULO-4549 Deprecate extra init in TabletBalancer

5 years agoACCUMULO-4541 Ensure grep output gets flushed
Christopher Tubbs [Mon, 9 Jan 2017 22:52:16 +0000 (17:52 -0500)] 
ACCUMULO-4541 Ensure grep output gets flushed

Ensure output of grep command in shell (and egrep) gets flushed to the
output file when the '-o' option is used. Also ensure the '-o' option is
not shown as an option in ScanCommand subclasses which do not support
its use.

5 years agoACCUMULO-4565 Update copyright dates to 2017
Christopher Tubbs [Mon, 9 Jan 2017 22:27:27 +0000 (17:27 -0500)] 
ACCUMULO-4565 Update copyright dates to 2017

5 years ago[ACCUMULO-4535] Fix NPE in HostRegexTableLoadBalancer
Adam J. Shook [Thu, 15 Dec 2016 20:13:28 +0000 (15:13 -0500)] 
[ACCUMULO-4535] Fix NPE in HostRegexTableLoadBalancer

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-4534 Disable external entities in SAX parser
Josh Elser [Fri, 9 Dec 2016 03:44:09 +0000 (22:44 -0500)] 
ACCUMULO-4534 Disable external entities in SAX parser

Closes apache/accumulo#192

5 years agoACCUMULO-4533 TraceServer shouldn't abort given problems with trace table checks.
Sean Busbey [Wed, 7 Dec 2016 16:45:51 +0000 (10:45 -0600)] 
ACCUMULO-4533 TraceServer shouldn't abort given problems with trace table checks.

Signed-off-by: Mike Drob <mdrob@cloudera.com>
Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-4505: Another fix for shell errroneously reading conf
Mike Miller [Tue, 6 Dec 2016 16:31:55 +0000 (11:31 -0500)] 
ACCUMULO-4505: Another fix for shell errroneously reading conf

5 years agoACCUMULO-4525: replace meaningless method names
Mike Miller [Tue, 22 Nov 2016 15:59:44 +0000 (10:59 -0500)] 
ACCUMULO-4525: replace meaningless method names

5 years agoACCUMULO-4522: cleanup of unsed param in FileUtil
Mike Miller [Thu, 17 Nov 2016 18:55:03 +0000 (13:55 -0500)] 
ACCUMULO-4522: cleanup of unsed param in FileUtil

5 years agoACCUMULO-4505: Fix for Shell erroneously reading accumulo-site.xml 178/head
milleruntime [Tue, 1 Nov 2016 19:17:27 +0000 (15:17 -0400)] 
ACCUMULO-4505: Fix for Shell erroneously reading accumulo-site.xml

5 years agoACCUMULO-4504: Improved the help for Shell zookeeper options
Mike Miller [Mon, 7 Nov 2016 16:25:26 +0000 (11:25 -0500)] 
ACCUMULO-4504: Improved the help for Shell zookeeper options

5 years agoACCUMULO-4514 Remove unnecessary code
Christopher Tubbs [Fri, 4 Nov 2016 22:20:04 +0000 (18:20 -0400)] 
ACCUMULO-4514 Remove unnecessary code

* Remove unused imports
* Use diamond operators

5 years agoACCUMULO-4489 Monitor login for access to trace table should fall back to general...
Sean Busbey [Thu, 6 Oct 2016 14:21:59 +0000 (09:21 -0500)] 
ACCUMULO-4489 Monitor login for access to trace table should fall back to general kerberos keytab when trace keytab is not set.

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-2278 Return value from in.read() should be checked
mm376k [Tue, 11 Oct 2016 23:29:03 +0000 (19:29 -0400)] 
ACCUMULO-2278 Return value from in.read() should be checked

Return value from in.read() should be checked in
NonCachingSecretKeyEn.cryptionStrategy#doKeyEncryptionOperation()

Commits squashed and rebase'd onto 1.7 branch, formatted, and log
message reworded by ctubbsii. This closes #163

Signed-off-by: Christopher Tubbs <ctubbsii@apache.org>
5 years agoACCUMULO-4431 adding INFO log for random port assignment
Joe Harten [Wed, 12 Oct 2016 00:38:39 +0000 (20:38 -0400)] 
ACCUMULO-4431 adding INFO log for random port assignment

Closes apache/accumulo#165

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-2724 Changed option for threads to --numThreads.
Ed Coleman [Wed, 12 Oct 2016 00:24:53 +0000 (20:24 -0400)] 
ACCUMULO-2724 Changed option for threads to --numThreads.

- Changed the -t option for threads to --numThreads to elimiate conflict with table name option

5 years agoACCUMULO-4497 Remove unnecessary excludes files
Christopher Tubbs [Tue, 11 Oct 2016 22:47:55 +0000 (18:47 -0400)] 
ACCUMULO-4497 Remove unnecessary excludes files

* Remove "empty" findbugs exclude filter files
* Activate exclude filters for findbugs only when exclude filter file
  exists

5 years agoACCUMULO-4488 Fix numbered list (addendum)
Josh Elser [Sat, 8 Oct 2016 20:49:48 +0000 (16:49 -0400)] 
ACCUMULO-4488 Fix numbered list (addendum)

5 years agoACCUMULO-4488 update kerberos section in the user manual to fill some gaps.
Sean Busbey [Thu, 6 Oct 2016 16:43:50 +0000 (11:43 -0500)] 
ACCUMULO-4488 update kerberos section in the user manual to fill some gaps.

5 years agoACCUMULO-4454 Auto-determine version for manual
Christopher Tubbs [Thu, 29 Sep 2016 19:27:49 +0000 (15:27 -0400)] 
ACCUMULO-4454 Auto-determine version for manual

Use resource filtering to generate the Accumulo version placed in the
user manual. Also fix some minor broken links and old LaTeX syntax found
while testing.

5 years agoACCUMULO-4474 Unused import
Josh Elser [Thu, 29 Sep 2016 03:09:28 +0000 (23:09 -0400)] 
ACCUMULO-4474 Unused import

5 years agoACCUMULO-4476 User manual references old version
Mike Walch [Wed, 28 Sep 2016 14:34:38 +0000 (10:34 -0400)] 
ACCUMULO-4476 User manual references old version

* Changed version reference in installation instructions from 1.6.0
  to X.Y.Z so that it doesn't need to be updated for each release.

Closes apache/accumulo#156

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-4475 User manual references 'admin start'
Mike Walch [Wed, 28 Sep 2016 13:37:36 +0000 (09:37 -0400)] 
ACCUMULO-4475 User manual references 'admin start'

* Removed references as 'bin/accumulo admin start' command does not exist.

Closes apache/accumulo#155

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-4473 Add mention of scanners to continuous ingest README.md
Dima Spivak [Tue, 27 Sep 2016 18:28:22 +0000 (14:28 -0400)] 
ACCUMULO-4473 Add mention of scanners to continuous ingest README.md

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-4474 Make ExistingMacIT more deterministic in verification
Josh Elser [Tue, 27 Sep 2016 18:52:13 +0000 (14:52 -0400)] 
ACCUMULO-4474 Make ExistingMacIT more deterministic in verification

Remove the use of sleep for some action to happen, actively check
for the state we expect to see.

5 years agoACCUMULO-4471 Typo in user manual replication instructions
Dima Spivak [Sat, 24 Sep 2016 03:29:15 +0000 (20:29 -0700)] 
ACCUMULO-4471 Typo in user manual replication instructions

Signed-off-by: Sean Busbey <busbey@cloudera.com>
5 years agoACCUMULO-4461: modified commands to not prompt for a password
milleruntime [Fri, 23 Sep 2016 14:24:04 +0000 (10:24 -0400)] 
ACCUMULO-4461: modified commands to not prompt for a password

Closes apache/accumulo#154

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoRevert "ACCUMULO-4461: modified commands to not prompt for a password"
Josh Elser [Mon, 26 Sep 2016 13:10:34 +0000 (09:10 -0400)] 
Revert "ACCUMULO-4461: modified commands to not prompt for a password"

This reverts commit d23676dc3698d2ca6084b17cd4326b43dbcec41c.

5 years agoACCUMULO-4469 ConcurrentModificationException while running MultiTable.xml node in...
Dima Spivak [Fri, 23 Sep 2016 19:57:32 +0000 (12:57 -0700)] 
ACCUMULO-4469 ConcurrentModificationException while running MultiTable.xml node in Random Walk

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-4461: modified commands to not prompt for a password
Josh Elser [Fri, 23 Sep 2016 14:24:04 +0000 (10:24 -0400)] 
ACCUMULO-4461: modified commands to not prompt for a password

Closes apache/accumulo#154

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-4467 Ensure commons-math is on the classpath for RandomWalk MR jobs.
Sean Busbey [Wed, 21 Sep 2016 19:44:56 +0000 (14:44 -0500)] 
ACCUMULO-4467 Ensure commons-math is on the classpath for RandomWalk MR jobs.

5 years agoMerge remote-tracking branch 'origin/1.6.6-rc2' into 1.7
Christopher Tubbs [Mon, 19 Sep 2016 00:44:58 +0000 (20:44 -0400)] 
Merge remote-tracking branch 'origin/1.6.6-rc2' into 1.7

5 years agoACCUMULO-4444: added check for null token in ConnectorImpl
Mike Miller [Thu, 15 Sep 2016 18:43:33 +0000 (14:43 -0400)] 
ACCUMULO-4444: added check for null token in ConnectorImpl

Closes apache/accumulo#153

Signed-off-by: Josh Elser <elserj@apache.org>
5 years ago[maven-release-plugin] prepare release rel/1.6.6 rel/1.6.6
Christopher Tubbs [Thu, 15 Sep 2016 20:23:31 +0000 (16:23 -0400)] 
[maven-release-plugin] prepare release rel/1.6.6

5 years agoMerge branch '1.6' into 1.7
Christopher Tubbs [Thu, 15 Sep 2016 19:11:20 +0000 (15:11 -0400)] 
Merge branch '1.6' into 1.7

No change to 1.7+ (ACCUMULO-4459 only affects 1.6)

5 years agoACCUMULO-4459 Fix compile with hadoop 1 profile
Christopher Tubbs [Thu, 15 Sep 2016 19:05:14 +0000 (15:05 -0400)] 
ACCUMULO-4459 Fix compile with hadoop 1 profile

* Avoid Hadoop 2-only FileSystem method
* Affects 1.6 versions only (1.7+ require Hadoop 2)

5 years agoACCUMULO-4458 reduce contention on config retrievals.
Sean Busbey [Tue, 6 Sep 2016 16:52:37 +0000 (11:52 -0500)] 
ACCUMULO-4458 reduce contention on config retrievals.

We retrieve configuration values in a few hot code paths, so contention
on getting the site configuration and values that are only read from the filesystem
once causes a perf impact. We try to reduce that here in a few ways:

* Since SiteConfiguration is a singleton, we only retrieve it once when HdfsZooInstance is made instead of on each lookup.
* Since HdfsZooInstance is a singleton, we create it once on initialization and avoid synchronizing on retrieval
* Since the Hadoop Configuration object uses a single lock for all gets against the shared instance, we copy out the values
  it reads when the SiteConfiguration singleton is created. This has the side-effect of causing our for-test-only set method
  to only work on values not set in the Configuration (essentially we treat all configs as final).
* Additionally, for those configurations that are read within any of the processing loops of the TabletServer, we have the
  SiteConfiguration singleton cache the fact that they weren't in the Hadoop Configuration object so that we will default to
  the parent AccumuloConfiguration without contending for the Hadoop Configuration object lock.

5 years agoACCUMULO-4450 Fix one more peer/slave term
Christopher Tubbs [Sat, 10 Sep 2016 22:52:54 +0000 (18:52 -0400)] 
ACCUMULO-4450 Fix one more peer/slave term

Fix one more use of "slave" instead of "peer" in replication docs.

5 years agoMerge branch '1.6' into 1.7
Christopher Tubbs [Fri, 9 Sep 2016 23:17:57 +0000 (19:17 -0400)] 
Merge branch '1.6' into 1.7

5 years agoACCUMULO-4391 Remove unused field
Christopher Tubbs [Fri, 9 Sep 2016 23:17:28 +0000 (19:17 -0400)] 
ACCUMULO-4391 Remove unused field

5 years agoMerge branch '1.6' into 1.7
Christopher Tubbs [Fri, 9 Sep 2016 20:55:31 +0000 (16:55 -0400)] 
Merge branch '1.6' into 1.7

5 years agoMerge branch 'pr-134' into 1.6
Christopher Tubbs [Fri, 9 Sep 2016 19:33:31 +0000 (15:33 -0400)] 
Merge branch 'pr-134' into 1.6

5 years agoACCUMULO-4451 Fix line-endings
Christopher Tubbs [Fri, 9 Sep 2016 19:13:53 +0000 (15:13 -0400)] 
ACCUMULO-4451 Fix line-endings

* Use UNIX line endings
* Remove BOM in unicode text file

5 years agoACCUMULO-4450 s/slave/peer/ on Replication design doc
Josh Elser [Fri, 9 Sep 2016 16:16:33 +0000 (12:16 -0400)] 
ACCUMULO-4450 s/slave/peer/ on Replication design doc

5 years agoMerge branch '1.6' into 1.7
Christopher Tubbs [Fri, 9 Sep 2016 18:50:13 +0000 (14:50 -0400)] 
Merge branch '1.6' into 1.7

5 years agoMerge branch 'pr-149' into 1.6
Christopher Tubbs [Fri, 9 Sep 2016 18:47:15 +0000 (14:47 -0400)] 
Merge branch 'pr-149' into 1.6

5 years agoACCUMULO-2972: correction to description for instance.secret 149/head
milleruntime [Fri, 9 Sep 2016 18:07:28 +0000 (14:07 -0400)] 
ACCUMULO-2972: correction to description for instance.secret

5 years agoACCUMULO-2972: fixed description for instance.secret
milleruntime [Fri, 9 Sep 2016 17:53:51 +0000 (13:53 -0400)] 
ACCUMULO-2972: fixed description for instance.secret

5 years agoACCUMULO-4391 removed extra closed check 134/head
Ivan Bella [Fri, 9 Sep 2016 01:36:50 +0000 (21:36 -0400)] 
ACCUMULO-4391 removed extra closed check

5 years agoMerge branch '1.6' of https://github.com/ivakegg/accumulo into 1.6
Ivan Bella [Thu, 8 Sep 2016 16:32:21 +0000 (12:32 -0400)] 
Merge branch '1.6' of https://github.com/ivakegg/accumulo into 1.6

5 years agoACCUMULO-4391 Added appropriate synchronization to allow RFile.Reader deepcopies...
Ivan Bella [Wed, 27 Jul 2016 17:11:12 +0000 (13:11 -0400)] 
ACCUMULO-4391 Added appropriate synchronization to allow RFile.Reader deepcopies to be used in separate threads.  Added a test case which forces at least one of the race conditions.  The remaining conditions have been tested on systems that demonstrated these issues.

5 years agoACCUMJULO-4391 Resolved the remaining pull request comments.
Ivan Bella [Thu, 8 Sep 2016 16:09:15 +0000 (12:09 -0400)] 
ACCUMJULO-4391 Resolved the remaining pull request comments.

5 years agoMerge branch '1.6' into 1.7
Josh Elser [Sat, 3 Sep 2016 22:03:55 +0000 (18:03 -0400)] 
Merge branch '1.6' into 1.7

5 years agoACCUMULO-4428 Changes for the backport to 1.6
Josh Elser [Sat, 3 Sep 2016 22:03:17 +0000 (18:03 -0400)] 
ACCUMULO-4428 Changes for the backport to 1.6

JDK6 and internal API changes

5 years agoACCUMULO-4428 Stabilize the new GarbageCollectorIT
Josh Elser [Wed, 31 Aug 2016 19:13:23 +0000 (15:13 -0400)] 
ACCUMULO-4428 Stabilize the new GarbageCollectorIT

Use the clusterControl on MAC to alter the state. Make
the verification based on the filesystem instead of log
messages from the GC.

5 years agoACCUMULO-4428 Fix state of GC firstSeenDead map
Adam J. Shook [Wed, 31 Aug 2016 17:45:59 +0000 (13:45 -0400)] 
ACCUMULO-4428 Fix state of GC firstSeenDead map

The GC's map of host->timestamp is used to track when it has first seen
a dead tserver, however a new instance of GarbageCollectWriteAheadLogs
is used during each cycle of the GC.  The state information is lost.
The state is now managed by SimpleGarbageCollector, passing this state
into each cycle of the GCWriteAheadLogs class.

Closes apache/accumulo#143

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-4437 Annotate remaining ITs
Christopher Tubbs [Wed, 31 Aug 2016 23:13:24 +0000 (19:13 -0400)] 
ACCUMULO-4437 Annotate remaining ITs

* Annotate CyclicReplcationIT and AccumuloOutputFormatIT as
  MiniClusterOnlyTests
* Rename test categories to reflect explicit intentions, based on
  conversation in JIRA
* Minor grammatical change: make category names plural (the category
  describes a set of tests)

5 years agoACCUMULO-4440 Fix JUnit 4.12 deprecation warning
Christopher Tubbs [Wed, 31 Aug 2016 23:12:18 +0000 (19:12 -0400)] 
ACCUMULO-4440 Fix JUnit 4.12 deprecation warning

Use TimeUnit-based constructor instead of implicit millis for Timeout
rule.

5 years agoACCUMULO-4439 Create SunnyDayTest category
Christopher Tubbs [Wed, 31 Aug 2016 23:10:38 +0000 (19:10 -0400)] 
ACCUMULO-4439 Create SunnyDayTest category

5 years agoACCUMULO-4423 Simplify use of JUnit categories
Christopher Tubbs [Wed, 31 Aug 2016 22:04:32 +0000 (18:04 -0400)] 
ACCUMULO-4423 Simplify use of JUnit categories

* Create surefire.groups, surefire.excludedGroups, failsafe.groups, and
  failsafe.excludedGroups to control categories, based on feedback from
  Maven developers about what to expect these property names to be in
  maven-surefire-plugin and maven-failsafe-plugin version 3.0
* Remove intermediate property names, which added unneeded level of
  property indirection (under assumption that we'll keep these
  categories stable over time, in order to keep the docs valid)
* Remove unneeded profiles
* Update documentation

5 years agoACCUMULO-4438 Skip failsafe groups in maven-plugin
Christopher Tubbs [Wed, 31 Aug 2016 22:03:30 +0000 (18:03 -0400)] 
ACCUMULO-4438 Skip failsafe groups in maven-plugin

In the accumulo-maven-plugin's own IT, override the parent POM
maven-failsafe-plugin configuration to explicitly skip the
groups/excludeGroups properties. This forces the accumulo-maven-plugin
IT to run at the integration-tests phase, since it doesn't use JUnit
categories.

5 years agoACCUMULO-4436 Make sure that all processes get tagged for cleanup that are executed...
Josh Elser [Wed, 31 Aug 2016 17:45:21 +0000 (13:45 -0400)] 
ACCUMULO-4436 Make sure that all processes get tagged for cleanup that are executed via MAC

5 years agoACCUMULO-4428 Stabilize the new GarbageCollectorIT
Josh Elser [Wed, 31 Aug 2016 19:13:23 +0000 (15:13 -0400)] 
ACCUMULO-4428 Stabilize the new GarbageCollectorIT

Use the clusterControl on MAC to alter the state. Make
the verification based on the filesystem instead of log
messages from the GC.

5 years agoACCUMULO-4428 Fix state of GC firstSeenDead map
Adam J. Shook [Wed, 31 Aug 2016 17:45:59 +0000 (13:45 -0400)] 
ACCUMULO-4428 Fix state of GC firstSeenDead map

The GC's map of host->timestamp is used to track when it has first seen
a dead tserver, however a new instance of GarbageCollectWriteAheadLogs
is used during each cycle of the GC.  The state information is lost.
The state is now managed by SimpleGarbageCollector, passing this state
into each cycle of the GCWriteAheadLogs class.

Closes apache/accumulo#143

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-4423 Annotate integration tests with categories
Josh Elser [Tue, 30 Aug 2016 20:23:48 +0000 (16:23 -0400)] 
ACCUMULO-4423 Annotate integration tests with categories

Differentiates tests which always use a minicluster and those
which can use a minicluster or a standalone cluster. Out-of-the-box
test invocation should not have changed.

Includes updated documentation to TESTING.md as well.

Closes apache/accumulo#144

5 years agoACCUMULO-4421 Ensure that TraceServer launches the Kerberos ticket renewal thread
Josh Elser [Fri, 26 Aug 2016 21:33:42 +0000 (17:33 -0400)] 
ACCUMULO-4421 Ensure that TraceServer launches the Kerberos ticket renewal thread

The previous method that TraceServer was using on SecurityUtil
only performed the login and was relying on incorrect functionality
in Hadoop's UGI to launch a renewal thread. This logic is incorrect.
Refactored SecurityUtil a little to prevent other callers from
making the same mistake in the future.

Signed-off-by: Sean Busbey <busbey@cloudera.com>
5 years agoACCUMULO-4421 Check if the Trace User is expected to use Kerberos before attempting...
Sean Busbey [Thu, 25 Aug 2016 19:47:38 +0000 (14:47 -0500)] 
ACCUMULO-4421 Check if the Trace User is expected to use Kerberos before attempting to login to Kerberos as the trace user.

Signed-off-by: Josh Elser <elserj@apache.org>
5 years agoACCUMULO-4414 Decrease log level on vestigal debug information
Josh Elser [Thu, 25 Aug 2016 18:12:49 +0000 (14:12 -0400)] 
ACCUMULO-4414 Decrease log level on vestigal debug information

5 years agoMerge branch '1.6' into 1.7
Sean Busbey [Wed, 24 Aug 2016 15:22:25 +0000 (10:22 -0500)] 
Merge branch '1.6' into 1.7

 Conflicts:
server/gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java
server/master/src/main/java/org/apache/accumulo/master/Master.java
server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
server/tracer/src/main/java/org/apache/accumulo/tracer/TraceServer.java
server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java

5 years agoACCUMULO-4422 Initialize logging as first step in server initialization.
Sean Busbey [Wed, 24 Aug 2016 15:04:01 +0000 (10:04 -0500)] 
ACCUMULO-4422 Initialize logging as first step in server initialization.

5 years agoMerge branch '1.6' into 1.7
Dave Marion [Tue, 23 Aug 2016 13:56:35 +0000 (09:56 -0400)] 
Merge branch '1.6' into 1.7

5 years agoACCUMULO-4163: change exception handling
Dave Marion [Mon, 22 Aug 2016 22:42:56 +0000 (18:42 -0400)] 
ACCUMULO-4163: change exception handling

5 years agoACCUMULO-4412 Check proxy process when client fails to connect
Josh Elser [Wed, 17 Aug 2016 20:19:53 +0000 (16:19 -0400)] 
ACCUMULO-4412 Check proxy process when client fails to connect

5 years agoMerge branch '1.6' into 1.7
Christopher Tubbs [Wed, 17 Aug 2016 00:17:24 +0000 (20:17 -0400)] 
Merge branch '1.6' into 1.7

5 years agoACCUMULO-4315 Remove confusing log message
Christopher Tubbs [Wed, 17 Aug 2016 00:12:24 +0000 (20:12 -0400)] 
ACCUMULO-4315 Remove confusing log message

Remove an unnecessarily confusing log message, about using a volume
which is not contained in instance.volumes. There's no reason to warn
about this, because it's not a problem. Further, it is expected in some
cases, such as bulk import, when files are imported from outside an
Accumulo "Volume".

5 years agoMerge branch '1.6' into 1.7
Dave Marion [Tue, 16 Aug 2016 17:02:20 +0000 (13:02 -0400)] 
Merge branch '1.6' into 1.7

5 years agoACCUMULO-4379: Make it clear as to which native library is missing
Dave Marion [Tue, 16 Aug 2016 17:00:52 +0000 (13:00 -0400)] 
ACCUMULO-4379: Make it clear as to which native library is missing

5 years agoACCUMULO-4405 Prevent ThriftScanner from waiting Long.MAX_VALUE millis
Josh Elser [Mon, 15 Aug 2016 17:04:45 +0000 (13:04 -0400)] 
ACCUMULO-4405 Prevent ThriftScanner from waiting Long.MAX_VALUE millis

5 years agoMerge branch '1.6' into 1.7
Christopher Tubbs [Fri, 12 Aug 2016 01:24:49 +0000 (21:24 -0400)] 
Merge branch '1.6' into 1.7

5 years agoACCUMULO-4400 Best effort to reset gpg-agent cache
Christopher Tubbs [Fri, 12 Aug 2016 01:12:15 +0000 (21:12 -0400)] 
ACCUMULO-4400 Best effort to reset gpg-agent cache

Make a best effort to reset gpg-agent cache, so that the signing key
will stay cached throughout the full duration of the release candidate
build, when created using build.sh

Limitations:
  1. This will force the password to be input at the beginning of the
     build.sh script, unless the user is using some persistent cache
     like gnome-keyring-daemon to manage one's key.
  2. If the user pauses at the prompts later in the script, for a long
     period of time, the cache could still expire during execution, even
     if the cache is reset at the start of the script.
  3. The build.sh script still presumes that gpg-agent is configured
     with a sufficiently large enough default-cache-ttl and
     max-cache-ttl values, so that the cache won't expire during the
     creation of the release candidate.

5 years agoMerge branch '1.6' into 1.7
Christopher Tubbs [Wed, 10 Aug 2016 21:49:20 +0000 (17:49 -0400)] 
Merge branch '1.6' into 1.7

5 years agoACCUMULO-4399 Escape OUTPUT_DIR target in Makefile
Christopher Tubbs [Wed, 10 Aug 2016 21:48:07 +0000 (17:48 -0400)] 
ACCUMULO-4399 Escape OUTPUT_DIR target in Makefile

Escape spaces and parens in the OUTPUT_DIR make parameter when set.