Commit Graph

12763 Commits

Author SHA1 Message Date
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
tedyu a7fe71da88 HBASE-20917 MetaTableMetrics#stop references uninitialized requestsMap for non-meta region 2018-07-23 10:04:10 -07:00
TAK LON WU 9db4a4059a HBASE-20401 Make `MAX_WAIT` and `waitIfNotFinished` in CleanerContext configurable
Signed-off-by: Reid Chan <reidchan@apache.org>
2018-07-23 17:16:08 +08:00
TAK LON WU 896b69a0fc HBASE-20559 Backport HBASE-18083 (Make large/small file clean thread number configurable in HFileCleaner) to branch-1
The last port commit of HBASE-20555

Signed-off-by: Yu Li <liyu@apache.org>
2018-07-23 11:36:47 +08:00
TAK LON WU 780724b15a HBASE-20558 Port HBASE-17854 (Use StealJobQueue in HFileCleaner after HBASE-17215) to branch-1
The third port commit of HBASE-20555
2018-07-20 16:11:09 -07:00
Ankit e5618a6674 HBASE-20672 New metrics ReadRequestRate and WriteRequestRate
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-07-19 15:36:01 -07:00
jingyuntian 15ed2e86e1 HBASE-20855 PeerConfigTracker only supporting one listener will cause problem when there is a recovered replication queue
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-19 08:43:23 -07:00
Mike Drob 61288f843c HBASE-20905 pin pylint to 1.x in branch-1 2018-07-17 10:11:12 -05:00
tedyu 7211d13ac8 HBASE-20889 PE scan is failing with NullPointerException 2018-07-16 09:53:47 -07:00
Mike Drob 2ae61521aa HBASE-20884 Reclassify Base64 as IA.Private 2018-07-13 14:33:23 -05:00
Guanghao Zhang 3835f715f2 HBASE-20697 (addendum) Can't cache All region locations of the specify table by calling table.getRegionLocator().getAllRegionLocations() 2018-07-12 13:47:55 +08:00
zhaoyuan 6edb27e1e6 HBASE-20697 Can't cache All region locations of the specify table by calling table.getRegionLocator().getAllRegionLocations()
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-07-11 11:33:32 +08:00
Huaxiang Sun f2dc754aa3 HBASE-20651 Master, prevents hbck or shell command to reassign the split parent region
Signed-off-by: Esteban Gutierrez <esteban@apache.org>
2018-07-10 16:07:30 -07:00