stack
fd49923350
HBASE-15650 Remove TimeRangeTracker as point of contention when many threads reading a StoreFile
...
Refactor so we use the immutable, unsynchronized TimeRange when doing
time-based checks at read time rather than use heavily synchronized
TimeRangeTracker; let TimeRangeTracker be for write-time only.
While in here, changed the Segment stuff so that when an immutable
segment, it uses TimeRange rather than TimeRangeTracker too.
M hbase-common/src/main/java/org/apache/hadoop/hbase/io/TimeRange.java
Make allTime final.
Add a includesTimeRange method copied from TimeRangeTracker.
M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/TimeRangeTracker.java
Change name of a few methods so they match TimeRange methods that do
same thing.
(getTimeRangeTracker, getTimeRange, toTimeRange) add utility methods
M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFile.java
Change Reader to use TimeRange-based checks instead of
TimeRangeTracker.
2016-04-15 16:56:05 -07:00
Matteo Bertozzi
6cf4bfe62c
HBASE-15622 Superusers does not consider the keytab credentials
2016-04-15 08:31:46 -07:00
chenheng
96e9c466d2
HBASE-15406 Split / merge switch left disabled after early termination of hbck
...
Conflicts:
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterProtos.java
hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ZooKeeperProtos.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSplitOrMergeStatus.java
hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.java
2016-04-15 15:34:43 +08:00
Apekshit
d378975351
HBASE-15405 Fix PE logging and wrong defaults in help message. (Apekshit)
...
Change-Id: I81f5f57e1db18df252fa92c0cc14bf950ab17034
Signed-off-by: stack <stack@apache.org>
2016-04-14 09:00:38 -07:00
Elliott Clark
07dc75f4fe
HBASE-15504 Fix Balancer in 1.3 not moving regions off overloaded regionserver
2016-04-13 18:07:21 -07:00
tedyu
85f2caf184
HBASE-15633 Backport HBASE-15507 to branch-1 (Geoffrey Jacoby)
2016-04-13 02:25:32 -07:00
Matteo Bertozzi
cd84796b39
HBASE-15481 Add pre/post roll to WALObserver
...
Signed-off-by: Sean Busbey <busbey@apache.org>
Conflicts:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java
2016-04-13 01:06:51 -05:00
Stephen Yuan Jiang
4981d4c207
HBASE-15636 hard coded wait time out value in HBaseTestingUtility#waitUntilAllRegionsAssigned might cause test failure (Stephen Yuan Jiang)
2016-04-12 16:47:21 -07:00
Matteo Bertozzi
d896a51291
HBASE-15621 Suppress Hbase SnapshotHFile cleaner error messages when a snaphot is going on (Huaxiang Sun)
2016-04-12 12:23:28 -07:00
Matteo Bertozzi
59bf00562c
HBASE-15632 Undo the checking of lastStoreFlushTimeMap.isEmpty() introduced in HBASE-13145 (Huaxiang Sun)
2016-04-12 11:41:00 -07:00
tedyu
e31361dcb8
HBASE-14985 TimeRange constructors should set allTime when appropriate (Geoffrey Jacoby)
2016-04-11 17:58:38 -07:00
Matteo Bertozzi
2dbbe8960a
HBASE-15627 Miss space and closing quote in AccessController#checkSystemOrSuperUser (Huaxiang Sun)
2016-04-11 08:28:02 -07:00
tedyu
b7502feff3
HBASE-15093 Replication can report incorrect size of log queue for the global source when multiwal is enabled (Ashu Pachauri)
2016-04-11 08:23:34 -07:00
Jerry He
ff835d5ae6
HBASE-15591 ServerCrashProcedure not yielding
2016-04-10 17:07:39 -07:00
zhangduo
7303c7e479
HBASE-15527 Refactor Compactor related classes
2016-04-10 09:26:42 +08:00
zhangduo
2b75562701
HBASE-15537 Make multi WAL work with WALs other than FSHLog
2016-04-08 10:42:40 +08:00
Enis Soztutar
d94c18a0e7
HBASE-15586 Unify human readable numbers in the web UI
2016-04-07 17:07:38 -07:00
tedyu
b17350210b
HBASE-15400 Use DateTieredCompactor for Date Tiered Compaction (Clara Xiong)
2016-04-07 15:06:22 -07:00
Harsh J
ff075fd9df
HBASE-15396 Enhance mapreduce.TableSplit to add encoded region name
...
(cherry picked from commit 7d3a89ce8e
)
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-04-06 08:32:32 -07:00
Enis Soztutar
e6a32141b3
HBASE-15587 FSTableDescriptors.getDescriptor() logs stack trace erronously
2016-04-05 18:13:47 -07:00
tedyu
8957dc1033
HBASE-15485 Filter.reset() should not be called between batches (Phil Yang)
2016-04-04 20:07:39 -07:00
Ashish Singhi
e5fb045aa9
HBASE-15578 Handle HBASE-15234 for ReplicationHFileCleaner
2016-04-04 15:07:56 +05:30
Matteo Bertozzi
4bae771b65
HBASE-15582 SnapshotManifestV1 too verbose when there are no regions
2016-04-01 20:59:08 -07:00
Ashish Singhi
bcbef7b401
HBASE-15424 Add bulk load hfile-refs for replication in ZK after the event is appended in the WAL
2016-04-01 15:55:08 +05:30
Gary Helmling
d7d12aedd4
HBASE-15234 Don't abort ReplicationLogCleaner on ZooKeeper errors
2016-03-31 22:45:45 -07:00
tedyu
b7df66f1a8
HBASE-15571 Make MasterProcedureManagerHost accessible through MasterServices
2016-03-31 15:49:07 -07:00
stack
407e644607
HBASE-15324 Jitter may cause desiredMaxFileSize overflow in ConstantSizeRegionSplitPolicy and trigger unexpected split (Yu Li)
2016-03-30 13:31:34 -07:00
Elliott Clark
75d46e4697
HBASE-14983 Create metrics for per block type hit/miss ratios
...
Summary: Missing a root index block is worse than missing a data block. We should know the difference
Test Plan: Tested on a local instance. All numbers looked reasonable.
Differential Revision: https://reviews.facebook.net/D55563
2016-03-30 11:53:46 -07:00
Elliott Clark
fee0212da0
HBASE-15559 Fix BaseMasterAndRegionObserver doesn't implement all the methods
2016-03-30 11:18:15 -07:00
tedyu
e339bec3f1
HBASE-15327 Canary will always invoke admin.balancer() in each sniffing period when writeSniffing is enabled (Jianwei Cui)
2016-03-30 09:00:04 -07:00
Enis Soztutar
1e44dd82eb
HBASE-15295 MutateTableAccess.multiMutate() does not get high priority causing a deadlock - ADDENDUM for failing test
2016-03-29 15:02:23 -07:00
tedyu
c7ad42867d
HBASE-15191 CopyTable and VerifyReplication - Option to specify batch size, versions (Parth Shah)
2016-03-29 10:29:56 -07:00
chenheng
13df653215
HBASE-15384 Avoid using '/tmp' directory in TestBulkLoad
2016-03-29 11:10:44 +08:00
Enis Soztutar
5202d3c25b
HBASE-15295 MutateTableAccess.multiMutate() does not get high priority causing a deadlock
...
Conflicts:
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.java
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/MasterCoprocessorRpcChannel.java
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RegionCoprocessorRpcChannel.java
hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
hbase-server/src/test/java/org/apache/hadoop/hbase/client/HConnectionTestingUtility.java
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide3.java
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestScannersFromClientSide.java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestClockSkewDetection.java
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerNoMaster.java
hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestNamespaceCommands.java
2016-03-28 17:00:21 -07:00
tedyu
5851ad0230
HBASE-15548 SyncTable: sourceHashDir is supposed to be optional but won't work without (Dave Latham)
2016-03-28 16:53:27 -07:00
tedyu
87f1af842a
HBASE-15496 Throw RowTooBigException only for user scan/get (Guanghao Zhang)
2016-03-25 19:05:15 -07:00
zhangduo
d5bc56c266
HBASE-15389 Write out multiple files when compaction
2016-03-25 15:33:20 +08:00
tedyu
4b5b8e01d0
HBASE-15526 Make SnapshotManager accessible through MasterServices
2016-03-24 16:02:00 -07:00
tedyu
ff261efbf7
HBASE-15515 Improve LocalityBasedCandidateGenerator in Balancer (Guanghao Zhang)
2016-03-24 11:22:34 -07:00
Jerry He
1361a25e6d
HBASE-14256 Flush task message may be confusing when region is recovered (Gabor Liptak)
2016-03-24 10:01:53 -07:00
Jesse Yates
ee33bf0c7d
HBASE-14703 HTable.mutateRow does not collect stats (Heng Chen)
...
Conflicts:
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerFactory.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerImpl.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/StatsTrackingRpcRetryingCaller.java
hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClientProtos.java
2016-03-24 11:27:54 +08:00
zhangduo
9fa44a8126
HBASE-15520 Fix broken TestAsyncIPC
...
Conflicts:
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AsyncRpcChannel.java
2016-03-24 10:57:42 +08:00
Elliott Clark
604415e827
HBASE-15475 Allow TimestampsFilter to provide a seek hint
2016-03-23 18:57:02 -07:00
stack
a3d550fbca
HBASE-15360 Fix flaky TestSimpleRpcScheduler; ADDENDUM
2016-03-23 15:47:22 -07:00
Matteo Bertozzi
47eb79311f
HBASE-15508 Add command for exporting snapshot in hbase command script (Yufeng Jiang)
2016-03-23 10:38:13 -07:00
Enis Soztutar
b697f53be3
HBASE-15212 RRCServer should enforce max request size
2016-03-22 16:23:20 -07:00
Enis Soztutar
d07230a759
HBASE-15412 Add average region size metric (Alicia Ying Shu)
...
Conflicts:
hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSourceImpl.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperStub.java
2016-03-22 14:50:14 -07:00
tedyu
2331d9efe3
HBASE-15488 Add ACL for setting split merge switch
2016-03-22 10:41:08 -07:00
Enis Soztutar
249e37f83c
HBASE-15464 Flush / Compaction metrics revisited
...
Conflicts:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
hbase-server/src/test/java/org/apache/hadoop/hbase/MockRegionServerServices.java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/MockRegionServer.java
2016-03-21 17:56:22 -07:00
tedyu
1c5002660b
HBASE-15325 ResultScanner allowing partial result will miss the rest of the row if the region is moved between two rpc requests (Phil Yang)
2016-03-21 13:20:23 -07:00