Commit Graph

12625 Commits

Author SHA1 Message Date
Michael Stack 02089f20b4
HBASE-21190 Log files and count of entries in each as we load from the MasterProcWAL store
Conflicts:
	hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/ProcedureWALFormatReader.java
2018-09-12 13:34:01 -07:00
Mingliang Liu 0a2ebdce15
HBASE-21168 BloomFilterUtil uses hardcoded randomness (Mike Drob)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-09-12 13:28:48 -07:00
Guangxu Cheng 4256d38bac HBASE-21174 [REST] Failed to parse empty qualifier in TableResource#getScanResource
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-09-12 23:00:34 +08:00
Nihal Jain 158607bf23
HBASE-21021 Result returned by Append operation should be ordered
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-09-11 15:04:50 -07:00
Guangxu Cheng 895dac0819 HBASE-21173 Remove the duplicate HRegion#close in TestHRegion
Signed-off-by: tedyu <yuzhihong@gmail.com>
Signed-off-by: Mingliang Liu <liuml07@apache.org>
2018-09-11 17:46:43 +08:00
Guangxu Cheng d4d0a21b55 HBASE-21158 Empty qualifier cell is always returned when using QualifierFilter
Signed-off-by: tedyu <yuzhihong@gmail.com>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-09-11 14:12:24 +08:00
Andrew Purtell 0c6226b56c
HBASE-21162 Revert suspicious change to BoundedByteBufferPool and disable use of direct buffers for IPC reservoir by default
Revert suspicious change to BoundedByteBufferPool made on HBASE-19239 (Fix
findbugs and error-prone issues).

In addition the allocation of direct memory for the server RPC reservoir is
problematic in that tracing native memory or direct buffer leaks to a
particular class or compilation unit is difficult, so allocate the reservoir
on the heap by default instead.
2018-09-10 18:25:27 -07:00
Andrew Purtell 6f4cbde103
HBASE-20307 LoadTestTool prints too much zookeeper logging (Colin Garcia)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java
2018-09-07 16:50:56 -07:00
Lars Hofhansl d236a5fab8 HBASE-21166 Creating a CoprocessorHConnection re-retrieves the cluster id from ZK. 2018-09-07 15:16:54 -07:00
Mingliang Liu e03e4c9f5a HBASE-21138 Close HRegion instance at the end of every test in TestHRegion
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-09-06 17:51:51 -07:00
Lars Hofhansl 5f7b926bb5 HBASE-20446 Allow building HBase 1.x against Hadoop 3.1.x. 2018-09-06 10:47:13 -07:00
Sean Busbey 3e45e0202b HBASE-21061 Fix inconsistent synchronization in RpcServer
move variables that we don't need synchronized access to out of the critical block.

Signed-off-by: Mike Drob <mdrob@apache.org>
2018-09-05 23:13:37 -05:00
tedyu d07cab18a6 HBASE-21088 HStoreFile should be closed in HStore#hasReferences
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
2018-09-05 15:13:06 -07:00
Guanghao Zhang dbb634ad1b HBASE-21127 TableRecordReader need to handle cursor result too 2018-09-05 14:46:59 +08:00
Andrew Purtell cf198a65e8 Revert "HBASE-15728 Add Per-Table metrics back"
This reverts commit fb74f215b4.
2018-09-04 13:12:20 -07:00
Andrew Purtell dfb1af4892 Revert "Amend HBASE-15728 Add Per-Table metrics back"
This reverts commit 72f29f48ea.
2018-09-04 13:12:17 -07:00
Andrew Purtell 72f29f48ea Amend HBASE-15728 Add Per-Table metrics back
Fix a NPE surfaced by TestRegionLocationFinder
2018-09-04 12:48:10 -07:00
David Manning 484a1d8049 HBASE-21126 Configurable number of allowed failures for ZooKeeper Canary
Signed-off-by: Josh Elser <elserj@apache.org>
2018-09-03 19:44:17 -07:00
zhangduo 329a7176fa HBASE-21132 Addendum fix compile error 2018-09-02 20:37:21 +08:00
Guangxu Cheng 1eea44c804 HBASE-21132 return wrong result in rest multiget 2018-09-02 14:33:56 +08:00
Xu Cang fb74f215b4 HBASE-15728 Add Per-Table metrics back
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-08-29 16:36:45 -07:00
Andrew Purtell 492d69daa5 Amend HBASE-20940 HStore.cansplit should not allow split to happen if it has references (Vishal Khandelwal)
Fix TestHBaseFsck failure
2018-08-28 11:04:08 -07:00
krish.dey 0840427516 HBASE-20942 Fix ArrayIndexOutOfBoundsException for RpcServer TRACE logging
Also makes the trace log message length configurable.

Signed-off-by: Josh Elser <elserj@apache.org>
2018-08-28 11:25:08 -04:00
Vikas Vishwakarma 3c17c8391e HBASE-20890 PE filterScan seems to be stuck forever 2018-08-27 12:51:55 +05:30
subrat.mishra 3258b83f37 HBASE-21030: Changed javadoc for append operation.
Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
2018-08-26 23:40:46 +09:00
Sean Busbey 062d1dcf2b HBASE-21076 refactor TestTableResource to ask for a multi-region table instead of relying on a split operation.
Also correct how the test does string conversion for region names that include non-printable characters.

includes addendum.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Ted Yu <tyu@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>

(cherry picked from commit 6b18e39f30)
(cherry picked from commit 63f2d3cbdc)

 Conflicts:
	hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/TestTableResource.java
