Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBASE-26097: to resolve hbase version 2.x protobuf version conflict #3502

Closed
wants to merge 2,901 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2901 commits
Select commit Hold shift + click to select a range
4c6f0f3
HBASE-25512 May throw StringIndexOutOfBoundsException when construct …
saintstack Feb 8, 2021
1c64049
HBASE-24772 Use GetoptLong or OptionParser in hbase-shell (#2918)
laxmanlax Feb 9, 2021
e332c94
HBASE-25507 Leak of ESTABLISHED sockets when compaction encountered "…
sunhelly Feb 9, 2021
b05dcac
HBASE-25559 Terminate threads of oldsources while RS is closing (#2938)
ddupg Feb 9, 2021
9a6bd5b
HBASE-25519 BLOCKSIZE needs to support pretty print (#2944)
ZhaoBQ Feb 9, 2021
a61f108
HBASE-25364 Redo the getMidPoint() in HFileWriterImpl to get rid of t…
GeorryHuang Feb 10, 2021
2d5a5db
HBASE-23887 AdaptiveLRU cache (#2934)
pustota2009 Feb 13, 2021
2e31d1d
HBASE-25571: Compilation error in branch-2 after HBASE-25364 (#2951)
arshadmohammad Feb 13, 2021
d784e3f
HBASE-23887 Bug fix heavyEvictionMbSizeLimit (ADDENDUM) (#2957)
pustota2009 Feb 15, 2021
ec680c5
HBASE-25541 : Setting the path to null when we dequeue the current lo…
sandeepvinayak Feb 18, 2021
6a4c9be
HBASE-25539: Add age of oldest wal metric (#2962)
shahrs87 Feb 19, 2021
a3edcc2
HBASE-25562 ReplicationSourceWALReader log and handle exception immed…
ddupg Feb 20, 2021
5356edf
HBASE-25574 Revisit put/delete/increment/append related RegionObserve…
brfrn169 Feb 22, 2021
cfbae4d
HBASE-25575 Should validate Puts in RowMutations
brfrn169 Feb 22, 2021
fb0d772
HBASE-25556 Frequent replication "Encountered a malformed edit" warni…
apurtell Feb 23, 2021
e863df3
HBASE-25598 TestFromClientSide5.testScanMetrics is flaky (#2977)
ddupg Feb 24, 2021
33c9f77
HBASE-25601 Use ASF-official mailing list archives
joshelser Feb 24, 2021
d724d05
HBASE-25596: Fix NPE and avoid permanent unreplicated data due to EOF…
sandeepvinayak Feb 25, 2021
328ff8c
HBASE-25590 Bulkload replication HFileRefs cannot be cleared in some …
ddupg Feb 26, 2021
f2f4b3f
HBASE-25586 Fix HBASE-22492 on branch-2 (SASL GapToken) (#2961)
meszibalu Feb 26, 2021
f268677
HBASE-25615 Upgrade java version in pre commit docker file (#2997)
Apache9 Feb 27, 2021
d6161df
HBASE-25620 Increase timeout value for pre commit (#3000)
Apache9 Mar 1, 2021
cb40b81
HBASE-25604 Upgrade spotbugs to 4.x (#2986)
Apache9 Mar 2, 2021
c1cc846
HBASE-25611 ExportSnapshot chmod flag uses value as decimal (#3003)
petersomogyi Mar 2, 2021
0988f40
Revert "HBASE-25604 Upgrade spotbugs to 4.x (#2986)"
Apache9 Mar 2, 2021
0849fae
Revert "HBASE-25596: Fix NPE and avoid permanent unreplicated data du…
apurtell Mar 2, 2021
1cd8638
HBASE-25371: When openRegion fails during initial verification(before…
arshadmohammad Dec 21, 2020
acf2bd9
HBASE-25421 There is no limit on the column length when creating a ta…
zouweiming758 Mar 3, 2021
63f2c1c
HBASE-25367 Sort broken after Change 'State time' in UI (#2964)
AkshayTSudheer Mar 3, 2021
80b8359
HBASE-25596: Fix NPE and avoid permanent unreplicated data due to EOF…
sandeepvinayak Mar 3, 2021
621edfe
HBASE-25603 Add switch for compaction after bulkload (#2982)
nyl3532016 Mar 4, 2021
dce639a
HBASE-25385 TestCurrentHourProvider fails if the latest timezone chan…
apurtell Mar 4, 2021
e57c73a
HBASE-25460 : Expose drainingServers as cluster metric (#2994) (#2995)
rahulLiving Mar 4, 2021
c9d0ec9
HBASE-25626 Possible Resource Leak in HeterogeneousRegionCountCostFun…
Nargeshdb Mar 5, 2021
0487760
HBASE-25492: Create table with RSGroup (#2883)
arshadmohammad Mar 6, 2021
88b9e98
HBASE-25637 Rename method completeCompaction to refreshStoreSizeAndTo…
nyl3532016 Mar 6, 2021
f1dfd3b
HBASE-23578 [UI] Master UI shows long stack traces when table is brok…
Apache9 Mar 7, 2021
e81ef34
HBASE-25609 There is a problem with the SPLITS_FILE in the HBase shel…
shenshengli Mar 7, 2021
f2c52e4
HBASE-25644 Scan#setSmall blindly sets ReadType as PREAD
anoopsjohn Mar 8, 2021
321b5c7
HBASE-25547: Thread pools should release unused resources (#3037)
bharathv Mar 9, 2021
884cb0b
HBASE-25646: Possible Resource Leak in CatalogJanitor #3036
Nargeshdb Mar 9, 2021
e338588
HBASE-25604 Upgrade spotbugs to 4.x (#3029)
Apache9 Mar 10, 2021
29d771f
HBASE-25582 Support setting scan ReadType to be STREAM at cluster lev…
anoopsjohn Mar 10, 2021
7adc000
HBASE-25548 Optionally allow snapshots to preserve cluster's max file…
wchevreuil Mar 10, 2021
d546c8e
HBASE-25629 Reimplement TestCurrentHourProvider to not depend on unst…
Apache9 Mar 10, 2021
b5fc5e1
HBASE-25636 Expose HBCK report as metrics (#3031)
mymeiyi Mar 11, 2021
af8dc2e
HBASE-25587 [hbck2] Schedule SCP for all unknown servers (#2978)
petersomogyi Mar 11, 2021
40d7e02
HBASE-25566 RoundRobinTableInputFormat (#2947)
Mar 12, 2021
45b3280
HBASE-25570 On largish cluster, "CleanerChore: Could not delete dir..…
saintstack Mar 12, 2021
bb4d8b9
HBASE-25622 Result#compareResults should compare tags. (#3026)
shahrs87 Mar 12, 2021
aafbbc2
HBASE-25657 Fix spotbugs warnings after upgrading spotbugs to 4.x (#3…
Apache9 Mar 12, 2021
95e8ee5
HBASE-25635 CandidateGenerator may miss some region balance actions (…
sunhelly Mar 15, 2021
4c8de44
HBASE-25662 Fix spotbugs warning in RoundRobinTableInputFormat (#3050)
Apache9 Mar 15, 2021
754300a
HBASE-25663 Make graceful_stop localhostname compare match even if fq…
saintstack Mar 15, 2021
3bf2ef4
HBASE-25660 Print split policy in use on Region open (as well as spl…
saintstack Mar 15, 2021
763de9a
HBASE-25561 Added ignored test for async connection that runs retries…
saintstack Mar 15, 2021
13574de
HBASE-25595 TestLruBlockCache.testBackgroundEvictionThread is flaky (…
sunhelly Mar 15, 2021
6c224b8
HBASE-25621 Balancer should check region plan source to avoid misplac…
sunhelly Mar 15, 2021
a93b0cd
HBASE-25597 Add row info in Exception when cell size exceeds maxCellS…
ZhaoBQ Mar 15, 2021
1ca8501
HBASE-25374 Make REST Client connection and socket time out configura…
pankaj72981 Mar 15, 2021
4b2cab3
Revert "HBASE-25663 Make graceful_stop localhostname compare match ev…
saintstack Mar 16, 2021
3135b7a
HBASE-25594 graceful_stop.sh fails to unload regions when ran at loca…
Feb 22, 2021
f0c5e68
HBASE-25667 Remove RSGroup test addition made in parent; depends on f…
saintstack Mar 16, 2021
a61e9b9
HBASE-25665 Option to use hostname instead of canonical hostname for …
bitterfox Mar 17, 2021
7249627
HBASE-25627: HBase replication should have a metric to represent if t…
sandeepvinayak Mar 17, 2021
97e0273
HBASE-25673 Wrong log regarding current active master at ZKLeaderMana…
anoopsjohn Mar 18, 2021
75e2e7c
HBASE-25677 Server+table counters on each scan #nextRaw invocation be…
saintstack Mar 18, 2021
c9b81c3
HBASE-25674 - RegionInfo.parseFrom(DataInputStream) sometimes fails t…
catalin-luca Mar 18, 2021
150e02e
HBASE-25671 Backport HBASE-25608 to branch-2 (#3058)
bitterfox Mar 18, 2021
9e701bb
HBOPS-25594 Make easier to use graceful_stop on localhost mode (#3054)
javierluca Mar 18, 2021
19d094b
HBASE-25643 The delayed FlushRegionEntry should be removed when we ne…
bsglz Mar 18, 2021
566b051
HBASE-25518 Support separate child regions to different region server…
sunhelly Mar 18, 2021
5840003
Revert "HBOPS-25594 Make easier to use graceful_stop on localhost mod…
petersomogyi Mar 19, 2021
a9a1ec5
HBASE-25594 Make easier to use graceful_stop on localhost mode (#3054)
javierluca Mar 18, 2021
ed8b726
HBASE-25679 Size of log queue metric is incorrect (#3071)
shahrs87 Mar 19, 2021
37fa9e5
HBASE-25594 Make easier to use graceful_stop on localhost mode (#3054)
saintstack Mar 20, 2021
2b5c2c3
HBASE-25678 Support nonce operations for Increment/Append in RowMutat…
brfrn169 Mar 21, 2021
ddfedb0
HBASE-25685 asyncprofiler2.0 no longer supports svg; wants html
saintstack Mar 22, 2021
b53f52d
Revert "HBASE-25685 asyncprofiler2.0 no longer supports svg; wants html"
saintstack Mar 22, 2021
7ff1d14
HBASE-25688 Use CustomRequestLog instead of Slf4jRequestLog for jetty…
Apache9 Mar 23, 2021
c8c043a
HBASE-25685 asyncprofiler2.0 no longer supports svg; wants html (#3079)
saintstack Mar 23, 2021
80529af
HBASE-25691 Test failure: TestVerifyBucketCacheFile.testRetrieveFromF…
huaxiangsun Mar 24, 2021
124ea5e
HBASE-25693 NPE getting metrics from standby masters (MetricsMasterWr…
apurtell Mar 25, 2021
3bb9788
HBASE-25032 Wait for region server to become online before adding it …
caroliney14 Mar 26, 2021
9a84267
HBASE-25568 Upgrade Thrift jar to fix CVE-2020-13949 (#3083)
pankaj72981 Mar 26, 2021
693de81
HBASE-25686 [hbtop] Add some javadoc (#3096)
brfrn169 Mar 27, 2021
84eb022
HBASE-25695 Link to the filter on hbase:meta from user tables panel o…
saintstack Mar 28, 2021
fa8b965
HBASE-25692 Always try to close the WAL reader when we catch any exce…
joshelser Mar 29, 2021
1d3ea38
HBASE-25703 Support conditional update in MultiRowMutationEndpoint (#…
brfrn169 Mar 30, 2021
e58f1b2
HBASE-25713 Make an hbase-wal module
saintstack Mar 30, 2021
d90d0c2
HBASE-25558:Adding audit log for execMasterService (#3101)
lujiefsi Mar 31, 2021
b051ad5
Revert "HBASE-25713 Make an hbase-wal module"
saintstack Mar 31, 2021
deb6d00
HBASE-25696 Need to initialize SLF4JBridgeHandler in jul-to-slf4j for…
Apache9 Apr 2, 2021
554e039
HBASE-25726 MoveCostFunction is not included in the list of cost func…
d-c-manning Apr 2, 2021
5d7e4be
HBASE-25696 Addendum add missing hbase-logging test-jar dependency
Apache9 Apr 3, 2021
1fa07ce
HBASE-25199 Remove deprecated HStore#getStoreHomedir methods (#2562)
HorizonNet Apr 3, 2021
18882d6
HBASE-24305 Prepare deprecations in ServerName (#1666) (#3121)
HorizonNet Apr 5, 2021
50bd11a
HBASE-25735 Add target Region to connection exceptions
saintstack Apr 6, 2021
8ff17c6
HBASE-25687 Backport "HBASE-25681 Add a switch for server/table query…
ZhaoBQ Apr 7, 2021
94a19b5
HBASE-25743: Retry REQUESTTIMEOUT based KeeperExceptions in ZK client.
bharathv Apr 7, 2021
89fa8e7
HBASE-25717 RegionServer aborted with due to ClassCastException (#3108)
pankaj72981 Apr 8, 2021
96a177f
HBASE-25735 Add target Region to connection exceptions
saintstack Apr 8, 2021
3f1269e
HBASE-25750 Upgrade RpcControllerFactory and HBaseRpcController from …
apurtell Apr 9, 2021
3faa675
HBASE-25747 Remove unused getWriteAvailable method in OperationQuota …
mymeiyi Apr 9, 2021
89c9f28
HBASE-25751 - Add writable TimeToPurgeDeletes to ScanOptions (#3137)
gjacoby126 Apr 9, 2021
e1f9c7b
HBASE-25755 Exclude tomcat-embed-core from libthrift (#3141)
petersomogyi Apr 10, 2021
b071902
HBASE-25744 Change default of `hbase.normalizer.merge.min_region_size…
ndimiduk Apr 7, 2021
702220a
HBASE-25759 The master services field in LocalityBasedCostFunction is…
Apache9 Apr 12, 2021
ae3daa5
HBASE-25482 Improve SimpleRegionNormalizer#getAverageRegionSizeMb (#2…
ZhaoBQ Jan 19, 2021
15659f0
HBASE-25767 CandidateGenerator.getRandomIterationOrder is too slow on…
Apache9 Apr 13, 2021
46a1060
HBASE-25762 Improvement for some debug-logging guards (#3145)
coder-chenzhi Apr 13, 2021
35520a7
HBASE-25653 Add units and round off region size to 2 digits after dec…
DivyeshChandra Mar 17, 2021
819062b
HBASE-25776 Use Class.asSubclass to fix the warning in StochasticLoad…
yu199195 Apr 15, 2021
32207cd
HBASE-25770 Http InfoServers should honor gzip encoding when requeste…
ndimiduk Apr 15, 2021
a177fb4
HBASE-25775 Use a special balancer to deal with maintenance mode (#3161)
Apache9 Apr 16, 2021
9cf8a48
HBASE-25777 Fix wrong initialization value in StressAssignmentManager…
nyl3532016 Apr 19, 2021
4b916ea
HBASE-25763 TestRSGroupsWithACL.setupBeforeClass is flaky (#3158)
sunhelly Apr 21, 2021
d575c11
HBASE-25798 typo in MetricsAssertHelper (#3187)
ZhaoBQ Apr 21, 2021
f4f8430
HBASE-25766 Introduce RegionSplitRestriction that restricts the patte…
brfrn169 Apr 22, 2021
a02ce95
HBASE-25793 Move BaseLoadBalancer.Cluster to a separated file (#3185)…
Apache9 Apr 22, 2021
fd7b2c6
HBASE-25754 StripeCompactionPolicy should support compacting cold reg…
sunhelly Apr 23, 2021
f374357
HBASE-25802 Miscellaneous style improvements for load balancer relate…
Apache9 Apr 23, 2021
01ce44a
HBASE-25756 Support alternate compression for major and minor compact…
apurtell Apr 23, 2021
04c30bd
HBASE-25792 Filter out o.a.hadoop.thirdparty building shaded jars (#3…
saintstack Apr 27, 2021
3a01941
HBASE-25779 HRegionServer#compactSplitThread should be private
ndimiduk Apr 15, 2021
c52c091
HBASE-25819 Fix style issues for StochasticLoadBalancer (#3207)
Apache9 Apr 29, 2021
3ebcfda
HBASE-25825 RSGroupBasedLoadBalancer.onConfigurationChange should cha…
Apache9 Apr 30, 2021
bf43006
HBASE-25824 IntegrationTestLoadCommonCrawl (#3208)
apurtell May 4, 2021
e725ef5
HBASE-25838 Use double instead of Double in StochasticLoadBalancer (#…
Apache9 May 4, 2021
60055f5
HBASE-25840 CatalogJanitor warns about skipping gc of regions during …
apurtell May 4, 2021
c8f3dd5
HBASE-25836 RegionStates#getAssignmentsForBalancer should only care a…
apurtell May 4, 2021
36994a2
HBASE-25835 Ignore duplicate split requests from regionserver reports…
apurtell May 4, 2021
3f8d3ba
HBASE-25842 move regionserver http-related code into o.a.h.h.regionse…
ndimiduk May 3, 2021
afa9836
HBASE-25834 Remove balanceTable method from LoadBalancer interface (#…
Apache9 May 5, 2021
6f2842d
HBASE-25843 move master http-related code into o.a.h.h.master.http
ndimiduk May 3, 2021
b2c5833
HBASE-25847 More DEBUG and TRACE level logging in CatalogJanitor and …
apurtell May 6, 2021
2d4904c
HBASE-25851 Make LoadBalancer not extend Configurable interface (#323…
Apache9 May 6, 2021
2938ba4
HBASE-25854 Remove redundant AM in-memory state changes in CatalogJan…
apurtell May 6, 2021
bec79d8
HBASE-25850 Fix spotbugs warnings on branch-2 (#3239)
ZhangIssac May 7, 2021
5e65da6
HBASE-25837 TestRollingRestart is flaky (#3220)
nyl3532016 May 7, 2021
d60aa0a
HBASE-25774 ServerManager.getOnlineServer may miss some region server…
apurtell May 8, 2021
90dc150
HBASE-25860 Add metric for successful wal roll requests. (#3238)
shahrs87 May 8, 2021
63d49cb
HBASE-25790 NamedQueue 'BalancerRejection' for recent history of bala…
GeorryHuang May 8, 2021
4e507cc
HBASE-25859 Reference class incorrectly parses the protobuf magic mar…
catalin-luca May 10, 2021
61d9b46
HBASE-25867 Extra doc around ITBLL (#3242)
saintstack May 11, 2021
0755457
HBASE-25876 Add retry if we fail to read all bytes of the protobuf ma…
saintstack May 12, 2021
72d7641
HBASE-25852 Move all the intialization work of LoadBalancer implement…
Apache9 May 13, 2021
1bb16fe
HBASE-25884 Return empty records for disabled balancer in-memory queu…
virajjasani May 14, 2021
d5d972f
HBASE-25883 The regionFinder and rackManager fields in BaseLoadBalanc…
Apache9 May 15, 2021
439fd4a
HBASE-25872 Add documentation for LoadBalancer about synchronization …
Apache9 May 17, 2021
1a8d3c3
HBASE-25875 RegionServer failed to start with IllegalThreadStateExcep…
pankaj72981 May 17, 2021
8110b18
HBASE-25032 Do not assign regions to region server which has not call…
Apache9 May 18, 2021
aab6e1d
HBASE-25861 Correct the usage of Configuration#addDeprecation (#3249)
ndimiduk May 18, 2021
d19e058
HBASE-25841 Add basic jshell support
ndimiduk May 3, 2021
3040be1
HBASE-25791 UI of master-status to show a recent history of that why …
GeorryHuang May 20, 2021
d78c164
HBASE-25897 TestRetainAssignmentOnRestart is flaky after HBASE-25032 …
Apache9 May 20, 2021
cd06870
HBASE-25682 Add a new command to update the configuration of all RSs …
ZhaoBQ May 21, 2021
7b374b7
HBASE-25827 Per Cell TTL tags get duplicated with increments causing …
shahrs87 May 21, 2021
2d591ab
HBASE-25869 WAL value compression (#3244)
apurtell May 21, 2021
926c113
HBASE-25848: Add flexibility to backup replication in case replicatio…
sandeepvinayak May 21, 2021
375aee2
HBASE-25817 Memory leak from thrift server hashMap (#3257)
sambong0113 May 22, 2021
a19dee1
HBASE-25892: 'False' should be 'True' in auditlog of listLabels (#3273)
caoliqingstudio May 22, 2021
16f865f
HBASE-25773 TestSnapshotScannerHDFSAclController.setupBeforeClass is …
sunhelly May 22, 2021
1c1acee
HBASE-25873 Refactor and cleanup the code for CostFunction (#3274)
Apache9 May 24, 2021
76d56bc
HBASE-25899 Improve efficiency of SnapshotHFileCleaner (#3280)
sunhelly May 24, 2021
1649013
HBASE-25898 RS getting aborted due to NPE in Replication WALEntryStre…
anoopsjohn May 24, 2021
073f23e
HBASE-25513 When the table is turned on normalize, the first region m…
ZhaoBQ Jan 19, 2021
8754e88
HBASE-25906 UI of master-status to show recent history of balancer de…
GeorryHuang May 25, 2021
2cb6cc8
HBASE-25894 Improve the performance for region load and region count …
Apache9 May 25, 2021
563ebc2
HBASE-25534 Honor TableDescriptor settings earlier in normalization (…
ZhaoBQ May 25, 2021
f7358cd
HBASE-25841 Add basic jshell support (addendum)
ndimiduk May 25, 2021
e265ecc
HBASE-25924 Re-compute size of WAL file while removing from WALEntryS…
shahrs87 May 26, 2021
3cf0678
HBASE-25926 Cleanup MetaTableAccessor references in FavoredNodeBalanc…
Apache9 May 27, 2021
cad9ae3
HBASE-25933 Log trace raw exception, instead of cause message in Nett…
wchevreuil May 27, 2021
21e9c6a
HBASE-25908 Exclude jakarta.activation-api (#3299)
jojochuang May 28, 2021
a3aec54
Revert "HBASE-25908 Exclude jakarta.activation-api (#3299)"
saintstack May 28, 2021
1e01c94
Subject: [PATCH] HBASE-25908 Exclude jakarta.activation-api (#3299)
jojochuang May 28, 2021
b4e8b91
HBASE-25718 Backport "HBASE-25705 Convert proto to RSGroupInfo is cos…
mokai87 May 28, 2021
a1cac20
HBASE-25928 TestHBaseConfiguration#testDeprecatedConfigurations is br…
ZhaoBQ May 28, 2021
5aa39a9
HBASE-25910 - Fix port assignment test (#3308)
May 28, 2021
bbe9558
HBASE-25745 Deprecate/Rename config `hbase.normalizer.min.region.coun…
ZhaoBQ May 28, 2021
5ce6005
Revert "Subject: [PATCH] HBASE-25908 Exclude jakarta.activation-api (…
saintstack May 28, 2021
fada988
HBASE-25908 Exclude jakarta.activation-api (#3299)
saintstack May 28, 2021
2a84fd4
HBASE-25938 The SnapshotOfRegionAssignmentFromMeta.initialize call in…
Apache9 May 29, 2021
5157521
HBASE-25927: Fix the log messages by not stringifying the exceptions …
sandeepvinayak May 29, 2021
1a45b74
HBASE-25940 Update Compression/TestCompressionTest: LZ4, SNAPPY, LZO …
saintstack May 29, 2021
59513e8
HBASE-25942: Get rid of null regioninfo in wrapped connection excepti…
bharathv May 31, 2021
9beb278
HBASE-25941 TestRESTServerSSL fails because of jdk bug (#3335)
saintstack May 31, 2021
920a956
HBASE-25948 Remove deprecated ZK command 'rmr' in hbase-cleanup.sh (#…
mokai87 May 31, 2021
0ede56d
HBASE-25903 ReadOnlyZKClient APIs - CompletableFuture.get() calls can…
anoopsjohn May 31, 2021
d4285be
HBASE-25932: Ensure replication reads the trailer bytes from WAL. (#3…
bharathv Jun 1, 2021
a4e8ee1
HBASE-25911 Replace calls to System.currentTimeMillis with Environmen…
apurtell Jun 1, 2021
1267bdb
HBASE-25929 RegionServer JVM crash when compaction (#3318)
mymeiyi Jun 3, 2021
51a6aed
HBASE-25930 Thrift does not support requests in Kerberos environment …
Haoning-Sun Jun 4, 2021
e4dd490
HBASE-25963 HBaseCluster should be marked as IA.Public (#3348)
Apache9 Jun 6, 2021
2a45ce1
HBASE-25918 Upgrade hbase-thirdparty dependency to 3.5.1 (#3317)
pankaj72981 Jun 8, 2021
3d6e73d
HBASE-25969 Purge netty-all transitive includes (#3353)
saintstack Jun 8, 2021
b683729
HBASE-25981 JVM crash when displaying RegionServer UI (#3364)
sunhelly Jun 9, 2021
d22bd90
HBASE-25987 Make SSL keystore type configurable for HBase ThriftServe…
symat Jun 9, 2021
88f031e
HBASE-25967 The readRequestsCount does not calculate when the outResu…
bsglz Jun 10, 2021
1542b50
HBASE-25993 Make excluded SSL cipher suites configurable for all Web …
symat Jun 10, 2021
ef9149b
HBASE-25989 FanOutOneBlockAsyncDFSOutput using shaded protobuf in hdf…
saintstack Jun 12, 2021
a1d59bf
HBASE-25994 Active WAL tailing fails when WAL value compression is en…
apurtell Jun 15, 2021
cb5f0df
HBASE-25995 Change the method name for DoubleArrayCost.setCosts (#3381)
Apache9 Jun 15, 2021
6f1e652
HBASE-26002 MultiRowMutationEndpoint should return the result of the …
brfrn169 Jun 15, 2021
4719a20
HBASE-25997 NettyRpcFrameDecoder decode request header wrong when han…
binlijin Jun 15, 2021
a238e79
HBASE-26000 Optimize the display of ZK dump in the master web UI (#3383)
tomscut Jun 15, 2021
26c4e86
HBASE-25976 Implement a master based ReplicationTracker (#3390)
Apache9 Jun 17, 2021
836fd3c
HBASE-25984: Avoid premature reuse of sync futures in FSHLog (#3371) …
bharathv Jun 17, 2021
3b58919
HBASE-25998: Redo synchronization in SyncFuture (#3399)
bharathv Jun 18, 2021
c800e6c
HBASE-25992 Polish the ReplicationSourceWALReader code for 2.x after …
Apache9 Jun 20, 2021
029dc81
HBASE-26001 When turn on access control, the cell level TTL of Increm…
YutSean Jun 21, 2021
41a6832
HBASE-25698 Fixing IllegalReferenceCountException when using TinyLfuB…
virajjasani Jun 21, 2021
12d707c
HBASE-25992 Addendum add missing catch WALEntryFilterRetryableExcepti…
Apache9 Jun 21, 2021
bda7afe
HBASE-25937: Clarify UnknownRegionException (#3330)
belugabehr Jun 22, 2021
2ae69a8
HBASE-25877 Add access check for compactionSwitch (#3253)
lujiefsi Jun 22, 2021
669ff7b
Remove the reflection and call Configuration.getPassword() directly. …
jojochuang Jun 23, 2021
c81a5ab
HBASE-25934 Add username for RegionScannerHolder (#3325)
tomscut Jun 23, 2021
1978fae
Revert "Remove the reflection and call Configuration.getPassword() di…
petersomogyi Jun 23, 2021
e3eb760
HBASE-26019 Remove the reflection and call Configuration.getPassword(…
jojochuang Jun 23, 2021
9fe1781
HBASE-26020 Split TestWALEntryStream.testDifferentCounts out (#3409)
Apache9 Jun 23, 2021
a7cbc06
HBASE-25966 Fix typo in NOTICE.vm
ndimiduk Jun 2, 2021
193a94e
HBASE-26013 Get operations readRows metrics becomes zero after HBASE-…
YutSean Jun 24, 2021
7e6b66c
HBASE-26012 Improve logging and dequeue logic in DelayQueue (#3397)
virajjasani Jun 24, 2021
84ae618
HBASE-26025 Add a flag to mark if the IOError can be solved by retry …
YutSean Jun 25, 2021
c7c5d56
HBASE-26015 Should implement getRegionServers(boolean) method in Asyn…
GeorryHuang Jun 27, 2021
c707a9f
HBASE-25914 Provide slow/large logs on RegionServer UI (#3321)
GeorryHuang Jun 27, 2021
166becf
HBASE-25980 Master table.jsp pointed at meta throws 500 when no all r…
GeorryHuang Jun 27, 2021
f827a4c
HBASE-26039 TestReplicationKillRS is useless after HBASE-23956 (#3440)
Apache9 Jun 30, 2021
748e369
HBASE-26029 It is not reliable to use nodeDeleted event to track regi…
Apache9 Jun 30, 2021
b90fbb7
HBASE-26028 The view as json page shows exception when using TinyLfuB…
bsglz Jun 30, 2021
75cd253
HBASE-25902 Add missing CFs in meta during HBase 1 to 2 Upgrade (#3417)
virajjasani Jul 1, 2021
1381df4
HBASE-22923 min version of RegionServer to move system table regions …
virajjasani Jul 1, 2021
1d6eb77
HBASE-26027 The calling of HTable.batch blocked at AsyncRequestFuture…
bsglz Jul 1, 2021
1f1e621
HBASE-26035 Redundant null check in the compareTo function (#3433)
almogtavor Jul 1, 2021
3d4a0df
HBASE-26041 Replace PrintThreadInfoHelper with HBase's own Reflection…
jojochuang Jul 2, 2021
db75ef2
HBASE-26050 Remove the reflection used in FSUtils.isInSafeMode (#3445)
jojochuang Jul 2, 2021
22fd649
HBASE-26030 hbase-cleanup.sh did not clean the wal dir if hbase.wal.d…
mokai87 Jul 3, 2021
342a478
HBASE-22923 Consider minVersionToMoveSysTables while moving region an…
virajjasani Jul 3, 2021
bde5d98
HBASE-26065 StripeStoreFileManager does not need to throw IOException…
Apache9 Jul 5, 2021
1ba03ca
HBASE-26068 The last assertion in TestHStore.testRefreshStoreFilesNot…
Apache9 Jul 7, 2021
b86d2d4
HBASE-26069 Remove HStore.compactRecentForTestingAssumingDefaultPolic…
Apache9 Jul 7, 2021
3294d32
HBASE-25700 Enhance znode parent validation when add_peer (#3458)
mokai87 Jul 11, 2021
fa8bc25
HBASE-26080 Implement a new mini cluster class for end users (#3470)
Apache9 Jul 13, 2021
dfc9ac8
HBASE-25739 TableSkewCostFunction need to use aggregated deviation - …
clarax Jul 12, 2021
12f2a16
HBASE-26086 TestHRegionReplayEvents do not pass in branch-2 and throw…
binlijin Jul 14, 2021
692d384
HBASE-26036 DBB released too early in HRegion.get() and dirty data fo…
sunhelly Jul 14, 2021
287cf20
HBASE-25739 TableSkewCostFunction need to use aggregated deviation - …
clarax Jul 15, 2021
fb01a6c
HBASE-26083 In branch-2 & branch-1 L1 miss metric is always 0 when us…
YutSean Jul 16, 2021
249efc4
HBASE-26097: to resolve hbase version 2.x protobuf version conflict
zyxxoo Jul 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
694 changes: 694 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ linklint-*.zip
linklint/
.checkstyle
**/.checkstyle
.java-version
tmp
18 changes: 18 additions & 0 deletions .idea/checkstyle-idea.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ dummy-variables-rgx=_|dummy
# you should avoid to define new builtins when possible.
additional-builtins=

# List of modules that can redefine builtins. (For python 2/3 compatibility)
redefining-builtins-modules=builtins


[TYPECHECK]

Expand Down
11 changes: 11 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Naming/HeredocDelimiterNaming:
Enabled: false

Layout/HeredocIndentation:
Enabled: false

Layout/LineLength:
Max: 100

Metrics/MethodLength:
Max: 75
7,088 changes: 7,088 additions & 0 deletions CHANGES.md

Large diffs are not rendered by default.

4,455 changes: 0 additions & 4,455 deletions CHANGES.txt

This file was deleted.

5 changes: 4 additions & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache HBase
Copyright 2007-2018 The Apache Software Foundation
Copyright 2007-2020 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Expand Down Expand Up @@ -45,3 +45,6 @@ This product includes portions of the Guava project v14 and v21, specifically
Copyright (C) 2007 The Guava Authors

Licensed under the Apache License, Version 2.0
--
This product includes portions of Jetty project, specially
'hbase-shaded-hbase-shaded-testing-util/src/main/resources/org/apache/hadoop/hbase/shaded/org/mortbay/jetty/webapp/webdefault.xml'
10,017 changes: 10,017 additions & 0 deletions RELEASENOTES.md

Large diffs are not rendered by default.

140 changes: 140 additions & 0 deletions bin/chaos-daemon.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
#!/usr/bin/env bash
#
#/**
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements. See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership. The ASF licenses this file
# * to you under the Apache License, Version 2.0 (the
# * "License"); you may not use this file except in compliance
# * with the License. You may obtain a copy of the License at
# *
# * http://www.apache.org/licenses/LICENSE-2.0
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# */
#

usage="Usage: chaos-daemon.sh (start|stop) chaosagent"

# if no args specified, show usage
if [ $# -le 1 ]; then
echo "$usage"
exit 1
fi

# get arguments
startStop=$1
shift

command=$1
shift

check_before_start(){
#ckeck if the process is not running
mkdir -p "$HBASE_PID_DIR"
if [ -f "$CHAOS_PID" ]; then
if kill -0 "$(cat "$CHAOS_PID")" > /dev/null 2>&1; then
echo "$command" running as process "$(cat "$CHAOS_PID")". Stop it first.
exit 1
fi
fi
}

bin=`dirname "${BASH_SOURCE-$0}"`
bin=$(cd "$bin">/dev/null || exit; pwd)

. "$bin"/hbase-config.sh
. "$bin"/hbase-common.sh

CLASSPATH=$HBASE_CONF_DIR
for f in ../lib/*.jar; do
CLASSPATH=${CLASSPATH}:$f
done

# get log directory
if [ "$HBASE_LOG_DIR" = "" ]; then
export HBASE_LOG_DIR="$HBASE_HOME/logs"
fi

if [ "$HBASE_PID_DIR" = "" ]; then
HBASE_PID_DIR=/tmp
fi

if [ "$HBASE_IDENT_STRING" = "" ]; then
export HBASE_IDENT_STRING="$USER"
fi

if [ "$JAVA_HOME" != "" ]; then
#echo "run java in $JAVA_HOME"
JAVA_HOME=$JAVA_HOME
fi
if [ "$JAVA_HOME" = "" ]; then
echo "Error: JAVA_HOME is not set."
exit 1
fi

export HBASE_LOG_PREFIX=hbase-$HBASE_IDENT_STRING-$command-$HOSTNAME
export CHAOS_LOGFILE=$HBASE_LOG_PREFIX.log

if [ -z "${HBASE_ROOT_LOGGER}" ]; then
export HBASE_ROOT_LOGGER=${HBASE_ROOT_LOGGER:-"INFO,RFA"}
fi

if [ -z "${HBASE_SECURITY_LOGGER}" ]; then
export HBASE_SECURITY_LOGGER=${HBASE_SECURITY_LOGGER:-"INFO,RFAS"}
fi

CHAOS_LOGLOG=${CHAOS_LOGLOG:-"${HBASE_LOG_DIR}/${CHAOS_LOGFILE}"}
CHAOS_PID=$HBASE_PID_DIR/hbase-$HBASE_IDENT_STRING-$command.pid

if [ -z "$CHAOS_JAVA_OPTS" ]; then
CHAOS_JAVA_OPTS="-Xms1024m -Xmx4096m"
fi

case $startStop in

(start)
check_before_start
echo running $command
CMD="${JAVA_HOME}/bin/java -Dapp.home=${HBASE_CONF_DIR}/../ ${CHAOS_JAVA_OPTS} -cp ${CLASSPATH} org.apache.hadoop.hbase.chaos.ChaosService -$command start &>> ${CHAOS_LOGLOG} &"

eval $CMD
PID=$(echo $!)
echo ${PID} >${CHAOS_PID}

echo "Chaos ${1} process Started with ${PID} !"
now=$(date)
echo "${now} Chaos ${1} process Started with ${PID} !" >>${CHAOS_LOGLOG}
;;

(stop)
echo stopping $command
if [ -f $CHAOS_PID ]; then
pidToKill=`cat $CHAOS_PID`
# kill -0 == see if the PID exists
if kill -0 $pidToKill > /dev/null 2>&1; then
echo -n stopping $command
echo "`date` Terminating $command" >> $CHAOS_LOGLOG
kill $pidToKill > /dev/null 2>&1
waitForProcessEnd $pidToKill $command
else
retval=$?
echo no $command to stop because kill -0 of pid $pidToKill failed with status $retval
fi
else
echo no $command to stop because no pid file $CHAOS_PID
fi
rm -f $CHAOS_PID
;;

(*)
echo $usage
exit 1
;;

esac
41 changes: 24 additions & 17 deletions bin/draining_servers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
java_import org.apache.hadoop.hbase.client.ConnectionFactory
java_import org.apache.hadoop.hbase.client.HBaseAdmin
java_import org.apache.hadoop.hbase.zookeeper.ZKUtil
java_import org.apache.hadoop.hbase.zookeeper.ZNodePaths
java_import org.slf4j.LoggerFactory

# Name of this script
Expand All @@ -50,28 +51,29 @@
def getServers(admin)
serverInfos = admin.getClusterStatus.getServers
servers = []
for server in serverInfos
serverInfos.each do |server|
servers << server.getServerName
end
servers
end

# rubocop:disable Metrics/AbcSize
def getServerNames(hostOrServers, config)
ret = []
connection = ConnectionFactory.createConnection(config)

for hostOrServer in hostOrServers
hostOrServers.each do |host_or_server|
# check whether it is already serverName. No need to connect to cluster
parts = hostOrServer.split(',')
parts = host_or_server.split(',')
if parts.size == 3
ret << hostOrServer
ret << host_or_server
else
admin = connection.getAdmin unless admin
admin ||= connection.getAdmin
servers = getServers(admin)

hostOrServer = hostOrServer.tr(':', ',')
for server in servers
ret << server if server.start_with?(hostOrServer)
host_or_server = host_or_server.tr(':', ',')
servers.each do |server|
ret << server if server.start_with?(host_or_server)
end
end
end
Expand All @@ -86,11 +88,11 @@ def addServers(_options, hostOrServers)
servers = getServerNames(hostOrServers, config)

zkw = org.apache.hadoop.hbase.zookeeper.ZKWatcher.new(config, 'draining_servers', nil)
parentZnode = zkw.znodePaths.drainingZNode

begin
for server in servers
node = ZKUtil.joinZNode(parentZnode, server)
parentZnode = zkw.getZNodePaths.drainingZNode
servers.each do |server|
node = ZNodePaths.joinZNode(parentZnode, server)
ZKUtil.createAndFailSilent(zkw, node)
end
ensure
Expand All @@ -103,27 +105,32 @@ def removeServers(_options, hostOrServers)
servers = getServerNames(hostOrServers, config)

zkw = org.apache.hadoop.hbase.zookeeper.ZKWatcher.new(config, 'draining_servers', nil)
parentZnode = zkw.znodePaths.drainingZNode

begin
for server in servers
node = ZKUtil.joinZNode(parentZnode, server)
parentZnode = zkw.getZNodePaths.drainingZNode
servers.each do |server|
node = ZNodePaths.joinZNode(parentZnode, server)
ZKUtil.deleteNodeFailSilent(zkw, node)
end
ensure
zkw.close
end
end
# rubocop:enable Metrics/AbcSize

# list servers in draining mode
def listServers(_options)
config = HBaseConfiguration.create

zkw = org.apache.hadoop.hbase.zookeeper.ZKWatcher.new(config, 'draining_servers', nil)
parentZnode = zkw.znodePaths.drainingZNode

servers = ZKUtil.listChildrenNoWatch(zkw, parentZnode)
servers.each { |server| puts server }
begin
parentZnode = zkw.getZNodePaths.drainingZNode
servers = ZKUtil.listChildrenNoWatch(zkw, parentZnode)
servers.each { |server| puts server }
ensure
zkw.close
end
end

hostOrServers = ARGV[1..ARGV.size]
Expand Down
35 changes: 27 additions & 8 deletions bin/graceful_stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
# Turn off the balancer before running this script.
function usage {
echo "Usage: graceful_stop.sh [--config <conf-dir>] [-e] [--restart [--reload]] [--thrift] \
[--rest] [-nob |--nobalancer ] <hostname>"
[--rest] [-n |--noack] [--maxthreads <number of threads>] [--movetimeout <timeout in seconds>] \
[-nob |--nobalancer] [-d |--designatedfile <file path>] [-x |--excludefile <file path>] <hostname>"
echo " thrift If we should stop/start thrift before/after the hbase stop/start"
echo " rest If we should stop/start rest before/after the hbase stop/start"
echo " restart If we should restart after graceful stop"
Expand All @@ -32,10 +33,13 @@ moving regions"
echo " maxthreads xx Limit the number of threads used by the region mover. Default value is 1."
echo " movetimeout xx Timeout for moving regions. If regions are not moved by the timeout value,\
exit with error. Default value is INT_MAX."
echo " hostname Hostname of server we are to stop"
echo " hostname Hostname to stop; match what HBase uses; pass 'localhost' if local to avoid ssh"
echo " e|failfast Set -e so exit immediately if any command exits with non-zero status"
echo " nob| nobalancer Do not manage balancer states. This is only used as optimization in \
echo " nob|nobalancer Do not manage balancer states. This is only used as optimization in \
rolling_restart.sh to avoid multiple calls to hbase shell"
echo " d|designatedfile xx Designated file with <hostname:port> per line as unload targets"
echo " x|excludefile xx Exclude file should have <hostname:port> per line. We do not unload \
regions to hostnames given in exclude file"
exit 1
}

Expand All @@ -57,6 +61,8 @@ movetimeout=2147483647
maxthreads=1
failfast=
nob=false
designatedfile=
excludefile=
while [ $# -gt 0 ]
do
case "$1" in
Expand All @@ -69,6 +75,8 @@ do
--maxthreads) shift; maxthreads=$1; shift;;
--movetimeout) shift; movetimeout=$1; shift;;
--nobalancer | -nob) nob=true; shift;;
--designatedfile | -d) shift; designatedfile=$1; shift;;
--excludefile | -x) shift; excludefile=$1; shift;;
--) shift; break;;
-*) usage ;;
*) break;; # terminate while loop
Expand All @@ -95,10 +103,11 @@ hostname=$1
filename="/tmp/$hostname"

local=
localhostname=`/bin/hostname`
localhostname=`/bin/hostname -f`

if [ "$localhostname" == "$hostname" ]; then
if [ "$localhostname" == "$hostname" ] || [ "$hostname" == "localhost" ]; then
local=true
hostname=$localhostname
fi

if [ "$nob" == "true" ]; then
Expand All @@ -110,10 +119,20 @@ else
log "Previous balancer state was $HBASE_BALANCER_STATE"
fi

unload_args="--filename $filename --maxthreads $maxthreads $noack --operation unload \
--timeout $movetimeout --regionserverhost $hostname"

if [ "$designatedfile" != "" ]; then
unload_args="$unload_args --designatedfile $designatedfile"
fi

if [ "$excludefile" != "" ]; then
unload_args="$unload_args --excludefile $excludefile"
fi

log "Unloading $hostname region(s)"
HBASE_NOEXEC=true "$bin"/hbase --config ${HBASE_CONF_DIR} org.apache.hadoop.hbase.util.RegionMover \
--filename $filename --maxthreads $maxthreads $noack --operation "unload" --timeout $movetimeout \
--regionserverhost $hostname
$unload_args
log "Unloaded $hostname region(s)"

# Stop the server(s). Have to put hostname into its own little file for hbase-daemons.sh
Expand Down Expand Up @@ -183,4 +202,4 @@ else
fi

# Cleanup tmp files.
trap "rm -f "/tmp/$(basename $0).*.tmp" &> /dev/null" EXIT
trap "rm -f /tmp/$(basename $0).*.tmp &> /dev/null" EXIT
Loading