Sean Busbey
fa7d0ccb05
HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-25 21:01:18 -07:00
Abhishek Singh Chouhan
2f18d9e155
HBASE-18796 Addendum: Scanner returning null incorrectly during locateRegionInMeta retry, resulting in incorrect TableNotFoundException
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-09-22 10:20:46 -07:00
Abhishek Singh Chouhan
2845ddaf9e
HBASE-18796 Admin#isTableAvailable returns incorrect result before daughter regions are opened
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-09-19 13:52:15 -07:00
Yu Li
539fce3440
HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
2017-09-19 09:53:14 +08:00
tedyu
ead1063244
HBASE-15410 Utilize the max seek value when all Filters in MUST_PASS_ALL FilterList return SEEK_NEXT_USING_HINT
2017-09-18 14:31:21 -07:00
andrewcheng
815673f7e4
HBASE-18131 Add an hbase shell command to clear deadserver list in ServerManager
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-09-16 09:33:08 -07:00
Andrew Purtell
d2e6f55cc5
HBASE-16611 Flakey org.apache.hadoop.hbase.client.TestReplicasClient.testCancelOfMultiGet
...
Branch-1 port of HBASE-16611.v2.patch
2017-09-13 18:08:54 -07:00
Guangxu Cheng
a8ac84f1a6
HBASE-18789 Displays the reporting interval of each RS on the Master page
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-09-13 09:39:09 -07:00
cuijianwei
8ce811c6ed
HBASE-15497 Incorrect javadoc for atomicity guarantee of Increment and Append
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-04 16:23:12 +08:00
Sean Busbey
135eedf7a2
HBASE-18577 test well-formed-ness of our client jars.
...
* removes jetty-util transitive from hbase-client that we don't use
* moves junit from compile to test scope for hbase-client
* adds an IT that checks the contents of jars
* excludes our server side web apps and related deps (jaxb, jersey, jetty) from shaded jars
* excludes proto source files from shaded jars
* relocates codahale metrics, commons-crypto, and curator
* finishes relocating jets3t
* updates maven dependency plugin
* updates maven enforcer plugin
Signed-off-by: Michael Stack <stack@apache.org>
2017-08-29 13:44:16 -05:00
Peter Somogyi
60719debbe
HBASE-18665 ReversedScannerCallable invokes getRegionLocations incorrectly
...
The way how ReversedScannerCallable#prepare called getRegionLocations was faulty.
Calling prepare with force reload used cache and vica versa.
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-29 07:58:37 -07:00
Michael Stack
338232f81f
Revert "HBASE-14498 Master stuck in infinite loop when all Zookeeper servers are unreachable"
...
Lots of tests timing out. Revert for now.
This reverts commit 7a96682643
.
2017-08-22 08:31:55 -07:00
Pankaj Kumar
7a96682643
HBASE-14498 Master stuck in infinite loop when all Zookeeper servers are unreachable
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-08-18 14:23:59 -07:00
tedyu
64bef67558
HBASE-18617 FuzzyRowKeyFilter should not modify the filter pairs (vinisha)
2017-08-18 10:02:06 -07:00
Pankaj Kumar
deeda60c69
HBASE-17617 Backport HBASE-16731 (Inconsistent results from the Get/Scan if we use the empty FilterList) to branch-1
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-17 18:31:57 +08:00
Xiang Li
54aaf6bfb7
HBASE-18573 Update Append and Delete to use Mutation#getCellList(family)
...
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-08-16 15:12:56 -07:00
Andrew Purtell
3feb87b005
HBASE-18431 Mitigate compatibility concerns between branch-1.3 and branch-1.4
...
- Refactor TableName into its own proto module and fix up users
- Move SnapshotDescription from Snapshot.proto back to HBase.proto
- Restore FastLongHistogram and TestFastLongHistogram;
deprecate FastLongHistogram
- Move DeleteQueryTracker back to o.a.h.h.regionserver
2017-08-16 11:34:18 -07:00
Ashish Singhi
a49d43bfbf
HBASE-18437 Revoke access permissions of a user from a table does not work as expected
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Conflicts:
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlLists.java
hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
2017-08-15 18:59:21 -07:00
brandboat
fd749ce66e
HBASE-18582 Correct the docs for Mutation#setCellVisibility
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-15 21:38:16 +08:00
Jerry He
9078a034c4
HBASE-18522 Add RowMutations support to Batch
2017-08-14 09:21:53 -07:00
Xiang Li
7bd2795ee9
HBASE-18555: Remove redundant familyMap.put() from addxxx() of sub-classes of Mutation and Query
...
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-08-11 23:29:52 -07:00
Benedict Jin
3666618e71
HBASE-18470 Remove the redundant comma from RetriesExhaustedWithDetailsException#getDesc
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-03 15:37:27 +08:00
anoopsamjohn
cef9fffa39
HBASE-18473 VC.listLabels() erroneously closes any connection.
2017-07-30 15:41:03 +05:30
Yu Li
5726263fb2
HBASE-18441 ZookeeperWatcher#interruptedException should throw exception (addendum)
2017-07-26 15:48:34 +08:00
Yu Li
145f7d8a4d
HBASE-18441 ZookeeperWatcher#interruptedException should throw exception
2017-07-26 15:21:05 +08:00
Andrew Purtell
a4e1af1fcc
HBASE-18054 log when we add/remove failed servers in client (Ali)
...
Conflicts:
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/FailedServers.java
2017-07-25 18:53:01 -07:00
huaxiang sun
9427d6c73c
HBASE-18247 Hbck to fix the case that replica region shows as key in the meta table
...
Change-Id: I2169290ec5a97a63747bc93ee37f36729c3ac916
2017-07-25 17:08:53 -07:00
张世彬10204932
8ea7a364bf
HBASE-18323 Remove multiple ACLs for the same user in kerberos
...
Signed-off-by: Josh Elser <elserj@apache.org>
2017-07-25 18:22:45 -04:00
rgidwani
26247996d2
HBASE-15816 Provide client with ability to set priority on Operations
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-07-21 17:12:25 -07:00
Andrew Purtell
cfd5b6b59f
HBASE-18330 NPE in ReplicationZKLockCleanerChore
2017-07-19 15:46:45 -07:00
Phil Yang
980209579b
HBASE-18390 Sleep too long when finding region location failed
2017-07-19 12:05:21 +08:00
Chia-Ping Tsai
8eaad67866
HBASE-18268 Eliminate the findbugs warnings for hbase-client
2017-07-12 03:15:08 +08:00
Andrew Purtell
3dd55fa0c0
Set versions on branch-1 to 1.5.0-SNAPSHOT
2017-07-03 18:01:15 -07:00
Michael Stack
3b28f66bf3
HBASE-18266 Create static empty byte array to save memory (Ben Epstein)
2017-06-30 15:31:38 -07:00
Michael Stack
262e6bb3fa
HBASE-18004 getRegionLocations needs to be called once in ScannerCallableWithReplicas#call() (Huaxiang Sun)
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-30 15:31:30 -07:00
Pankaj Kumar
d5bba50794
HBASE-18167 OfflineMetaRepair tool may cause HMaster to abort always
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-22 02:11:07 -07:00
tedyu
3d9c544428
HBASE-18167 OfflineMetaRepair tool may cause HMaster to abort always - revert wrong version of patch
2017-06-22 02:10:25 -07:00
Pankaj Kumar
01027f805b
HBASE-18167 OfflineMetaRepair tool may cause HMaster to abort always
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-21 08:22:30 -07:00
Andrew Purtell
316e02e3d8
HBASE-18219 Fix typo in constant HConstants.HBASE_CLIENT_MEAT_REPLICA_SCAN_TIMEOUT
2017-06-14 16:03:54 -07:00
huzheng
256fc63007
HBASE-17678 FilterList with MUST_PASS_ONE may lead to redundant cells returned
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-06-13 20:28:04 +08:00
zhangduo
d6e85b0511
Revert "FilterList with MUST_PASS_ONE may lead to redundant cells returned" miss issue number
...
This reverts commit c71da858ad
.
2017-06-13 20:27:28 +08:00
huzheng
c71da858ad
FilterList with MUST_PASS_ONE may lead to redundant cells returned
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-12 23:55:25 -07:00
zhangduo
6860ddca9f
HBASE-18199 Race in NettyRpcConnection may cause call stuck in BufferCallBeforeInitHandler forever
2017-06-10 19:07:23 +08:00
Phil Yang
381c89b5cc
HBASE-15576 Scanning cursor to prevent blocking long time on ResultScanner.next()
2017-06-07 11:37:22 +08:00
tedyu
39e8e2fb58
HBASE-18005 read replica: handle the case that region server hosting both primary replica and meta region is down (huaxiang sun)
2017-06-06 09:07:17 -07:00
Phil Yang
d5838c78fc
HBASE-18113 Handle old client without include_stop_row flag when startRow equals endRow
2017-05-26 13:51:17 +08:00
tedyu
c03f003f4f
HBASE-18035 Meta replica does not give any primaryOperationTimeout to primary meta region (huaxiang sun)
2017-05-21 06:39:33 -07:00
tedyu
300c5388f2
HBASE-18058 Zookeeper retry sleep time should have an upper limit (Allan Yang)
2017-05-19 10:58:38 -07:00
huzheng
f9dc4cad63
HBASE-11013 Clone Snapshots on Secure Cluster Should provide option to apply Retained User Permissions
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2017-05-18 17:54:53 +08:00
Michael Stack
51cb53776d
HBASE-18021 Add more info in timed out RetriesExhaustedException for read replica client get processing (Huaxiang Sun)
2017-05-11 17:24:26 -07:00
Vincent
ffa3785d0e
HBASE-18026 ProtobufUtil seems to do extra array copying
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-05-11 13:23:19 -07:00
Josh Elser
737b489edd
HBASE-17534 Avoid re-wrapping IOExceptions as IOExceptions
...
This ensures that when a DoNotRetryIOException is returned
from the RPC, it is propagated as a DoNotRetryIOException.
When this does not happen, requests which should not be
retried are repeated per the client configuration.
2017-05-04 12:45:02 -04:00
jc@lifove.net
3a3cb48e2b
HBASE-17862 Fix a condition that always returns true
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-05-03 00:30:47 +08:00
QilinCao
9a71bacdf0
HBASE-17835 Spelling mistakes in the Java source
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2017-04-28 11:40:47 -05:00
huaxiang sun
cdda1d0302
HBASE-17904 Get runs into NoSuchElementException when using Read Replica, with hbase. ipc.client.specificThreadForWriting to be true and hbase.rpc.client.impl to be org.apache.hadoop.hbase.ipc.RpcClientImpl
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-04-28 06:53:37 +08:00
ckulkarni
defc25c6d1
HBASE-17448 Export metrics from RecoverableZooKeeper
...
Added metrics for RecoverableZooKeeper related to specific exceptions,
total failed ZooKeeper API calls and latency histograms for read,
write and sync operations. Also added unit tests for the same. Added
service provider for the ZooKeeper metrics implementation inside the
hadoop compatibility module.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Conflicts:
hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
hbase-metrics-api/src/main/java/org/apache/hadoop/hbase/metrics/PackageMarker.java
2017-04-26 18:14:53 -07:00
Nemo Chen
4030facc99
HBASE-16469 Several log refactoring/improvement suggestions
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2017-04-11 14:28:47 -05:00
Yu Li
96890d64d4
HBASE-17886 Fix compatibility of ServerSideScanMetrics
2017-04-06 18:19:34 +08:00
zhangduo
849ab5ff29
HBASE-17595 addendum fix the problem for mayHaveMoreCellsInRow
2017-03-23 20:35:12 +08:00
zhangduo
b973d3fd46
HBASE-17584 Expose ScanMetrics with ResultScanner rather than Scan
2017-03-20 16:32:20 +08:00
zhangduo
6be8d2041b
HBASE-17793 Backport ScanResultCache related code to branch-1
2017-03-17 09:32:44 +08:00
CHIA-PING TSAI
d542b446b8
HBASE-17778 Remove the testing code in the AsyncRequestFutureImpl
2017-03-17 07:52:45 +08:00
zhangduo
094e9a311b
HBASE-16584 Backport the new ipc implementation in HBASE-16432 to branch-1
2017-03-16 23:00:30 +08:00
tedyu
318298047b
HBASE-17779 disable_table_replication returns misleading message and does not turn off replication (Janos Gub)
2017-03-14 12:34:04 -07:00
tedyu
f34709e1b7
HBASE-17460 enable_table_replication can not perform cyclic replication of a table (Janos Gub)
2017-03-08 01:27:35 -08:00
Karan Mehta
5f630935bb
HBASE-17716 Formalize Scan Metric names
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-03-07 07:42:40 -08:00
Phil Yang
f45d261902
HBASE-15484 Correct the semantic of batch and partial - amend to fix bug and revise the JavaDoc for related APIs.
2017-03-07 22:42:58 +08:00
Phil Yang
6afe696e53
HBASE-15484 Correct the semantic of batch and partial
2017-03-07 12:04:09 +08:00
Andrew Purtell
ccf1f17d78
HBASE-17722 Metrics subsystem stop/start messages add a lot of useless bulk to operational logging
...
Conflicts:
hbase-spark/src/test/resources/log4j.properties
2017-03-03 12:35:21 -08:00
Josh Elser
85b5d49315
HBASE-17717 Explicitly use "sasl" ACL scheme for hbase superuser
...
The special "auth" ZK ACL scheme will always set the ACL's id (the
user who is allowed) to be the authenticated user of the ZK connection.
This results in the HBase superuser not actually receiving the
permissions as the ZKUtil intends to do. Since we know we have security
enabled, we can instead explicitly list "sasl" as the ACL scheme
instead.
2017-03-02 15:50:38 -05:00
Jingcheng Du
2131c79552
HBASE-17688 MultiRowRangeFilter not working correctly if given same start and stop RowKey
2017-02-28 12:15:38 +08:00
Jan Hentschel
ec84118c97
HBASE-17634 Cleaned up the usage of Result.isPartial
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-02-27 20:45:58 +08:00
Abhishek Singh Chouhan
2b6e9b3a3a
Amend HBASE-17069 RegionServer writes invalid META entries in some circumstances
...
Fix Hregioninfo being null during merge
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-02-23 13:46:02 -08:00
zhangduo
3e2a6784c7
HBASE-17595 Add partial result support for small/limited scan
2017-02-23 16:10:10 +08:00
huzheng
45357c078d
HBASE-17472: Correct the semantic of permission grant
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-02-20 20:24:09 +08:00
zhangduo
f835d1efc2
HBASE-17583 Add inclusive/exclusive support for startRow and endRow of scan for sync client
2017-02-15 10:18:58 +08:00
tedyu
2ac0c3b6da
HBASE-17460 enable_table_replication can not perform cyclic replication of a table - revert due to failure in testEnableReplicationWhenSlaveClusterDoesntHaveTable
2017-02-13 16:01:25 -08:00
tedyu
810427b950
HBASE-17460 enable_table_replication can not perform cyclic replication of a table (NITIN VERMA)
2017-02-10 16:45:27 -08:00
Andrew Purtell
e4ee7ee891
HBASE-17572 HMaster: Caught throwable while processing event C_M_MERGE_REGION
2017-02-09 13:37:40 -08:00
Ajay Jadhav
67fe516ec9
HBASE-17280 Add mechanism to control hbase cleaner behavior
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-09 12:18:42 -08:00
zhangduo
e9abe07629
HBASE-17599 Use mayHaveMoreCellsInRow instead of isPartial
2017-02-09 15:38:23 +08:00
Andrew Purtell
fd062011f0
Revert "HBASE-17572 HMaster: Caught throwable while processing event C_M_MERGE_REGION (UndeclaredThrowableException)"
...
This reverts commit fb1239766d
.
2017-02-08 15:59:44 -08:00
Enis Soztutar
7cac85b667
HBASE-17187 DoNotRetryExceptions from coprocessors should bubble up to the application
2017-02-06 13:39:09 -08:00
zhangduo
4456d22859
HBASE-17508 Unify the implementation of small scan and regular scan for sync client
2017-02-05 08:49:51 +08:00
Andrew Purtell
fb1239766d
HBASE-17572 HMaster: Caught throwable while processing event C_M_MERGE_REGION (UndeclaredThrowableException)
2017-02-03 14:15:56 -08:00
gjacoby
3aac1b6884
HBASE-17543 - Create additional ReplicationEndpoint WALEntryFilters by configuration
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-01-31 16:16:20 -08:00
zhangduo
57409371a0
HBASE-17489 ClientScanner may send a next request to a RegionScanner which has been exhausted
2017-01-22 16:39:14 +08:00
tedyu
0e06ade694
HBASE-17469 Properly handle empty TableName in TablePermission#readFields and #write (Manjunath Anand)
2017-01-17 09:38:50 -08:00
Allan Yang
2b5292c5f9
HBASE-17475 Stack overflow in AsyncProcess if retry too much
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-01-17 15:47:25 +08:00
tedyu
ee66ab8e29
HBASE-17450 TablePermission#equals throws NPE after namespace support was added (huzheng)
2017-01-13 09:39:06 -08:00
tedyu
e371b1e723
HBASE-17431 Incorrect precheck condition in RoundRobinPool#get() - revert due to test failure
2017-01-06 12:13:18 -08:00
tedyu
d0393bdf28
HBASE-17431 Incorrect precheck condition in RoundRobinPool#get() (Jan Hentschel)
2017-01-06 09:08:55 -08:00
Ashish Singhi
e8e40d8625
HBASE-17290 Potential loss of data for replication of bulk loaded hfiles
2017-01-06 16:57:52 +05:30
Jan Hentschel
a9bac6a496
HBASE-17390 Added master and backup masters to online update of configuration
...
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-01-04 22:25:22 -08:00
Guanghao Zhang
97d1ba4015
HBASE-17317 [branch-1] The updatePeerConfig method in ReplicationPeersZKImpl didn't update the table-cfs map
2016-12-20 18:51:26 +08:00
Guanghao Zhang
4b3df0f926
HBASE-17296 Provide per peer throttling for replication
...
Signed-off-by: Phil Yang <yangzhe1991@apache.org>
2016-12-15 16:13:04 +08:00
tedyu
1f9214bee7
HBASE-17297 Single Filter in parenthesis cannot be parsed correctly (Xuesen Liang)
2016-12-12 12:09:22 -08:00
tedyu
30576991bc
HBASE-17289 Avoid adding a replication peer named "lock"
2016-12-12 09:38:55 -08:00
tedyu
d87b05f040
HBASE-16336 Removing peers seems to be leaving spare queues (Guanghao Zhang)
2016-12-11 07:43:10 -08:00
tedyu
600fa8de77
HBASE-17170 HBase is also retrying DoNotRetryIOException because of class loader differences (Ankit Singhal)
2016-12-05 10:16:01 -08:00