13062 Commits

Author SHA1 Message Date
Sandeep Pal
901dffd241
HBASE-21776: Avoid duplicate calls to setStoragePolicy which shows up in debug Logging (#856)
Signed-off-by: Xu Cang <xucang@apache.org>
2020-02-13 11:56:17 -08:00
Abhishek Singh Chouhan
b25071c679 HBASE-23825 Increment proto conversion is broken 2020-02-11 17:07:43 -08:00
thangTang
942bb77d84 HBASE-23693 Split failure may cause region hole and data loss when use zk assign (#1071)
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-02-10 17:03:42 +00:00
Wellington Chevreuil
bb49aa205c Revert "HBASE-23693 Split failure may cause region hole and data loss when use zk assign (#1071)"
This reverts commit f99e899ca3a6d28d935793a42af16c527e8e0d87.
2020-02-10 17:03:09 +00:00
thangTang
f99e899ca3
HBASE-23693 Split failure may cause region hole and data loss when use zk assign (#1071) 2020-02-10 16:57:30 +00:00
Nick Dimiduk
9e4aec56c3
HBASE-23802 Remove unnecessary Configuration instantiation in LossyAccounting (#1127) (#1140)
Signed-off-by: stack <stack@apache.org>
2020-02-07 08:56:11 -08:00
Nick Dimiduk
68912c6bac HBASE-23793 Increase maven heap allocation to 4G in Yetus personality (#1122)
I saw this over on
https://builds.apache.org/view/H-L/view/HBase/job/HBase%20Nightly/job/branch-2/2447/console. Looks
like we need to bump the memory allocation for maven. I wonder if this
is the underlying cause of HBASE-22470.

```
6:38:47  ============================================================================
16:38:47  ============================================================================
16:38:47                                Finished build.
16:38:47  ============================================================================
16:38:47  ============================================================================
16:38:47
16:38:47
Post stage
[Pipeline] stash
16:38:48  Warning: overwriting stash 'hadoop2-result'
16:38:48  Stashed 1 file(s)
[Pipeline] junit
16:38:48  Recording test results
16:38:54  Remote call on H2 failed
Error when executing always post condition:
java.io.IOException: Remote call on H2 failed
	at hudson.remoting.Channel.call(Channel.java:963)
	at hudson.FilePath.act(FilePath.java:1072)
	at hudson.FilePath.act(FilePath.java:1061)
	at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114)
	at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:137)
	at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:167)
	at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:52)
	at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:25)
	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: Java heap space
	at com.sun.org.apache.xerces.internal.util.XMLStringBuffer.append(XMLStringBuffer.java:208)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(XMLEntityScanner.java:1515)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanCDATASection(XMLDocumentFragmentScannerImpl.java:1654)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3014)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	at org.dom4j.io.SAXReader.read(SAXReader.java:465)
	at org.dom4j.io.SAXReader.read(SAXReader.java:343)
	at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:178)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:348)
	at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:281)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:206)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:178)
	at hudson.tasks.junit.TestResult.<init>(TestResult.java:143)
	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:146)
	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3052)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	... 4 more

[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
16:38:54  Failed in branch yetus jdk8 hadoop2 checks
```

Signed-off-by: stack <stack@apache.org>
2020-02-05 14:30:18 -08:00
Josh Elser
0f440b4402 HBASE-23774 Add the user-zh mailing list 2020-01-31 19:34:44 -05:00
Gkkkk302
66f1658167
HBASE-23045 currentPath may be stitched in a loop in replication source code. (#1006)
Co-authored-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-30 01:07:40 +05:30
Viraj Jasani
dfe636017d
HBASE-23749 : TestHFileWriterV3 for all DataBlock Encoders
Signed-off-by: ramkrish86 <ramkrishna@apache.org>
2020-01-30 00:51:45 +05:30
Nick Dimiduk
33f69f116a
HBASE-23707 Add IntelliJ check style plugin configuration (#1064) (#1093)
Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-01-27 10:53:55 -08:00
Jan Hentschel
2267ab9399
HBASE-23621 Reduced the number of Checkstyle violations in tests of hbase-common
Signed-off-by: stack <stack@apache.org>
2020-01-27 13:05:25 +01:00
Jan Hentschel
4a39f0a2c5
HBASE-23661 Reduced number of Checkstyle violations in hbase-rest
Signed-off-by: stack <stack@apache.org>
2020-01-26 13:38:42 +01:00
Jan Hentschel
21f2eddd20
HBASE-23627 Resolved remaining Checkstyle violations in hbase-thrift
Signed-off-by: stack <stack@apache.org>
2020-01-24 13:24:58 +01:00
Geoffrey Jacoby
c080923d77
HBASE-23710 - Priority configuration for system coprocessor
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-23 16:54:26 -08:00
Jan Hentschel
02d80b240b
HBASE-23623 Reduced the number of Checkstyle violations in hbase-rest
Signed-off-by: stack <stack@apache.org>
2020-01-23 13:03:28 +01:00
Jan Hentschel
9d4ea24db5
HBASE-23645 Fixed remaining Checkstyle violations in hbase-common tests
Signed-off-by: stack <stack@apache.org>
2020-01-22 14:46:01 +01:00
Geoffrey Jacoby
99d26e884b
HBASE-23711 - Add test for MinVersions and KeepDeletedCells TTL
Co-authored-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-22 01:05:08 -08:00
Jan Hentschel
ee50d4829e
HBASE-23625 Reduced number of Checkstyle violations in hbase-common
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-21 12:13:32 +01:00
Jeongdae Kim
8bf4985d69 HBASE-23254 Release replication buffer quota correctly, when batch includes bulk loaded hfiles (#792)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-01-21 09:23:55 +00:00
Jan Hentschel
2e3273f6ea
HBASE-23646 Resolved remaining Checkstyle violations in tests of hbase-rest
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-20 22:21:32 +01:00
Jan Hentschel
99a59cf9e7
HBASE-23622 Reduced the number of Checkstyle violations in hbase-common
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-01-19 18:02:08 +01:00
Viraj Jasani
64b9d2f5ab
HBASE-23335 : Improving cost functions array copy in StochasticLoadBalancer
Signed-off-by: stack <stack@apache.org>
2020-01-18 17:45:03 -08:00
Jan Hentschel
dc602d7d5d
HBASE-23626 Reduced number of Checkstyle violations in tests in hbase-common
Signed-off-by: stack <stack@apache.org>
2020-01-18 20:32:51 +01:00
Bharath Vissapragada
71bfac3353 HBASE-23665: Split unit tests from TestTableName into a separate test-only class. (#1032) (#1051)
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-01-17 09:52:31 -08:00
Viraj Jasani
d466f775ad
HBASE-23569 : Validate that all default chores of HRegionServer are scheduled (ADDENDUM)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-01-16 23:32:14 -08:00
Bharath Vissapragada
99a328f64c HBASE-23698 Switch central repo to https (#1053)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2020-01-16 10:16:50 +01:00
Peter Somogyi
907184dfa0
HBASE-23675 Move to Apache parent POM version 22 (#1023)
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-01-15 10:10:23 +01:00
Viraj Jasani
3cb0431383
HBASE-23569 : Validate that all default chores of HMaster are scheduled
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-01-14 23:47:53 -08:00
Nick Dimiduk
b5d0da7e61
Revert "HBASE-23664 Upgrade JUnit to 4.13 (#1010)" (#1031)
This reverts commit 248d80b0fe02b91b2ed5faa229c0572d83a729dd.
2020-01-13 12:15:51 -08:00
Nick Dimiduk
248d80b0fe
HBASE-23664 Upgrade JUnit to 4.13 (#1010)
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-10 13:23:57 -08:00
Baiqiang Zhao
6b940ae986 HBASE-23585 MetricsRegionServerWrapperImpl.getL1CacheHitCount always returns 200 (#945)
Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-01-03 07:04:57 -08:00
Viraj Jasani
19b35d2b19
HBASE-23590 : Update maxCompactedStoreFileRef (ADDENDUM) 2020-01-02 19:24:01 +05:30
Jeongdae Kim
e0c419d76d HBASE-23205 Correctly update the position of WALs currently being replicated (#944)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-01-02 11:56:38 +00:00
Viraj Jasani
1451063115
HBASE-23590 : Update maxStoreFileRefCount to maxCompactedStoreFileRefCount for auto region recovery based on old reader references
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
2020-01-01 23:50:24 +05:30
Bharath Vissapragada
27fc96e076
HBASE-23238: Remove 'static'ness of cell counter in LimitKVsReturnFilter (addendum)
Having it as static means the test cannot be parameterized (ran into
this issue in HBASE-23305). That happens because the field is not
reset between parameterized runs.

Signed-off-by: Viraj Jasani <vjasani@apache.org>
2019-12-27 23:07:53 +05:30
Bharath Vissapragada
85b43a7059
HBASE-23362: [WalPrettyPrinter] print/filter by table name. (#898)
Reapplied with missing delta for branch-1

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2019-12-18 16:49:05 -08:00
Andrew Purtell
d77da0dcfc
Revert "HBASE-23362: [WalPrettyPrinter] print/filter by table name. (#898)"
This reverts commit afb2e348e604e7740bab0fe6b72a023b3faccd21.
2019-12-18 16:48:56 -08:00
Bharath Vissapragada
afb2e348e6
HBASE-23362: [WalPrettyPrinter] print/filter by table name. (#898)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2019-12-18 15:34:29 -08:00
Baiqiang Zhao
28673f0c22 HBASE-23375 HBASE-22441 BucketCache NullPointerException in cacheBlock
branches-1 backport. closes #907

Co-authored-by: binlijin <binlijin@apache.org>
Signed-off-by: binlijin <binlijin@apache.org>
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-12-13 16:02:43 -06:00
Karthik Palanisamy
84c0a90ba4 HBASE-23360 [CLI] Fix help command 'set_quota' for removing limits (#896)
Differs from original by removing Capacity Unit examples since that feature isn't on this branch.

(cherry picked from commit a553b78c1c68c64d740a763c58f5f6650b62fe29)
(cherry picked from commit 2a1efe0772b042362e494a5d8add543d0bddd172)
2019-12-11 11:00:57 -06:00
Nick Dimiduk
80c3581dbd HBASE-23552 Format Javadocs on ITBLL
We have this nice description in the java doc on ITBLL but it's
unformatted and thus illegible. Add some formatting so that it can be
read by humans.

Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2019-12-10 13:13:10 -08:00
Pierre Zemb
f5171b419e HBASE-23073 Add an optional costFunction to balance regions according to a capacity rule (#894)
Signed-off-by Wellington Chevreuil <wchevreuil@apache.org>
2019-12-09 15:47:16 +00:00
Lars Hofhansl
9b10afde93 HBASE-23364 HRegionServer sometimes does not shut down. 2019-12-05 18:14:48 -08:00
Toshihiro Suzuki
ec55c2a5d9 HBASE-22096 /storeFile.jsp shows CorruptHFileException when the storeFile is a reference file
Signed-off-by: Lijin Bin <binlijin@apache.org>
2019-12-04 21:49:11 +09:00
Toshihiro Suzuki
737eaa635a
HBASE-23359 RS going down with NPE when splitting a region with compaction disabled in branch-1 (#899)
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
Signed-off-by Anoop Sam John <anoopsamjohn@apache.org>
2019-12-04 21:24:03 +09:00
Sean Busbey
af2ac03e3a HBASE-23337 Release scripts should rely on maven for deploy. (#887)
- switch to nexus-staging-maven-plugin for asf-release
- cleaned up some tabs in the root pom

(differs from master because there are no release scripts here.)

Signed-off-by: stack <stack@apache.org>
(cherry picked from commit 97e01070001ef81558b4dae3a3610d0c73651cb9)
2019-12-03 23:03:16 -08:00
Karthik Palanisamy
da9f6bf818 HBASE-23237 Prevent Negative values in metrics requestsPerSecond (#866)
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2019-11-24 00:13:12 +08:00
Nick Dimiduk
38ae0b561d HBASE-23234 Provide .editorconfig based on checkstyle configuration (#846)
This file is generated using IntelliJ, following these steps:
 #. Open Preferences > Editor > Code Style
 #. Select (config wheel) > Import Schema > CheckStyle Configuration
 #. Select `hbase-checkstyle/src/main/resources/hbase/checkstyle.xml`
 #. Select (config wheel) > Export > EditorConfig File

Signed-off-by: Sean Busbey <busbey@apache.org>
2019-11-21 11:24:05 -08:00
Bharath Vissapragada
eb5e94aced HBASE-23259: Populate master address end points in cluster/rs configs (#807) (#858)
All the clients need to know the master RPC end points while using master
based registry for creating cluster connections. This patch amends the
test cluster utility to populate these configs in the base configuration
object used to spin up the cluster.

The config key added here ("hbase.master.addrs") is used in the subsequent
patches for HBASE-18095.

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
(cherry picked from commit 834ccb4bf6c22fc2a8aab172490fba75c7a40f1c)
2019-11-21 09:47:05 -08:00