2018-08-22 19:46:01 -05:00
Sean Busbey 0ac5999204 HBASE-21058 When testing branches one, the PDF ref guide is named 'book.pdf'
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2018-08-21 09:47:12 -05:00
Sean Busbey e500207503 HBASE-21074 JDK7 builds need to be done with TLSv1.2.
Signed-off-by: Michael Stack <stack@apache.org>
2018-08-21 09:03:34 -05:00
Andrew Purtell d1ebc3d2a8 HBASE-21069 NPE in StoreScanner.updateReaders causes RS to crash 2018-08-20 15:50:47 -07:00
tedyu e2974f4b91 HBASE-21042 processor.getRowsToLock() always assumes there is some row being locked in HRegion#processRowsWithLocks 2018-08-18 11:47:23 -07:00
Andrew Purtell 56c59f11e3 HBASE-20940 HStore.cansplit should not allow split to happen if it has references (Vishal Khandelwal) 2018-08-17 15:30:40 -07:00
Sean Busbey 8716ac2568 HBASE-20387 ADDENDUM backport findHangingTests.py changes from master to branches-1. 2018-08-16 23:55:28 -05:00
Sean Busbey 18840e9510 HBASE-20387 turn flaky test tracking infra into per-branch pipeline.
* gather up all the flaky test stuff into a directory
* create Jenkins Pipeline DSL for the report generation and the flaky re-testing
* have the nightly per-branch job consume the results of flaky reporting

Signed-off-by: Mike Drob <mdrob@apache.org>

 Conflicts:
	dev-support/Dockerfile
	dev-support/Jenkinsfile
	dev-support/flaky-tests/flaky-dashboard-template.html
	dev-support/flaky-tests/report-flakies.py

For branches 1, includes a backport of the current version of report-flakies.py
and supporting files.
2018-08-16 23:24:11 -05:00
Andrew Purtell 971d48406e HBASE-21047 Object creation of StoreFileScanner thru constructor and close may leave refCount to -1 (Vishal Khandelwal) 2018-08-16 11:43:24 -07:00
Nihal Jain 5520fa1ab3 HBASE-20469 Directory used for sidelining old recovered edits files should be made configurable
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-08-15 18:01:43 -07:00
Guangxu Cheng 8510331637 HBASE-20845 Support set the consistency for Gets and Scans in thrift2
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftUtilities.java
	hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TGet.java
	hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THBaseService.java
	hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TResult.java
	hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TScan.java
	hbase-thrift/src/main/resources/org/apache/hadoop/hbase/thrift2/hbase.thrift
	hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandler.java
2018-08-07 13:49:19 -07:00
Bosko Devetak d79bb23c64 HBASE-21007 Memory leak in HBase REST server
Close the scanner leak in rest server when using the limit number of rows.

Example: when using uris like

        /sometable/*?limit=5&startrow=eGlND&endrow=eGlNE

where the scan range has more rows than the limit, the
rest server will start leaking memmory.

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-08-07 12:40:40 -07:00
Huaxiang Sun 1b50fe5372 HBASE-20997 rebuildUserRegions() does not build ReplicaMapping during master switchover
Signed-off-by: tedyu <yuzhihong@gmail.com>
Signed-off-by: Pankaj Kumar <Username: pankaj2461t>
2018-08-06 11:25:02 -07:00
Vikas Vishwakarma 3bc4bc48f6 HBASE-20896 Port HBASE-20866 to branch-1 and branch-1.4
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2018-08-04 10:24:18 +08:00
Monani Mihir 0298c06b4f HBASE-19036 Add action in Chaos Monkey to restart Active Namenode
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-08-02 05:04:27 -07:00
Andrew Purtell a15c445743 HBASE-20935 HStore.removeCompactedFiles should log in case it is unable to delete a file (Vishal Khandelwal) 2018-07-31 16:12:50 -07:00
Josh Elser ab3ec9477a HBASE-20930 MetaScanner.metaScan should respect meta table name (Vishal Khandelwal) 2018-07-30 17:12:03 -04:00
Andrew Purtell 9b5a839b99 HBASE-20974 Backport HBASE-20583 (SplitLogWorker should handle FileNotFoundException when split a wal) to branch-1 (Pankaj Kumar) 2018-07-30 12:34:45 -07:00
Andrew Purtell 2d70120eb3 HBASE-20895 NPE in RpcServer#readAndProcess
Synchronize readAndProcess() on the Connection to avoid MT issues with
data buffer management
2018-07-27 18:07:58 -07:00
Andrew Purtell 203a3324e9 HBASE-20931 [branch-1] Add -Dhttps.protocols=TLSv1.2 to Maven command line in make_rc.sh 2018-07-24 15:04:08 -07:00
huzheng 0b7081e67a HBASE-20565 ColumnRangeFilter combined with ColumnPaginationFilter can produce incorrect result 2018-07-24 10:25:43 +08:00
Xu Cang 3a97976eae HBASE-20744 Address FindBugs warnings in branch-1
minor fix

Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-23 16:29:13 -07:00
Xu Cang dfc7ecd9ca HBASE-20230 Incorrrect log message in RSRpcServices
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-07-23 16:01:33 -07:00
Ankit Singhal 56aa9ab8a3 HBASE-20908 Infinite loop on regionserver if region replica are reduced
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-07-23 13:11:39 -07:00
Toshihiro Suzuki 2eaa24a132 HBASE-17885 Backport HBASE-15871 to branch-1
HBASE-15871 Memstore flush doesn't finish because of backwardseek() in memstore scanner (ramkrishna.s.vasudevan)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-07-23 12:27:52 -07:00