Michael Stack
fd6b0b3dbf
Revert "HBASE-15513 hbase.hregion.memstore.chunkpool.maxsize is 0.0 by default (Vladimir Rodionov)"
...
This reverts commit 8b4bb34ec2
.
2016-11-07 09:07:02 -08:00
tedyu
f3bed5b0d9
HBASE-17026 VerifyReplication log should distinguish whether good row key is result of revalidation
2016-11-07 07:38:47 -08:00
binlijin
e8e658ed38
HBASE-16840 Reuse cell's timestamp and type in ScanQueryMatcher
...
Signed-off-by: Yu Li <liyu@apache.org>
2016-11-07 22:40:18 +08:00
Yu Li
e33fd427e4
Revert "HBASE-16840 Reuse cell's timestamp and type in ScanQueryMatcher" to update author
...
This reverts commit 28de528c6e
.
2016-11-07 22:40:02 +08:00
Yu Li
28de528c6e
HBASE-16840 Reuse cell's timestamp and type in ScanQueryMatcher
...
Signed-off-by: Yu Li <liyu@apache.org>
2016-11-07 21:33:37 +08:00
Jingcheng Du
4ca668dd11
HBASE-17005 Improve log message in MobFileCache (huaxiang sun)
2016-11-07 16:38:14 +08:00
Mikhail Antonov
a34a9adb22
HBASE-17032 CallQueueTooBigException and CallDroppedException should not be triggering PFFE
2016-11-06 21:44:59 -08:00
Michael Stack
8b4bb34ec2
HBASE-15513 hbase.hregion.memstore.chunkpool.maxsize is 0.0 by default (Vladimir Rodionov)
2016-11-06 21:43:02 -08:00
Matteo Bertozzi
7e05d0f161
HBASE-16937 Replace SnapshotType protobuf conversion when we can directly use the pojo object
2016-11-04 13:18:34 -07:00
Matteo Bertozzi
00ea7aeafe
HBASE-16892 Use TableName instead of String in SnapshotDescription
2016-11-04 13:18:10 -07:00
Matteo Bertozzi
efe0a0eead
HBASE-16865 Procedure v2 - Inherit lock from root proc
2016-11-04 13:17:40 -07:00
anoopsamjohn
05ee54f665
HBASE-17013 Add constructor to RowMutations for initializing the capacity of internal list. (ChiaPing Tsai)
2016-11-04 10:34:20 +05:30
Apekshit Sharma
bb0fc6b602
HBASE-17006 Give name to existing threads.
...
Having thread names in logs and thread dumps greatly improve debugability. This patch is simply adding the names to the threads we spawn.
Change-Id: I6ff22cc3804bb81147dde3a8e9ab671633c6f6ce
2016-11-03 18:28:19 -07:00
Eddie Elizondo
f61ae6f06d
HBASE-14329 Report region in transition should check all regions in request
...
Signed-off-by: Gary Helmling <garyh@apache.org>
2016-11-03 11:16:57 -07:00
Umesh Agashe
281bf9a222
HBASE-17014 Added clearly marked log messages for start and shutdown of services HMaster, HRegionServer, ThriftServer, RESTServer. Also changed the log level for RPCServer responder starting log message to debug.
...
Signed-off-by: Michael Stack <stack@apache.org>
2016-11-03 11:09:55 -07:00
Gary Helmling
e820e64272
HBASE-16964 Always clear successfully archived files from compacted files list
2016-11-03 09:09:08 -07:00
tedyu
c82fc6e0b2
HBASE-16975 Disable two subtests of TestSerialReplication (Phil Yang)
2016-11-03 01:55:26 -07:00
Yu Li
b1d1dc8569
HBASE-16972 Log more details for Scan#next request when responseTooSlow
2016-11-02 15:02:07 +08:00
binlijin
6b957b69a7
HBASE-16960 RegionServer hang when aborting
...
Signed-off-by: Yu Li <liyu@apache.org>
2016-11-02 11:59:51 +08:00
Lars Hofhansl
b7293bf5ad
HBASE-16765 New SteppingRegionSplitPolicy, avoid too aggressive spread of regions for small tables.
2016-11-01 13:12:21 -07:00
Lars Hofhansl
1c07d1d591
Revert "New SteppingRegionSplitPolicy, avoid too aggressive spread of regions for small tables."
...
This reverts commit 791052c50a
.
2016-11-01 13:11:31 -07:00
Lars Hofhansl
791052c50a
New SteppingRegionSplitPolicy, avoid too aggressive spread of regions for small tables.
2016-11-01 12:21:51 -07:00
Michael Stack
26cbe44337
HBASE-16983 TestMultiTableSnapshotInputFormat failing with Unable to
...
create region directory: /tmp/...
2016-10-31 21:57:48 -07:00
zhangduo
6cf9333e97
HBASE-16945 Implement AsyncRegionLocator
2016-11-01 10:18:55 +08:00
zhangduo
45a2594249
HBASE-16968 Refactor FanOutOneBlockAsyncDFSOutput
2016-11-01 09:19:02 +08:00
Michael Stack
d0be36deb7
HBASE-16966 Re-enable TestSimpleRpcScheduler#testCoDelScheduling in master branch
2016-10-31 14:40:51 -07:00
Michael Stack
fe47ec81f9
HBASE-16969 RegionCoprocessorServiceExec should override the toString() for debugging (ChiaPing Tsai)
2016-10-31 14:32:59 -07:00
tedyu
861880b86b
HBASE-16971 The passed durability of Append/Increment isn't used in wal sync (ChiaPing Tsai)
2016-10-31 09:50:47 -07:00
tedyu
c3bb3b35c5
HBASE-16946 Provide Raw scan as an option in VerifyReplication (Sreekar Pallapothu)
2016-10-31 09:08:36 -07:00
anoopsamjohn
79073cd40c
HBASE-16747 Track memstore data size and heap overhead separately - Addendum to fix TestIOFencing.
2016-10-31 11:05:36 +05:30
daoye.ch
6ce05d44e5
HBASE-16954 Unify HTable#checkAndDelete with AP (ChiaPing Tsai)
2016-10-31 09:15:29 +08:00
anoopsamjohn
ba6d952324
HBASE-16747 Track memstore data size and heap overhead separately.
2016-10-30 12:20:46 +05:30
zhangduo
6127753b65
HBASE-16891 Try copying to the Netty ByteBuf directly from the WALEdit
2016-10-29 23:30:52 +08:00
Mikhail Antonov
17dfa34cfb
HBASE-16743 TestSimpleRpcScheduler#testCoDelScheduling is broke
2016-10-28 16:47:10 -07:00
zhangduo
3283bc7c91
HBASE-16835 Revisit the zookeeper usage at client side
2016-10-28 13:27:41 +08:00
Stephen Yuan Jiang
e108a4f815
HBASE-14551 Procedure v2 - Reimplement split (Stephen Yuan Jiang)
2016-10-27 21:45:41 -07:00
Guanghao Zhang
7b74dd0374
HBASE-16947 Some improvements for DumpReplicationQueues tool
...
Signed-off-by: Michael Stack <stack@apache.org>
2016-10-27 10:12:26 -07:00
tedyu
d35b65883c
HBASE-16886 hbase-client: scanner with reversed=true and small=true gets no result (huzheng)
2016-10-27 06:54:13 -07:00
Apekshit Sharma
a3f1490601
HBASE-16950 Print raw stats in the end of proc performance tools for parsing results from scripts.
...
Change-Id: I45d77e838689dde7ec596de26ae98bd62e1b727e
2016-10-27 00:04:24 -07:00
Michael Stack
8d9b9dc6b7
HBASE-16948 Fix inconsistency between HRegion and Region javadoc on getRowLock
2016-10-26 16:09:43 -07:00
zhangduo
cd3dd6e018
HBASE-16932 Implement small scan
2016-10-26 17:26:58 +08:00
zhangduo
5cee6a39c2
Revert "Implement small scan" due to miss issue number
...
This reverts commit c7c45f2c85
.
2016-10-26 17:22:50 +08:00
Ramkrishna
1eae9aeeac
HBASE-16783 Use ByteBufferPool for the header and message during Rpc
...
response (Ram)
2016-10-26 14:33:49 +05:30
zhangduo
c7c45f2c85
Implement small scan
2016-10-26 15:45:02 +08:00
Michael Stack
bbe88d942e
HBASE-16944 Fix findbugs warning in hbase-server HRegion UL_UNRELEASED_LOCK
2016-10-25 14:44:11 -07:00
Guanghao Zhang
c4be87d050
HBASE-16939 ExportSnapshot: set owner and permission on right directory
...
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2016-10-25 14:08:44 -07:00
zhangduo
caa1a8494a
HBASE-15709 Handle large edits for asynchronous WAL
2016-10-25 13:46:01 +08:00
Michael Stack
4533bb63cf
Revert "Revert "HBASE-15789 PB related changes to work with offheap""
...
Restore this change but with a clean of the generated dirs first so
that we avoid trying to apply a patch on top of an already patched src.
This reverts commit 0f384158fc
.
2016-10-24 16:51:50 -07:00
anoopsamjohn
988d1f9bc9
HBASE-16608 Introducing the ability to merge ImmutableSegments without copy-compaction or SQM usage. (Anastasia)
2016-10-24 23:09:48 +05:30
tedyu
1b12a60392
HBASE-16930 AssignmentManager#checkWals() function can recur infinitely (Umesh Agashe)
2016-10-24 10:10:03 -07:00
binlijin
fa3cbd1d80
HBASE-16931 Setting cell's seqId to zero in compaction flow might cause RS down.
...
Signed-off-by: Yu Li <liyu@apache.org>
2016-10-24 23:32:38 +08:00
Ramkrishna
3584537b07
HBASE-16463 Improve transparent table/CF encryption with Commons Crypto
...
(Dapeng Sun)
2016-10-24 16:22:30 +05:30
tedyu
97cb1d71bc
HBASE-16929 Move default method of shipped to Shipper interface - revert pending finding cause for Phoenix compilation error
2016-10-24 01:39:02 -07:00
zhangduo
2f4c91e41a
HBASE-15684 Fix the broken log file size accounting
2016-10-22 17:42:09 +08:00
tedyu
ac415f85f3
HBASE-16929 Move default method of shipped to Shipper interface
2016-10-21 17:23:07 -07:00
Guanghao Zhang
6415137574
HBASE-16815 Low scan ratio in RPC queue tuning triggers divide by zero exception
...
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2016-10-21 16:59:55 -07:00
tedyu
e223639671
HBASE-16910 Avoid NPE when starting StochasticLoadBalancer (Guanghao Zhang)
2016-10-21 10:25:42 -07:00
Ramkrishna
0ae211eb39
HBASE-16414 Improve performance for RPC encryption with Apache Common
...
Crypto (Colin Ma)
2016-10-21 16:02:39 +05:30
Ashu Pachauri
f1691e3d0d
HBASE-16752 addendum. Do not retry large request for client versions less than 1.3
...
Signed-off-by: Gary Helmling <garyh@apache.org>
2016-10-20 10:34:01 -07:00
Guanghao Zhang
59857a41ea
HBASE-16870 ADDENDUM fix failed TestReplicationSmallTests
2016-10-20 20:02:12 +08:00
zhangduo
b2a7f31a06
Revert "HBASE-16870 ADDENDUM fix failed TestReplicationSmallTests"
...
This reverts commit c02b672e83
.
2016-10-20 16:14:34 +08:00
Guanghao Zhang
c02b672e83
HBASE-16870 ADDENDUM fix failed TestReplicationSmallTests
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2016-10-20 14:36:23 +08:00
zhangduo
ddc84356dd
HBASE-16872 Implement mutateRow and checkAndMutate
2016-10-20 09:40:05 +08:00
Ashu Pachauri
ee1123b069
HBASE-16752 Return error back to rpc client on exceeding rpc request size limit.
...
Signed-off-by: Gary Helmling <garyh@apache.org>
2016-10-19 15:09:51 -07:00
tedyu
674511875d
HBASE-16870 Add the metrics of replication sources which were transformed from other dead rs to ReplicationLoad (Guanghao Zhang)
2016-10-19 14:54:35 -07:00
Huaxiang Sun
72db953886
HBASE-16345 RpcRetryingCallerWithReadReplicas#call() should catch some RegionServer Exceptions
...
Fix logic for
1). how to handle exception while waiting for reply from the primary replica.
2). handle exception from replicas while waiting for a correct response.
Signed-off-by: Esteban Gutierrez <esteban@apache.org>
2016-10-19 13:55:43 -07:00
Matteo Bertozzi
d9ee25e82a
HBASE-16874 Fix TestMasterFailoverWithProcedures and ensure single proc-executor for kill/restart tests
2016-10-19 13:25:17 -07:00
Jingcheng Du
67f1ac1f8e
HBASE-16578 Mob data loss after mob compaction and normal compaction
2016-10-19 13:58:54 +08:00
zhangduo
acc606571b
HBASE-16837 Implement checkAndPut and checkAndDelete
2016-10-19 13:32:24 +08:00
Enis Soztutar
ef8c65e542
HBASE-16824 Writer.flush() can be called on already closed streams in WAL roll
2016-10-18 18:46:02 -07:00
tedyu
bb6cc4d43e
HBASE-16854 Refactor the org.apache.hadoop.hbase.client.Action (ChiaPing Tsai)
2016-10-18 09:47:25 -07:00
Gary Helmling
317136e272
HBASE-16754 All WALSplitter OutputSinks should process compaction events
2016-10-18 09:37:37 -07:00
Esteban Gutierrez
5bc518b387
HBASE-16774 [shell] Add coverage to TestShell when ZooKeeper is not reachable
2016-10-18 09:08:33 -07:00
Michael Stack
0d40a52ee8
Revert "Revert "HBASE-16698 Performance issue: handlers stuck waiting for CountDownLatch inside WALKey#getWriteEntry under high writing workload; ADDENDUM. Fix findbugs""
...
This reverts commit f555b5be9c
.
A revert of a revert
2016-10-18 08:35:45 -07:00
Michael Stack
ec1adb7baa
Revert "Revert "HBASE-16698 Performance issue: handlers stuck waiting for CountDownLatch inside WALKey#getWriteEntry under high writing workload""
...
This reverts commit 13baf4d37a
.
This is a revert of a revert.
2016-10-18 08:34:29 -07:00
zhangduo
b4f6ebde24
HBASE-16836 Implement increment and append
2016-10-18 22:34:14 +08:00
tedyu
10840a51e8
HBASE-16145 MultiRowRangeFilter constructor shouldn't throw IOException (Konstantin Ryakhovskiy)
2016-10-17 16:06:10 -07:00
tedyu
0c304a049b
HBASE-16283 Batch Append/Increment will always fail if set ReturnResults to false (Allan Yang)
2016-10-17 15:42:06 -07:00
Matteo Bertozzi
c6e9dabe62
HBASE-16846 Procedure v2 - executor cleanup
2016-10-17 10:30:59 -07:00
tedyu
2786253120
HBASE-16856 Exception message in SyncRunner.run() should print currentSequence (Allan Yang)
2016-10-17 07:19:49 -07:00
Ramkrishna
1e3d8c8226
HBASE-16792 Reuse KeyValue.KeyOnlyKeyValue in
...
BufferedDataBlockEncoder.SeekerState (Binlijin)
2016-10-17 12:26:36 +05:30
Ramkrishna
bda5fd5a11
HBASE-16792 - reverting to change commit message
2016-10-17 12:25:13 +05:30
zhangduo
3a0dbf71a9
HBASE-16834 Add AsyncConnection support for ConnectionFactory
2016-10-17 13:08:43 +08:00
tedyu
109db38b6a
HBASE-16853 Regions are assigned to Region Servers in /hbase/draining after HBase Master failover (David Pope)
2016-10-16 19:59:38 -07:00
Michael Stack
0f384158fc
Revert "HBASE-15789 PB related changes to work with offheap"
...
This reverts commit fb15e3d4f5
.
Breaks the build
2016-10-15 18:44:00 -07:00
Michael Stack
fb15e3d4f5
HBASE-15789 PB related changes to work with offheap
...
Adds means of patching our shaded protobuf. Does it using
the Anoop patch attached to HBASE-15789 that adds ByteInput
to protobuf. This patch gets applied after protobuf has been
downloaded, relocated, and then unpacked over src/main/java.
Also fixes a few small build WARNINGs because of duplicate
mentions of dependencies.
2016-10-15 10:02:23 -07:00
Stephen Yuan Jiang
b972839ca1
HBASE-16844 Procedure V2: DispatchMergingRegionsProcedure to use base class StateMachineProcedure for abort and rollback (Stephen Yuan Jiang)
2016-10-14 14:09:35 -07:00
Matteo Bertozzi
62c84115ec
HBASE-16839 Procedure v2 - Move all protobuf handling to ProcedureUtil
2016-10-14 11:32:28 -07:00
Michael Stack
13baf4d37a
Revert "HBASE-16698 Performance issue: handlers stuck waiting for CountDownLatch inside WALKey#getWriteEntry under high writing workload"
...
Premature commit. Revert while discussion still ongoing.
This reverts commit 9b13514483
.
2016-10-14 11:27:05 -07:00
Michael Stack
f555b5be9c
Revert "HBASE-16698 Performance issue: handlers stuck waiting for CountDownLatch inside WALKey#getWriteEntry under high writing workload; ADDENDUM. Fix findbugs"
...
Premature commit. Revert while discussion ongoing
This reverts commit e1923b7c0c
.
2016-10-14 11:26:33 -07:00
Ramkrishna
635ea05b9a
HBASE-16729 Define the behavior of (default) empty FilterList(ChiaPing
...
Tsai)
2016-10-14 23:14:33 +05:30
anoopsamjohn
5f75fa0c4f
HBASE-16799 CP exposed Store should not expose unwanted APIs.
2016-10-14 22:16:54 +05:30
tedyu
39d43ab779
HBASE-16821 Enhance LoadIncrementalHFiles API to convey missing hfiles if any
2016-10-14 09:07:38 -07:00
zhangduo
3fe7508295
HBASE-15921 Add first AsyncTable impl and create TableImpl based on it
2016-10-14 22:52:52 +08:00
Ramkrishna
4127fd2a7c
iHBASE-16792 Reuse KeyValue.KeyOnlyKeyValue in
...
BufferedDataBlockEncoder.SeekerState (Binlijin)
2016-10-14 17:52:24 +05:30
Michael Stack
e1923b7c0c
HBASE-16698 Performance issue: handlers stuck waiting for CountDownLatch inside WALKey#getWriteEntry under high writing workload; ADDENDUM. Fix findbugs
2016-10-13 17:16:47 -07:00
Michael Stack
9b13514483
HBASE-16698 Performance issue: handlers stuck waiting for CountDownLatch inside WALKey#getWriteEntry under high writing workload
2016-10-13 09:25:23 -07:00
Pankaj Kumar
c9c67d1a94
HBASE-16724 Snapshot owner can't clone
...
Signed-off-by: Ashish Singhi <ashishsinghi@apache.org>
2016-10-13 17:20:52 +05:30
Pankaj Kumar
90d83d5b38
HBASE-16807, RegionServer will fail to report new active Hmaster until HMaster/RegionServer failover.
...
Signed-off-by: chenheng <chenheng@apache.org>
2016-10-13 18:00:57 +08:00
Phil Yang
88ff71b91b
HBASE-16664 Timeout logic in AsyncProcess is broken
...
Signed-off-by: chenheng <chenheng@apache.org>
2016-10-13 16:15:43 +08:00
Matteo Bertozzi
92ef234486
HBASE-16813 Procedure v2 - Move ProcedureEvent to hbase-procedure module
2016-10-12 16:33:25 -07:00
Michael Stack
dfb2a800c4
HBASE-16746 The log of “region close” should differ from “region move” (ChiaPing Tsai)
2016-10-12 16:08:25 -07:00
tedyu
f4bdab8bac
HBASE-16810 HBase Balancer throws ArrayIndexOutOfBoundsException when regionservers are in /hbase/draining znode and unloaded (David Pope)
2016-10-12 13:23:06 -07:00
Phil Yang
b8173a548c
HBASE-16505 Pass deadline to HRegion operations
...
Signed-off-by: Michael Stack <stack@apache.org>
2016-10-12 12:16:18 -07:00
Matteo Bertozzi
e868d9586f
HBASE-16735 Procedure v2 - Fix yield while holding locks
2016-10-12 12:14:36 -07:00
Michael Stack
a46134bffc
HBASE-16731 Inconsistent results from the Get/Scan if we use the empty FilterList (ChiaPing Tsai)
2016-10-12 12:13:41 -07:00
tedyu
996d631c62
HBASE-16801 The Append/Increment may return the data from future - addendum (ChiaPing Tsai)
2016-10-12 10:06:51 -07:00
anoopsamjohn
f77ff9f96f
HBASE-16809 Save one cell length calculation in HeapMemStoreLAB#copyCellInto. (binlijin)
2016-10-12 09:57:23 +05:30
Pankaj Kumar
0af10f8942
HBASE-16663 JMX ConnectorServer stopped when unauthorized user try to stop HM/RS/cluster
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2016-10-11 17:54:19 -07:00
Apekshit Sharma
eb52e26822
HBASE-16811 Remove mob sweep job.
...
Change-Id: If849fdcafb8af4a9765be1eb80da77f8b3f29a1a
2016-10-11 16:37:47 -07:00
tedyu
ec87b4bfe2
HBASE-15109 HM/RS failed to start when "fs.hdfs.impl.disable.cache" is set to true (Pankaj Kumar)
2016-10-11 15:37:26 -07:00
tedyu
fef3c908d3
HBASE-16803 Make hbase:acl table unsplittable - revert pending review comments
2016-10-11 12:52:32 -07:00
tedyu
bbc2746267
HBASE-16803 Make hbase:acl table unsplittable
2016-10-11 12:48:14 -07:00
Gary Helmling
bc7e034052
HBASE-16788 addendum Account for HStore archiveLock in heap size
2016-10-11 10:57:13 -07:00
tedyu
4d09116695
HBASE-16716 OfflineMetaRepair leaves empty directory inside /hbase/WALs which remains forever (Pankaj Kumar)
2016-10-11 07:19:54 -07:00
tedyu
0f21c41eda
HBASE-16801 The Append/Increment may return the data from future (Chiaping Tsai)
2016-10-10 18:31:31 -07:00
Gary Helmling
7493e79f15
HBASE-16788 Guard HFile archiving under a separate lock
2016-10-10 15:58:12 -07:00
Dustin Pho
fcef2c02c9
HBASE-16661 Add last major compaction age to per-region metrics
...
Signed-off-by: Gary Helmling <garyh@apache.org>
2016-10-10 15:16:12 -07:00
Huaxiang Sun
341f049e77
HBASE-16699 Overflows in AverageIntervalRateLimiter's refill() and getWaitInterval()
...
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2016-10-10 14:07:00 -07:00
Huaxiang Sun
c930bc92f4
HBASE-16767 Mob compaction needs to clean up temporary files in face of IOExceptions.
...
1). Fix resource leak issue upon exception during mob compaction.
2). Reorg the code in compactMobFilesInBatch() to make it more readable.
Signed-off-by: Jonathan M Hsieh <jmhsieh@apache.org>
2016-10-10 14:48:24 -05:00
Sean Busbey
932a1964bf
Revert "1). Fix resource leak issue upon exception during mob compaction. 2). Reorg the code in compactMobFilesInBatch() to make it more readable."
...
This reverts commit c7cae6be3d
.
Missing JIRA ID
2016-10-10 14:47:46 -05:00
Sean Busbey
6b6a801876
HBASE-16701 rely on test category timeout instead of defining one on a specific test.
...
Signed-off-by: Umesh Agashe <uagashe@cloudera.com>
Signed-off-by: Yu Li <liyu@apache.org>
2016-10-10 00:14:38 -05:00
tedyu
ccde439392
HBASE-16771 VerifyReplication should increase GOODROWS counter if re-comparison passes
2016-10-09 20:48:28 -07:00
ChiaPing Tsai
8a8c60889c
HBASE-16794 TestDispatchMergingRegionsProcedure#testMergeRegionsConcurrently is flaky
...
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2016-10-09 16:53:29 -07:00
Matteo Bertozzi
e06c3676f1
HBASE-16791 Fix TestDispatchMergingRegionsProcedure
2016-10-08 15:32:34 -07:00
Matteo Bertozzi
29d701a314
HBASE-16781 Fix flaky TestMasterProcedureWalLease
2016-10-07 18:01:53 -07:00
Huaxiang Sun
c7cae6be3d
1). Fix resource leak issue upon exception during mob compaction. 2). Reorg the code in compactMobFilesInBatch() to make it more readable.
...
Signed-off-by: Jonathan M Hsieh <jmhsieh@apache.org>
2016-10-07 17:49:27 -07:00
Gary Helmling
723d56153f
HBASE-16657 addendum handle null RegionLoad
2016-10-07 13:29:19 -07:00
Dustin Pho
bc9a972451
HBASE-16657 Expose per-region last major compaction time in RegionServer UI
...
Signed-off-by: Gary Helmling <garyh@apache.org>
2016-10-07 09:49:24 -07:00
tedyu
62bc090123
HBASE-16773 AccessController should access local region if possible
2016-10-07 06:22:32 -07:00
tedyu
96d34f2a79
HBASE-16768 Inconsistent results from the Append/Increment (ChiaPing Tsai)
2016-10-07 00:59:27 -07:00
Ashu Pachauri
2c7211ec4b
HBASE-16681: Flaky TestReplicationSourceManagerZkImpl
2016-10-06 16:26:38 -07:00
tedyu
97c1333831
HBASE-16772 Add verbose option to VerifyReplication for logging good rows
2016-10-06 11:16:18 -07:00
Matteo Bertozzi
7a38509782
HBASE-16777 Fix flaky TestMasterProcedureEvents
2016-10-06 07:24:39 -07:00
anoopsamjohn
912ed17286
HBASE-15721 Optimization in cloning cells into MSLAB.
2016-10-06 14:48:03 +05:30
Ramkrishna
58e843dae2
HBASE-16372 References to previous cell in read path should be avoided
...
(Ram)
2016-10-06 14:19:12 +05:30
Matteo Bertozzi
eb33b60a95
HBASE-16778 Move testIllegalTableDescriptor out from TestFromClientSide
2016-10-05 20:04:18 -07:00
Matteo Bertozzi
b548d4978b
HBASE-16776 Remove duplicated versions of countRow() in tests
2016-10-05 19:45:50 -07:00
anoopsamjohn
06758bf630
HBASE-16759 Avoid ByteString.copyFrom usage wherever possible.
2016-10-06 00:27:34 +05:30
zhangduo
3aa4dfa73d
HBASE-16690 Move znode path configs to a separated class
2016-10-05 20:12:44 +08:00
anoopsamjohn
617dfe18cd
HBASE-16758 back HBaseZeroCopyByteStringer stuff.
2016-10-05 12:57:13 +05:30
Mikhail Antonov
5ae516bd63
HBASE-16644 Errors when reading legit HFile Trailer of old (v2.0) format file
2016-10-04 21:10:42 -07:00
Jonathan M Hsieh
0daeb635d0
HBASE-16763 Remove unintentional dependency on net.sf.ehcache.search.Results
2016-10-04 16:40:15 -07:00
tedyu
b952e64751
HBASE-15560 TinyLFU-based BlockCache - revert pending performance verification
2016-10-04 08:37:29 -07:00
tedyu
9e0c2562a9
HBASE-15560 TinyLFU-based BlockCache (Ben Manes)
2016-10-04 05:15:51 -07:00
stack
95c1dc93fb
HBASE-15638 Shade protobuf
...
Which includes
HBASE-16742 Add chapter for devs on how we do protobufs going forward
HBASE-16741 Amend the generate protobufs out-of-band build step
to include shade, pulling in protobuf source and a hook for patching protobuf
Removed ByteStringer from hbase-protocol-shaded. Use the protobuf-3.1.0
trick directly instead. Makes stuff cleaner. All under 'shaded' dir is
now generated.
HBASE-16567 Upgrade to protobuf-3.1.x
Regenerate all protos in this module with protoc3.
Redo ByteStringer to use new pb3.1.0 unsafebytesutil
instead of HBaseZeroCopyByteString
HBASE-16264 Figure how to deal with endpoints and shaded pb Shade our protobufs.
Do it in a manner that makes it so we can still have in our API references to
com.google.protobuf (and in REST). The c.g.p in API is for Coprocessor Endpoints (CPEP)
This patch is Tactic #4 from Shading Doc attached to the referenced issue.
Figuring an appoach took a while because we have Coprocessor Endpoints
mixed in with the core of HBase that are tough to untangle (FIX).
Tactic #4 (the fourth attempt at addressing this issue) is COPY all but
the CPEP .proto files currently in hbase-protocol to a new module named
hbase-protocol-shaded. Generate .protos again in the new location and
then relocate/shade the generated files. Let CPEPs keep on with the
old references at com.google.protobuf.* and
org.apache.hadoop.hbase.protobuf.* but change the hbase core so all
instead refer to the relocated files in their new location at
org.apache.hadoop.hbase.shaded.com.google.protobuf.*.
Let the new module also shade protobufs themselves and change hbase
core to pick up this shaded protobuf rather than directly reference
com.google.protobuf.
This approach allows us to explicitly refer to either the shaded or
non-shaded version of a protobuf class in any particular context (though
usually context dictates one or the other). Core runs on shaded protobuf.
CPEPs continue to use whatever is on the classpath with
com.google.protobuf.* which is pb2.5.0 for the near future at least.
See above cited doc for follow-ons and downsides. In short, IDEs will complain
about not being able to find the shaded protobufs since shading happens at package
time; will fix by checking in all generated classes and relocated protobuf in
a follow-on. Also, CPEPs currently suffer an extra-copy as marshalled from
non-shaded to shaded. To fix. Finally, our .protos are duplicated; once
shaded, and once not. Pain, but how else to reveal our protos to CPEPs or
C++ client that wants to talk with HBase AND shade protobuf.
Details:
Add a new hbase-protocol-shaded module. It is a copy of hbase-protocol
i with all relocated offset from o.a.h.h. to o.a.h.h.shaded. The new module
also includes the relocated pb. It does not include CPEPs. They stay in
their old location.
Add another module hbase-endpoint which has in it all the endpoints
that ship as part of hbase -- at least the ones that are not
entangled with core such as AccessControl and Auth. Move all protos
for these CPEPs here as well as their unit tests (mostly moving a
bunch of stuff out of hbase-server module)
Much of the change looks like this:
-import org.apache.hadoop.hbase.protobuf.ProtobufUtil;
-import org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos;
+import org.apache.hadoop.hbase.protobuf.shaded.ProtobufUtil;
+import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos;
In HTable and in HBaseAdmin, regularize the way Callables are used and also hide
protobuf usage as much as possible moving it up into Callable super classes or out
to utility classes. Still TODO is adding in of retries, etc., but can wait on
procedure which will redo all this.
Also in HTable and HBaseAdmin as well as in HRegionServer and Server, be explicit
when using non-shaded protobuf. Do the full-path so it is clear. This is around
endpoint coprocessors registration of services and execution of CPEP methods.
Shrunk ProtobufUtil by moving methods used by one CPEP only back to the CPEP either
into Client class or as new Util class; e.g. AccessControlUtil.
There are actually two versions of ProtobufUtil now; a shaded one and a subset
that is used by CPEPs doing non-shaded work.
Made it so hbase-common no longer depends on hbase-protocol (with Matteo's help)
R*Converter classes got moved down under shaded package -- they are for internal
use only. There are no non-shaded versions of these classes.
D hbase-client/src/main/java/org/apache/hadoop/hbase/client/AbstractRegionServerCallable
D RetryingCallableBase
Not used anymore and we have too many tiers of Callables so removed/cleaned-up.
A ClientServicecallable
Had to add this one. RegionServerCallable was made generic so it could be used
for a few Interfaces (Client and Admin). Then added ClientServiceCallable to
implement RegionServerCallable with the Client Interface.
2016-10-03 21:37:32 -07:00
tedyu
b43d1ecf5c
HBASE-16739 Timed out exception message should include encoded region name
2016-10-03 06:46:04 -07:00
tedyu
1c083d9794
HBASE-16739 Timed out exception message should include encoded region name - Revert due to misspelled word in subject
2016-10-03 06:45:44 -07:00
Ramkrishna
7d0a6a82ab
HBASE-15871 Memstore flush doesn't finish because of backwardseek() in
...
memstore scanner. (Ram)
2016-10-03 17:15:24 +05:30
anoopsamjohn
250ad644e4
HBASE-16738 L1 cache caching shared memory HFile block when blocks promoted from L2 to L1.
2016-10-03 16:04:48 +05:30