hbase-operator-tools.git
2 weeks agoHBASE-27119 [HBCK2] Some commands are broken after HBASE-24587 (#107) master
Wellington Ramos Chevreuil [Tue, 21 Jun 2022 15:28:56 +0000 (16:28 +0100)] 
HBASE-27119 [HBCK2] Some commands are broken after HBASE-24587 (#107)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Reviewed-by: clarax <clarax98007@gmail.com>
2 weeks agoHBASE-26934: Publish code coverage reports to SonarQube (#106)
Horváth Dóra [Thu, 16 Jun 2022 11:47:11 +0000 (13:47 +0200)] 
HBASE-26934: Publish code coverage reports to SonarQube (#106)

The newly added script runs maven with the clover profile which generates the test coverage data.
If the necessary parameters are given it also uploads the results to SonarQube.

The required parameters for publishing to SonarQube are:

- Host URL
- Login Credentials
- Project Key

Example commands:

Run clover code analysis (without publishing to SonarQube)
sh dev-support/code-coverage/run-coverage.sh

Run clover code analysis and publish the results to SonarQube
sh dev-support/code-coverage/run-coverage.sh -l ProjectCredentials -u https://exampleserver.com -k Project_Key -n Project_Name

Co-authored-by: Dora Horvath <dora.horvath@cloudera.com>
2 months agoHBASE-24587 hbck2 command should accept one or more files containing a list of region...
clarax [Fri, 22 Apr 2022 14:02:41 +0000 (07:02 -0700)] 
HBASE-24587 hbck2 command should accept one or more files containing a list of region names/table names/namespaces (#105)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Reviewed-by: subrat-mishra <subrat.mishra@gmail.com>
5 months agoHBASE-26687 Avoid the newBuilder(RegionInfo) constructor in RegionInf… (#103)
Josh Elser [Thu, 20 Jan 2022 00:55:07 +0000 (19:55 -0500)] 
HBASE-26687 Avoid the newBuilder(RegionInfo) constructor in RegionInf… (#103)

A previously-fixed bug in HBase might break this tool in that the new
RegionInfo built by the Tool is still incorrect because the region name
and region encoded name are not recomputed. Thankfully, the sanity check
on the tool prevented any damage from being done to hbase:meta.

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
5 months agoHBASE-26656 Utility to correct corrupt RegionInfo's in hbase:meta
Josh Elser [Tue, 14 Dec 2021 23:02:38 +0000 (18:02 -0500)] 
HBASE-26656 Utility to correct corrupt RegionInfo's in hbase:meta

A standalone utility which corrects hbase:meta given the problem
described by HBASE-23328. Includes the ability to both "report" corrupt
regions as well as correct them. This tool will ensure that other
HBCK2 utilities continue to work without additional modification.

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Closes #102

5 months agoHBASE-26653 Upgrade log4j to 2.17.1 (#101)
Peter Somogyi [Fri, 7 Jan 2022 12:25:51 +0000 (13:25 +0100)] 
HBASE-26653 Upgrade log4j to 2.17.1 (#101)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoHBASE-26627 [hbase-operator-tools] Set version as 1.3.0-SNAPSHOT in master (#100)
Guangxu Cheng [Sat, 25 Dec 2021 06:26:45 +0000 (14:26 +0800)] 
HBASE-26627 [hbase-operator-tools] Set version as 1.3.0-SNAPSHOT in master (#100)

6 months agoHBASE-26573 [hbase-operator-tools] Generate CHANGES.md and RELEASENOTES.md for 1... 1.2.0RC1
Guangxu Cheng [Mon, 20 Dec 2021 02:05:09 +0000 (10:05 +0800)] 
HBASE-26573 [hbase-operator-tools] Generate CHANGES.md and RELEASENOTES.md for 1.2.0 (addumn)

6 months agoHBASE-26608 [hbase-operator-tools] Upgrade log4j2 to 2.17.0 (#99)
Guangxu Cheng [Sun, 19 Dec 2021 17:20:04 +0000 (01:20 +0800)] 
HBASE-26608 [hbase-operator-tools] Upgrade log4j2 to 2.17.0 (#99)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
6 months agoHBASE-26574 [hbase-operator-tools] Set version as 1.2.0 in master 1.2.0RC0
andrewcheng [Wed, 15 Dec 2021 02:21:28 +0000 (10:21 +0800)] 
HBASE-26574 [hbase-operator-tools] Set version as 1.2.0 in master

6 months agoHBASE-26573 [hbase-operator-tools] Generate CHANGES.md and RELEASENOTES.md for 1...
Guangxu Cheng [Wed, 15 Dec 2021 02:11:37 +0000 (10:11 +0800)] 
HBASE-26573 [hbase-operator-tools] Generate CHANGES.md and RELEASENOTES.md for 1.2.0 (#97)

6 months agoHBASE-26571 Upgrade to log4j 2.16.0 (#96)
Peter Somogyi [Tue, 14 Dec 2021 11:02:36 +0000 (12:02 +0100)] 
HBASE-26571 Upgrade to log4j 2.16.0 (#96)

Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
6 months agoHBASE-26561 [hbase-operator-tools] Upgrade log4j2 to 2.15.0 to address CVE-2021-44228...
Yutong Xiao [Sat, 11 Dec 2021 12:54:06 +0000 (20:54 +0800)] 
HBASE-26561 [hbase-operator-tools] Upgrade log4j2 to 2.15.0 to address CVE-2021-44228 (#95)

Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
6 months agoRevert "HBASE-26557 log4j2 has a critical RCE vulnerability (#95)"
Duo Zhang [Sat, 11 Dec 2021 13:05:02 +0000 (21:05 +0800)] 
Revert "HBASE-26557 log4j2 has a critical RCE vulnerability (#95)"

This reverts commit 5321d0a5df4aaa3abadd7c3de0d741c7bb5d37e2.

6 months agoHBASE-26557 log4j2 has a critical RCE vulnerability (#95)
Yutong Xiao [Sat, 11 Dec 2021 12:54:06 +0000 (20:54 +0800)] 
HBASE-26557 log4j2 has a critical RCE vulnerability (#95)

Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
8 months agoHBASE-26338 hbck2 setRegionState cannot set replica region state (#94)
huaxiangsun [Mon, 11 Oct 2021 20:45:25 +0000 (13:45 -0700)] 
HBASE-26338 hbck2 setRegionState cannot set replica region state (#94)

Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
9 months agoHBASE-26257 Improve Performance of HBCK when specifying a subset of tables addendum...
z-york [Fri, 24 Sep 2021 21:10:43 +0000 (14:10 -0700)] 
HBASE-26257 Improve Performance of HBCK when specifying a subset of tables addendum (#93)

Signed-off-by: Stephen Wu <taklonwu@gmail.com>
9 months agoHBASE-26257 Improve Performance of HBCK when specifying a subset of tables (#92)
z-york [Thu, 9 Sep 2021 21:13:25 +0000 (14:13 -0700)] 
HBASE-26257 Improve Performance of HBCK when specifying a subset of tables (#92)

On clusters with a large number of tables, listing all table directories
from the filesystem can take a lot of time (especially on S3).
We should avoid listing all the tables if we pass in a subset of the tables

Signed-off-by: Stephen Wu <taklonwu@gmail.com>
11 months agoHBASE-26072 Upgrade hbase version in hbase-operator-tools to 2.4.4 (#91)
z-york [Wed, 7 Jul 2021 15:24:01 +0000 (08:24 -0700)] 
HBASE-26072 Upgrade hbase version in hbase-operator-tools to 2.4.4 (#91)

Signed-off-by: Viraj Jasani <vjasani@apache.org>
12 months agoHBASE-26054 Fix hbase-operator-tools build with HBase 2.4.4 (#90)
z-york [Tue, 6 Jul 2021 20:18:27 +0000 (13:18 -0700)] 
HBASE-26054 Fix hbase-operator-tools build with HBase 2.4.4 (#90)

Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Stephen Wu <taklonwu@gmail.com>
13 months agoHBASE-25965 Move delete of WAL directory out of LOG.info and avoid leftover directory...
Tak Lon (Stephen) Wu [Wed, 2 Jun 2021 21:19:21 +0000 (14:19 -0700)] 
HBASE-25965 Move delete of WAL directory out of LOG.info and avoid leftover directory (#89)

Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
13 months agoHBASE-25921 Fix Wrong FileSystem when running `filesystem` on non-HDFS storage (#88)
Tak Lon (Stephen) Wu [Wed, 2 Jun 2021 17:33:08 +0000 (10:33 -0700)] 
HBASE-25921 Fix Wrong FileSystem when running `filesystem` on non-HDFS storage (#88)

Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
13 months agoHBASE-25885 [hbase-operator-tools] Extra checks on RegionsMerger to avoid submitting...
Wellington Ramos Chevreuil [Wed, 19 May 2021 18:00:42 +0000 (19:00 +0100)] 
HBASE-25885 [hbase-operator-tools] Extra checks on RegionsMerger to avoid submitting merge requests for regions with merge qualifiers (#87)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
13 months agoHBASE-25874 [hbase-operator-tools]Add tool for identifying 'unknown s… (#86)
Wellington Ramos Chevreuil [Fri, 14 May 2021 09:06:41 +0000 (10:06 +0100)] 
HBASE-25874 [hbase-operator-tools]Add tool for identifying 'unknown s… (#86)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
14 months agoHBASE-25794: Fix checkstyle violations in hbase-table-reporter module (#85)
Kota-SH [Tue, 4 May 2021 08:42:38 +0000 (01:42 -0700)] 
HBASE-25794: Fix checkstyle violations in hbase-table-reporter module (#85)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
14 months agoHBASE-25659 [hbck2] Add hbase-operator-tools command for scheduleSCPsForUnknownServer...
Peter Somogyi [Fri, 23 Apr 2021 07:49:34 +0000 (09:49 +0200)] 
HBASE-25659 [hbck2] Add hbase-operator-tools command for scheduleSCPsForUnknownServers (#84)

Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
16 months agoHBASE-25577 HBase operator tools pom should include nexus staging repo management
Sean Busbey [Sat, 13 Feb 2021 18:41:58 +0000 (12:41 -0600)] 
HBASE-25577 HBase operator tools pom should include nexus staging repo management

closes #82

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
16 months agoPreparing development version 1.2.0-SNAPSHOT
busbey [Sat, 13 Feb 2021 05:25:26 +0000 (23:25 -0600)] 
Preparing development version 1.2.0-SNAPSHOT

Signed-off-by: busbey <busbey@apache.org>
16 months agoPreparing hbase-operator-tools release 1.1.0RC0; tagging and updates to CHANGES.md... 1.1.0RC0 rel/1.1.0
busbey [Sat, 13 Feb 2021 05:25:10 +0000 (23:25 -0600)] 
Preparing hbase-operator-tools release 1.1.0RC0; tagging and updates to CHANGES.md and RELEASENOTES.md

Signed-off-by: busbey <busbey@apache.org>
17 months agoHBASE-25529 [hbase-operator-tools] Fix OOME "unable to create new nat… (#80)
Wellington Ramos Chevreuil [Wed, 27 Jan 2021 21:01:24 +0000 (21:01 +0000)] 
HBASE-25529 [hbase-operator-tools] Fix OOME "unable to create new nat… (#80)

Peter Somogyi <psomogyi@apache.org>

17 months agoHBASE-25266 [hbase-operator-tools] Add a repair tool for moving stale… (#78)
Wellington Ramos Chevreuil [Mon, 25 Jan 2021 18:14:09 +0000 (18:14 +0000)] 
HBASE-25266 [hbase-operator-tools] Add a repair tool for moving stale… (#78)

Signed-off-by: Sean Busbey <busbey@apache.org>
18 months agoHBASE-25297 [HBCK2] Regenerate missing table descriptors by hbck2 (#79)
Mate Szalay-Beko [Mon, 21 Dec 2020 12:23:35 +0000 (13:23 +0100)] 
HBASE-25297 [HBCK2] Regenerate missing table descriptors by hbck2 (#79)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
21 months agoHBASE-25137 Migrate HBase-Operator-Tools-PreCommit jenkins job from Hadoop to hbase...
Peter Somogyi [Fri, 2 Oct 2020 09:48:05 +0000 (11:48 +0200)] 
HBASE-25137 Migrate HBase-Operator-Tools-PreCommit jenkins job from Hadoop to hbase (#76)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
21 months agoHBASE-24997 [hbase-operator-tools] NPE in RegionsMerger#mergeRegions (#75)
Baiqiang Zhao [Fri, 11 Sep 2020 09:20:34 +0000 (17:20 +0800)] 
HBASE-24997 [hbase-operator-tools] NPE in RegionsMerger#mergeRegions (#75)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
22 months agoHBASE-24882 Migrate hbase-operator-tools testing to ci-hadoop (#73)
Peter Somogyi [Mon, 17 Aug 2020 15:46:47 +0000 (17:46 +0200)] 
HBASE-24882 Migrate hbase-operator-tools testing to ci-hadoop (#73)

Signed-off-by: Sean Busbey <busbey@apache.org>
22 months agoHBASE-24889 Add missing ASF headers (#74)
Peter Somogyi [Mon, 17 Aug 2020 08:11:58 +0000 (10:11 +0200)] 
HBASE-24889 Add missing ASF headers (#74)

Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
23 months agoHBASE-24778 [hbase-operator-tools] Merging regions failed when the table is not defau...
Baiqiang Zhao [Wed, 29 Jul 2020 10:33:07 +0000 (18:33 +0800)] 
HBASE-24778 [hbase-operator-tools] Merging regions failed when the table is not default namespace (#71)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 years agoHBASE-24626 [HBCK2] Remove reference to hase I.A. private class Commo… (#70)
Wellington Ramos Chevreuil [Fri, 26 Jun 2020 12:09:44 +0000 (13:09 +0100)] 
HBASE-24626 [HBCK2] Remove reference to hase I.A. private class Commo… (#70)

Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <janh@apache.org>
2 years agoHBASE-24571 HBCK2 fix addFsRegionsMissingInMeta to add regions in CLO… (#65)
Wellington Ramos Chevreuil [Thu, 18 Jun 2020 08:46:56 +0000 (09:46 +0100)] 
HBASE-24571 HBCK2 fix addFsRegionsMissingInMeta to add regions in CLO… (#65)

Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2 years agoHBASE-24482 [hbase-operator-tools] build of hbck2 fails with HBase branch-2.3, due...
stack [Wed, 17 Jun 2020 16:49:32 +0000 (09:49 -0700)] 
HBASE-24482 [hbase-operator-tools] build of hbck2 fails with HBase branch-2.3, due to missing dependencies

Make it so we compile and tests pass against hbase-2.3.x as
well as 2.1.x.

Remove use of @Nullable -- nice-to-have but dodgy provenance.

Use CommonFSUtils instead of FSUtils as latter no longer subclasses
CommonFSUtils whose utility we make use of in our import of hbck1
functionality (TODO: Undo this reliance on IA.Private)

hbase-hbck2/src/main/java/org/apache/hbase/FileSystemFsck.java
hbase-hbck2/src/main/java/org/apache/hbase/FsRegionsMetaRecoverer.java
hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java
hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsckRepair.java
hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HFileCorruptionChecker.java
hbase-hbck2/src/main/java/org/apache/hbase/hbck1/OfflineMetaRepair.java
hbase-hbck2/src/test/java/org/apache/hbase/TestHBCK2.java
 s/CommonFSUtils/FSUtils/g

hbase-hbck2/src/main/java/org/apache/hbase/HBCKMetaTableAccessor.java
 Purge @Nullable usage.

hbase-hbck2/src/test/java/org/apache/hbase/TestSchedulingRecoveries.java
 Remove test that behaves differently between 2.1.x and 2.3.x hbase.

hbase-tools/src/test/java/org/apache/hbase/TestRegionsMerger.java
 Amend test where merging works differently between hbase-2.3.x and
 hbase-2.1.x (2.3 does more protective checks).

2 years agoHBASE-23927 hbck2 assigns command should accept a file containing a list of region...
clarax [Wed, 17 Jun 2020 09:37:10 +0000 (02:37 -0700)] 
HBASE-23927 hbck2 assigns command should accept a file containing a list of region names - amend to put test input file in test data dir #66

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 years agoRevert "HBASE-23927 hbck2 assigns command should accept a file containing a list...
Wellington Ramos Chevreuil [Wed, 17 Jun 2020 10:03:51 +0000 (11:03 +0100)] 
Revert "HBASE-23927 hbck2 assigns command should accept a file containing a list of region names - amend to put test input file in test data dir #66" (#67)

This reverts commit cb034317ba5c5a8b3e8c2cb8ef901bceef954f27.

2 years agoHBASE-23927 hbck2 assigns command should accept a file containing a list of region...
clarax [Wed, 17 Jun 2020 09:37:10 +0000 (02:37 -0700)] 
HBASE-23927 hbck2 assigns command should accept a file containing a list of region names - amend to put test input file in test data dir #66

Co-authored-by: Clara Xiong <clarax98007@gmail.coml>
2 years agoHBASE-23927 recommit the fix with updates for PR review feedback (#64)
clarax [Wed, 10 Jun 2020 23:37:30 +0000 (16:37 -0700)] 
HBASE-23927 recommit the fix with updates for PR review feedback (#64)

HBASE-23927 hbck2 assigns command should accept a file containing a list of region names

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Huaxiang Sun <huaxiangsun@apache.org>
2 years agoRevert "HBCK takes one or more files for assigns (#62)" (#63)
huaxiangsun [Tue, 9 Jun 2020 22:32:34 +0000 (15:32 -0700)] 
Revert "HBCK takes one or more files for assigns (#62)" (#63)

This reverts commit aab25033ea6657a990b73bbc06ffe949c4a6282d.

2 years agoHBCK takes one or more files for assigns (#62)
clarax [Tue, 9 Jun 2020 16:27:07 +0000 (09:27 -0700)] 
HBCK takes one or more files for assigns (#62)

* HBCK takes one or more files for assigns

* include input file option commandline parsinging in test

* update test for assigns

Co-authored-by: Man Xiong <manxiong@MacBook-Pro.local>
2 years agoHBASE-24398 [hbase-operator-tools] Fix RegionsMerger ConcurrentModificationException #60
ChenKai [Tue, 19 May 2020 08:42:56 +0000 (16:42 +0800)] 
HBASE-24398 [hbase-operator-tools] Fix RegionsMerger ConcurrentModificationException #60

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 years agoHBASE-24397 [hbase-operator-tools] Tool to Report on row sizes and column counts
stack [Mon, 18 May 2020 19:28:28 +0000 (12:28 -0700)] 
HBASE-24397 [hbase-operator-tools] Tool to Report on row sizes and column counts

Add tool that reads a table and produces histogram/quantiles of row size
and column count.

2 years agoHBASE-24261: Initial version of ASF infra integration configuration
Bharath Vissapragada [Wed, 6 May 2020 00:13:52 +0000 (17:13 -0700)] 
HBASE-24261: Initial version of ASF infra integration configuration

This is an initial version of the yaml config for ASF infra
integration. We might have some hiccups in the beginning but we
can iteratively improve until the old (desired) setup is back
in place.

2 years agoHBASE-24222 [HBCK2] Remove FSUtils.checkAccess and replace with FileSystem.access...
niuyulin [Fri, 1 May 2020 19:12:16 +0000 (14:12 -0500)] 
HBASE-24222 [HBCK2] Remove FSUtils.checkAccess and replace with FileSystem.access in hbase-operator-tools (#58)

Signed-off-by: niuyulin <niuyulin@xiaomi.com>
Signed-off-by: Sakthi <sakthi@apache.org>
2 years agoRevert "HBASE-24222 Remove FSUtils.checkAccess and replace with FileSystem.access...
Sakthi [Fri, 1 May 2020 19:25:14 +0000 (12:25 -0700)] 
Revert "HBASE-24222 Remove FSUtils.checkAccess and replace with FileSystem.access in hbase-operator-tools (#58)"

This reverts commit e6e54aa568271c68f03f6833bed1776c80fcc0cd.

2 years agoHBASE-24222 Remove FSUtils.checkAccess and replace with FileSystem.access in hbase...
niuyulin [Fri, 1 May 2020 19:12:16 +0000 (14:12 -0500)] 
HBASE-24222 Remove FSUtils.checkAccess and replace with FileSystem.access in hbase-operator-tools (#58)

Signed-off-by: niuyulin <niuyulin@xiaomi.com>
Signed-off-by: Sakthi <sakthi@apache.org>
2 years agoHBASE-24239 [HBCK2] Remove removeExtraRegionsFromMeta from README (#59)
Dice [Thu, 23 Apr 2020 10:30:38 +0000 (19:30 +0900)] 
HBASE-24239 [HBCK2] Remove removeExtraRegionsFromMeta from README (#59)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 years agoRevert "Remove removeExtraRegionsFromMeta from README (#59)"
Wellington Chevreuil [Thu, 23 Apr 2020 10:32:19 +0000 (11:32 +0100)] 
Revert "Remove removeExtraRegionsFromMeta from README (#59)"

This reverts commit d92c16ae5cc94392c6076c750a62c47fe3d4efb5.

2 years agoRemove removeExtraRegionsFromMeta from README (#59)
Dice [Thu, 23 Apr 2020 10:30:38 +0000 (19:30 +0900)] 
Remove removeExtraRegionsFromMeta from README (#59)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 years agoHBASE-24039 HBCK2 feature negotiation to check what commands are supported (#55)
richardantal [Thu, 16 Apr 2020 09:26:35 +0000 (11:26 +0200)] 
HBASE-24039 HBCK2 feature negotiation to check what commands are supported (#55)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2 years agoHBASE-23562 [operator tools] Add a RegionsMerge tool that allows for merging multiple...
Wellington Chevreuil [Wed, 11 Dec 2019 14:33:13 +0000 (14:33 +0000)] 
HBASE-23562 [operator tools] Add a RegionsMerge tool that allows for merging multiple adjacent regions until a desired number of regions is reached.

Co-authored-by: BukrosSzabolcs <bukros.szabolcs@gmail.com>
Closes #56

Signed-off-by: Josh Elser <elserj@apache.org>
2 years agoHBASE-24116 Updated Apache POM to version 23 (#57)
Jan Hentschel [Mon, 6 Apr 2020 08:53:02 +0000 (10:53 +0200)] 
HBASE-24116 Updated Apache POM to version 23 (#57)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2 years agoHBASE-23934 [operator tools] Add forbiddennapis plugin to pom.xml so that we can...
Wellington Ramos Chevreuil [Fri, 6 Mar 2020 10:27:40 +0000 (10:27 +0000)] 
HBASE-23934 [operator tools] Add forbiddennapis plugin to pom.xml so that we can permanently ban references to hbase I.A. private classes from hbck2 (#54)

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2 years agoHBASE-23791 [operator tools] Remove reference to I.A. Private interfa… (#53)
Wellington Ramos Chevreuil [Wed, 4 Mar 2020 16:28:25 +0000 (16:28 +0000)] 
HBASE-23791 [operator tools] Remove reference to I.A. Private interfa… (#53)

Signed-off-by: Josh Elser <elserj@apache.org>
2 years agoHBASE-23180 hbck2 testing tool (#47)
Sakthi [Tue, 28 Jan 2020 21:41:06 +0000 (13:41 -0800)] 
HBASE-23180 hbck2 testing tool (#47)

HBASE-23180 hbck2 testing tool

This adds a new tool that spins up a hbase on hadoop minicluster and
mimicks actions of hbck2 to verify it's functionalities

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2 years agoHBASE-23714 Updated to version 22 of the Apache parent POM
Jan Hentschel [Mon, 27 Jan 2020 12:02:05 +0000 (13:02 +0100)] 
HBASE-23714 Updated to version 22 of the Apache parent POM

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2 years agoHBASE-23371 [HBCK2] Provide client side method for removing ghost regions in meta...
Wellington Ramos Chevreuil [Mon, 27 Jan 2020 11:16:51 +0000 (11:16 +0000)] 
HBASE-23371 [HBCK2] Provide client side method for removing ghost regions in meta. (#45)

Signed-off-by: Josh Elser elserj@apache.org
2 years agoHBASE-23641 Use ReplicationPeerConfig.needToReplicate in HBaseFsck (#51)
Peter Somogyi [Wed, 8 Jan 2020 12:31:42 +0000 (13:31 +0100)] 
HBASE-23641 Use ReplicationPeerConfig.needToReplicate in HBaseFsck (#51)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 years agoHBASE-23610 Updated Apache POM to version 21
Jan Hentschel [Tue, 24 Dec 2019 08:38:45 +0000 (09:38 +0100)] 
HBASE-23610 Updated Apache POM to version 21

https://github.com/apache/maven-apache-parent/compare/apache-18...apache-21

Signed-off-by: stack <stack@apache.org>
2 years agoHBASE-23609 Cleaned up tests
Jan Hentschel [Tue, 24 Dec 2019 08:32:28 +0000 (09:32 +0100)] 
HBASE-23609 Cleaned up tests

Signed-off-by: stack <stack@apache.org>
2 years agoHBASE-23611 Set version of maven-enforcer-plugin via property (#50)
Jan Hentschel [Mon, 23 Dec 2019 15:11:19 +0000 (16:11 +0100)] 
HBASE-23611 Set version of maven-enforcer-plugin via property (#50)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2 years agoHBASE-23577 Bump checkstyle from 8.11 to 8.18
dependabot[bot] [Sat, 14 Dec 2019 19:17:36 +0000 (20:17 +0100)] 
HBASE-23577 Bump checkstyle from 8.11 to 8.18

Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.11 to 8.18.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.11...checkstyle-8.18)

Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: dependabot[bot] <support@github.com>
2 years agoHBASE-23256 fix hbck2 assigns/unassigns usage (#44)
YeChao Chen [Wed, 6 Nov 2019 10:10:10 +0000 (18:10 +0800)] 
HBASE-23256 fix hbck2 assigns/unassigns usage (#44)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 years agoHBASE-23112 [hbase-operator-tools] fixMeta in hbck2 is porcelain, in hbck1 it was...
Michael Stack [Wed, 9 Oct 2019 15:53:17 +0000 (08:53 -0700)] 
HBASE-23112 [hbase-operator-tools] fixMeta in hbck2 is porcelain, in hbck1 it was plumbing; fix (#40)

Removed 'porcelain vs plubming' analogy. Its fine when we are talking
amongst ourselves but it confuses describing hbck2, a jumble of tools
doing various things.

Signed-off-by: Daisuke Kobayashi <poleon.kd@gmail.com>
2 years agoHBASE-23124 Remove commons-lang3 dependency (#41)
Peter Somogyi [Mon, 7 Oct 2019 06:18:53 +0000 (08:18 +0200)] 
HBASE-23124 Remove commons-lang3 dependency (#41)

Signed-off-by: Michael Stack <stack@apache.org>
2 years agoHBASE-23031 Upgrade Yetus version in RM scripts
Frederick Ayala [Sun, 6 Oct 2019 08:29:46 +0000 (11:29 +0300)] 
HBASE-23031 Upgrade Yetus version in RM scripts

2 years agoHBASE-23109 Fix checkstyle issues (#39)
Peter Somogyi [Wed, 2 Oct 2019 19:10:36 +0000 (21:10 +0200)] 
HBASE-23109 Fix checkstyle issues (#39)

Signed-off-by: Sean Busbey <busbey@apache.org>
2 years agoMove version to 1.1.0-SNAPSHOT (#38)
Peter Somogyi [Wed, 25 Sep 2019 12:52:52 +0000 (14:52 +0200)] 
Move version to 1.1.0-SNAPSHOT (#38)

2 years agoPreparing development version 1.0.0-SNAPSHOT
Peter Somogyi [Fri, 20 Sep 2019 14:50:58 +0000 (14:50 +0000)] 
Preparing development version 1.0.0-SNAPSHOT

2 years agoPreparing hbase-operator-tools release 1.0.0RC1; tagging and updates to CHANGES.md... 1.0.0RC1 rel/1.0.0
Peter Somogyi [Fri, 20 Sep 2019 14:50:53 +0000 (14:50 +0000)] 
Preparing hbase-operator-tools release 1.0.0RC1; tagging and updates to CHANGES.md and RELEASENOTES.md

2 years agoHBASE-23057 Add commons-lang3 dependency to HBCK2 (#37)
Peter Somogyi [Fri, 20 Sep 2019 10:04:47 +0000 (12:04 +0200)] 
HBASE-23057 Add commons-lang3 dependency to HBCK2 (#37)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2 years agoHBASE-23039 HBCK2 bypass -r command does not work
meiyi [Wed, 18 Sep 2019 01:41:47 +0000 (09:41 +0800)] 
HBASE-23039 HBCK2 bypass -r command does not work

2 years agoPreparing development version 1.0.0-SNAPSHOT
Peter Somogyi [Mon, 16 Sep 2019 17:59:14 +0000 (17:59 +0000)] 
Preparing development version 1.0.0-SNAPSHOT

2 years agoPreparing hbase-operator-tools release 1.0.0RC0; tagging and updates to CHANGES.md... 1.0.0RC0
Peter Somogyi [Mon, 16 Sep 2019 17:59:09 +0000 (17:59 +0000)] 
Preparing hbase-operator-tools release 1.0.0RC0; tagging and updates to CHANGES.md and RELEASENOTES.md

2 years agoHBASE-23033 Do not run git-commit-id-plugin when .git is missing (#36)
Peter Somogyi [Mon, 16 Sep 2019 17:31:42 +0000 (19:31 +0200)] 
HBASE-23033 Do not run git-commit-id-plugin when .git is missing (#36)

Signed-off-by: Michael Stack <stack@apache.org>
2 years agoPreparing development version 1.0.0-SNAPSHOT
Peter Somogyi [Mon, 16 Sep 2019 15:38:32 +0000 (15:38 +0000)] 
Preparing development version 1.0.0-SNAPSHOT

2 years agoPreparing hbase-operator-tools release 1.0.0RC0; tagging and updates to CHANGES.md...
Peter Somogyi [Mon, 16 Sep 2019 15:38:27 +0000 (15:38 +0000)] 
Preparing hbase-operator-tools release 1.0.0RC0; tagging and updates to CHANGES.md and RELEASENOTES.md

2 years agoHBASE-23029 Handle hbase-operator-tools releasenotes in release making script (#35)
Peter Somogyi [Mon, 16 Sep 2019 13:50:32 +0000 (15:50 +0200)] 
HBASE-23029 Handle hbase-operator-tools releasenotes in release making script (#35)

Remove duplicated entries from currently available RELEASENOTES.md

Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
2 years agoHBASE-23026 docker run command should not quote JAVA_VOL (#34)
Peter Somogyi [Mon, 16 Sep 2019 13:49:49 +0000 (15:49 +0200)] 
HBASE-23026 docker run command should not quote JAVA_VOL (#34)

Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
2 years agoHBASE-23025 Do not quote GPG command (#33)
Peter Somogyi [Sun, 15 Sep 2019 19:17:03 +0000 (21:17 +0200)] 
HBASE-23025 Do not quote GPG command (#33)

Signed-off-by: Sean Busbey <busbey@apache.org>
2 years agoHBASE-23021 [hbase-operator-tools] README edits in prep for release
stack [Fri, 13 Sep 2019 16:01:37 +0000 (09:01 -0700)] 
HBASE-23021 [hbase-operator-tools] README edits in prep for release

Main changes:

 * Underline how hbck1 differs from hbck2 and hbck2 philosophy.
 * Make entry and section transitions ore palatable.
 * Try to talk up repair process. Explain fix hbase:meta first and then
 everything else. Bulk up general rules.

2 years agoHBASE-23003 [HBCK2/hbase-operator-tools] Release-making scripts
stack [Fri, 13 Sep 2019 16:23:43 +0000 (09:23 -0700)] 
HBASE-23003 [HBCK2/hbase-operator-tools] Release-making scripts

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2 years agoHBASE-23002 [HBCK2/hbase-operator-tools] Create an assembly that builds an hbase...
Michael Stack [Fri, 13 Sep 2019 16:02:42 +0000 (09:02 -0700)] 
HBASE-23002 [HBCK2/hbase-operator-tools] Create an assembly that builds an hbase-operator-tools tgz (#30)

Add an hbase-assembly that is just for creating assemblies.
Also changed groupid from org.apache.hbase to
org.apache.hbase.operator.tools so lands into a different area in
repository -- less crowded, easier to differentiate from core
hbase.

Creates a bin assembly (src is made elsewhere in release script).
Adds a first-cut at RELEASENOTES and CHANGES (release script will
fix up what is here based off what is in JIRA to make it suit
the 1.0.0RC0)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2 years agoHBASE-23018 - [HBCK2] Add useful messages when report/fixing missing regions in meta...
Dice [Fri, 13 Sep 2019 07:03:24 +0000 (16:03 +0900)] 
HBASE-23018 - [HBCK2] Add useful messages when report/fixing missing regions in meta (#31)

Signed-off-by: Michael Stack <stack@apache.org>
2 years agoHBASE-22999 Fix non-varargs compile warnings (#27)
Wellington Ramos Chevreuil [Tue, 10 Sep 2019 14:57:11 +0000 (16:57 +0200)] 
HBASE-22999 Fix non-varargs compile warnings (#27)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2 years agoHBASE-22997 Move to SLF4J (#25)
Peter Somogyi [Tue, 10 Sep 2019 06:34:52 +0000 (08:34 +0200)] 
HBASE-22997 Move to SLF4J (#25)

Signed-off-by: Michael Stack <stack@apache.org>
2 years agoHBASE-22998 Fix NOTICE and LICENSE (#26)
Peter Somogyi [Mon, 9 Sep 2019 16:55:25 +0000 (18:55 +0200)] 
HBASE-22998 Fix NOTICE and LICENSE (#26)

Signed-off-by: Sean Busbey <busbey@apache.org>
2 years agoHBASE-22567 [HBCK2] Add new methods for dealing with missing regions in META while...
Wellington Chevreuil [Fri, 6 Sep 2019 14:23:00 +0000 (15:23 +0100)] 
HBASE-22567 [HBCK2] Add new methods for dealing with missing regions in META while Master is online

Signed-off-by: stack <stack@apache.org>
2 years agoHBASE-22984 [HBCK2] HBCKMetaTableAccessor.deleteFromMetaTable throwing java.lang...
Wellington Ramos Chevreuil [Fri, 6 Sep 2019 16:51:03 +0000 (17:51 +0100)] 
HBASE-22984 [HBCK2] HBCKMetaTableAccessor.deleteFromMetaTable throwing java.lang.UnsupportedOperationException at runtime (#24)

Signed-off-by: Sean Busbey <busbey@apache.org>
2 years agoHBASE-22825 addendum Fix invalid function call (from usage to showErrorMessage) ...
Fabrice [Fri, 6 Sep 2019 05:01:04 +0000 (22:01 -0700)] 
HBASE-22825 addendum Fix invalid function call (from usage to showErrorMessage) (#23)

Signed-off-by: Sean Busbey <busbey@apache.org>
2 years agoHBASE-22859 [HBCK2] Fix the orphan regions on filesystem
stack [Thu, 5 Sep 2019 22:28:58 +0000 (15:28 -0700)] 
HBASE-22859 [HBCK2] Fix the orphan regions on filesystem

An edit to remove --internal-classpath recommendation (it doesn't
work) and to point at the new doc on how to fix orphan regions
using the bulkloadcomplet tool over in the refguide.

2 years agoHBASE-22825 [HBCK2] Add a client-side to hbase-operator-tools that can exploit fixMet...
Sakthi [Thu, 5 Sep 2019 22:41:36 +0000 (15:41 -0700)] 
HBASE-22825 [HBCK2] Add a client-side to hbase-operator-tools that can exploit fixMeta added in server side Fix review comments - Put FixMeta alphabetically Signed-off-by: Sean Busbey <busbey@apache.org> Signed-off-by: stack <stack@apache.org>

2 years agoHBASE-22951 [HBCK2] hbase hbck throws IOE "No FileSystem for scheme: hdfs" (#22)
Michael Stack [Wed, 4 Sep 2019 04:38:44 +0000 (21:38 -0700)] 
HBASE-22951 [HBCK2] hbase hbck throws IOE "No FileSystem for scheme: hdfs" (#22)

Add note on how to add hdfs jars when running filesystem command.
Make note of new 'HBCK Report'. Did general edit.

2 years agoHBASE-22952 HBCK2 replication command is incompatible with 2.0.x (#20)
Peter Somogyi [Mon, 2 Sep 2019 07:54:05 +0000 (09:54 +0200)] 
HBASE-22952 HBCK2 replication command is incompatible with 2.0.x (#20)

Signed-off-by: Michael Stack <stack@apache.org>