Ashu Pachauri
e4c06c120a
HBASE-17590 Drop cache hint should work on store file write path (Ashu Pachauri)
...
Signed-off-by: Gary Helmling <garyh@apache.org>
2017-02-22 12:39:10 -08:00
zhangduo
f037f230fd
HBASE-17608 Add suspend support for RawScanResultConsumer
2017-02-22 20:32:03 +08:00
Yu Li
93e60153b0
HBASE-17676 Get class name once for all in AbstractFSWAL
2017-02-22 15:50:09 +08:00
tedyu
c579cf67b0
HBASE-17657 TestZKAsyncRegistry is flaky
2017-02-21 21:17:15 -08:00
Phil Yang
a0da66dc36
HBASE-17210 Set timeout on trying rowlock according to client's RPC timeout
2017-02-22 11:09:55 +08:00
rgidwani
3c0750de54
HBASE-17675 ReplicationEndpoint should choose new sinks if a SaslException occurs
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-02-21 18:44:54 -08:00
Sean Busbey
d7ffa0013b
HBASE-15328 sanity check the redirect used to send master info requests to the embedded regionserver.
...
Signed-off-by: Esteban Gutierrez <esteban@apache.org>
2017-02-20 22:03:17 -06:00
huzheng
22fa1cd3df
HBASE-17472: Correct the semantic of permission grant
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-02-20 20:13:43 +08:00
ChiaPing Tsai
d08bafad1a
HBASE-17661 fix the queue length passed to FastPathBalancedQueueRpcExecutor
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-19 13:25:32 -08:00
Sean Busbey
350904e90f
HBASE-17561 table status page should escape values that may contain arbitrary characters.
...
Signed-off-by: Esteban Gutierrez <esteban@apache.org>
2017-02-18 15:46:18 -06:00
tedyu
0e05537dec
HBASE-17460 enable_table_replication can not perform cyclic replication of a table (NITIN VERMA)
2017-02-17 17:56:53 -08:00
Huaxiang Sun
d7325185ad
HBASE-17172 Optimize major mob compaction with _del files
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-17 14:22:31 -08:00
Tim Brown
938aef772d
HBASE-17658 Fix bookkeeping error with max regions for a table
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-17 07:40:16 -08:00
Yi Liang
a2d2196e89
HBASE-17648: HBase Table-level synchronization fails between two secured(kerberized) cluster
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-17 07:03:53 -08:00
anoopsamjohn
7763dd6688
HBASE-17644 Always create ByteBufferCells after copying to MSLAB.
2017-02-17 17:50:41 +05:30
huzheng
e129e6b65d
HBASE-17619: Add async admin Impl which connect to RegionServer and implement close region methods.
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-02-17 09:32:45 +08:00
Michael Stack
ae840c0ccd
HBASE-17656 Move new Address class from util to net package
2017-02-16 12:17:50 -08:00
Abhishek Singh Chouhan
0446ed0f0c
HBASE-17069 RegionServer writes invalid META entries for split daughters in some circumstances
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-02-16 15:27:44 +08:00
Huaxiang Sun
33e9a8c775
HBASE-17640 Unittest error in TestMobCompactor with different timezone (Huaxiang Sun)
...
Signed-off-by: Jingcheng Du <jingchengdu@apache.org>
2017-02-15 11:23:04 +08:00
zhangduo
c8f3c8630b
HBASE-17583 Add inclusive/exclusive support for startRow and endRow of scan for sync client
2017-02-15 10:18:41 +08:00
Michael Stack
e019961150
HBASE-17624 Address late review of HBASE-6721, rsgroups feature
...
Addresses review comments by Sean Busbey and Appy that happened
to come in long after the commit of HBASE-6721, the original
rsgroup issue.
Also includes subsequent accommodation of Duo Zhang review.
Adds a new type to hold hostname and port. It is called
Address. It is a facade over Guava's HostAndPort. Replace
all instances of HostAndPort with Address. In particular,
those places where HostAndPort was part of the rsgroup
public API.
Fix licenses. Add audience annotations.
Cleanup and note concurrency expectation on a few core classes.
In particular, all access on RSGroupInfoManager is made
synchronized.
M hbase-client/src/main/java/org/apache/hadoop/hbase/ServerName.java
Host the hostname and port in an instance of the new type Address.
Add a bunch of deprecation of exotic string parses that should never
have been public.
M hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdmin.java
Make this an Interface rather than abstract class. Creation was a
static internal method that only chose one type.... Let it be free
as a true Interface instead.
2017-02-14 09:29:17 -08:00
Phil Yang
b2217d1d8f
HBASE-17639 Do not stop server if ReplicationSourceManager's waitUntilCanBePushed throws InterruptedException
2017-02-14 17:46:13 +08:00
Sean Busbey
024ae356ac
HBASE-17558 ZK dumping jsp should escape HTML.
...
Signed-off-by: Enis Soztutar <enis@apache.org>
2017-02-13 23:37:59 -05:00
Jan Hentschel
55c2e2d484
HBASE-9702 Changed unit tests to use method names for tables
2017-02-13 13:27:55 -08:00
Yu Li
d40bca4365
HBASE-17638 Remove duplicated initialization of CacheConfig in HRegionServer
2017-02-13 23:23:10 +08:00
Apekshit Sharma
826b9436fb
HBASE-17605 Changes
...
- Moved locks out of MasterProcedureScheduler#Queue. One Queue object is used for each namespace/table, which aren't more than 100. So we don't need complexity arising from all functionalities being in one place. SchemaLocking now owns locks and locking implementaion has been moved to procedure2 package.
- Removed NamespaceQueue because it wasn't being used as Queue (add,peek,poll,etc functions threw UnsupportedOperationException). It's was only used for locks on namespaces. Now that locks have been moved out of Queue class, it's not needed anymore.
- Remoed RegionEvent which was there only for locking on regions. Tables/namespaces used locking from Queue class and regions couldn't (there are no separate proc queue at region level), hence the redundance. Now that locking is separate, we can use the same for regions too.
- Removed QueueInterface class. No declarations, except one implementaion, which makes the point of having an interface moot.
- Removed QueueImpl, which was the only concrete implementation of abstract Queue class. Moved functions to Queue class itself to avoid unnecessary level in inheritance hierarchy.
- Removed ProcedureEventQueue class which was just a wrapper around ArrayDeque class. But we now have ProcedureWaitQueue as 'Type class'.
- Encapsulated table priority related stuff in a single class.
- Removed some unused functions.
Change-Id: I6a60424cb41e280bc111703053aa179d9071ba17
2017-02-11 14:31:43 -08:00
tedyu
a05abd83ef
HBASE-17628 Local mode of mini cluster shouldn't use hdfs (Devaraj Das)
2017-02-10 17:52:33 -08:00
Esteban Gutierrez
054acec840
HBASE-17622 Add hbase-metrics package to TableMapReduceUtil
2017-02-10 09:32:50 -08:00
Jingcheng Du
9d5d25c88d
HBASE-17618 Refactor the implementation of modify table and delete column in MOB
2017-02-10 21:26:53 +08:00
rgidwani
1b041a4fc7
HBASE-17609 Allow for region merging in the UI
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-02-09 14:06:56 -08:00
ChiaPing Tsai
489c8872c1
HBASE-17613 avoid copy of family when initializing the FSWALEntry
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-09 08:18:47 -08:00
zhangduo
712fe69e4d
HBASE-17599 Use mayHaveMoreCellsInRow instead of isPartial
2017-02-09 15:38:02 +08:00
Enis Soztutar
b23890157c
HBASE-17105 Annotate RegionServerObserver
2017-02-08 13:35:22 -08:00
eshcar
edbf2bb8de
HBASE-17575: Run critical tests with each of the Inmemory Compaction Policies enabled
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-02-08 08:39:37 -08:00
huzheng
d8f3c6cff9
HBASE-17381 ReplicationSourceWorkerThread can die due to unhandled exceptions (huzheng)
...
Signed-off-by: Gary Helmling <garyh@apache.org>
2017-02-07 16:39:14 -08:00
Vincent
c55fce00f3
HBASE-15995 Separate replication WAL reading from shipping
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-07 12:51:15 -08:00
tedyu
d0498d979c
HBASE-17565 StochasticLoadBalancer may incorrectly skip balancing due to skewed multiplier sum - addendum resets min cost
2017-02-07 12:24:20 -08:00
Ramkrishna
6c5eec249c
HBASE-17484 Add non cached version of OffheapKV for write path (Ram)
2017-02-07 21:27:33 +05:30
tedyu
9d8de85fa5
HBASE-17565 StochasticLoadBalancer may incorrectly skip balancing due to skewed multiplier sum
2017-02-07 06:22:47 -08:00
Guanghao Zhang
9a78d00884
HBASE-17389 Convert all internal usages from ReplicationAdmin to Admin
2017-02-07 10:18:59 +08:00
zhangduo
af9d359b8e
HBASE-17402 TestAsyncTableScan sometimes hangs
2017-02-07 09:42:42 +08:00
Michael Stack
9ec0ec4922
HBASE-17350 Fixup of regionserver group-based assignment
...
Renamed move_rsgroup_servers as move_servers_rsgroup
Renamed move_rsgroup_tables as move_tables_rsgroup
Minor changes to help text in rsgroup commands making them all same.
Made LOG from RSGroupAdminServer all talk of 'rsgroup' rather than
'group' to be consistent.
Fix for table.jsp where it would fail to display regions because no
type for the protobuf record specified.
Fix it so that move of an offline server to 'default' rsgroup is like
moving the reference to the server to trash (keeps the 'default' group
consistently 'dynamic' regards its server-list).
Fixed another issue where we were stuck in a loop because regions
were in FAILED_OPEN state because no server to assign too so we'd
never recover (a vagary of the current state of Master assignement
but no less a possibility in real world deploys).
Make it so servers are sorted when we list them; its what operator
would expect.
2017-02-06 13:09:57 -08:00
Enis Soztutar
4d730244a9
HBASE-17187 DoNotRetryExceptions from coprocessors should bubble up to the application
2017-02-06 12:00:42 -08:00
tedyu
19e1450b0f
HBASE-17601 close() in TableRecordReaderImpl assumes the split has started (Michael Axiak)
2017-02-06 10:32:20 -08:00
Guanghao Zhang
5093a49e0b
HBASE-17596 Implement add/delete/modify column family methods
2017-02-06 13:45:01 +08:00
Guanghao Zhang
26a94844f5
HBASE-17511 Implement enable/disable table methods
2017-02-05 14:18:40 +08:00
zhangduo
ffa0cea2a3
HBASE-17508 Unify the implementation of small scan and regular scan for sync client
2017-02-05 08:49:39 +08:00
Huaxiang Sun
1159296541
HBASE-16981 Expand Mob Compaction Partition policy from daily to weekly, monthly
...
Support weekly and monthly mob compact partition policies in addition to the existing
daily partition policy.
Signed-off-by: Jingcheng Du <jingchengdu@apache.org>
2017-02-03 15:52:43 +08:00
Zach York
63c819efbe
HBASE-17588 Remove unused imports brought in by HBASE-17437
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-02-02 22:05:50 -08:00
Zach York
537580bc51
HBASE-17587 Do not Rethrow DoNotRetryIOException as UnknownScannerException
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-02-02 17:12:18 -08:00
Ajay Jadhav
f8b1f57b05
HBASE-17280 Add mechanism to control hbase cleaner behavior
...
Signed-off-by: anoopsamjohn <anoopsamjohn@gmail.com>
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-01 22:16:01 -06:00
Sean Busbey
2c799fb70a
Revert "Add mechanism to control hbase cleaner behavior"
...
This reverts commit ef052521cd
.
Bad commit message.
2017-02-01 22:11:48 -06:00
Ajay Jadhav
ef052521cd
Add mechanism to control hbase cleaner behavior
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-01 19:33:06 -08:00
Thiruvel Thirumoolan
c6250ecc83
HBASE-17281 FN should use datanode port from hdfs configuration
...
Signed-off-by: Francis Liu <toffer@apache.org>
2017-02-01 10:43:58 -08:00
Balazs Meszaros
81956aa446
HBASE-17197 hfile does not work in 2.0
...
Files can be specified with -f option or without it.
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-31 22:37:31 -08:00
Balazs Meszaros
ccd5b9f873
HBASE-3462 Fix table.jsp in regards to splitting a region/table with an optional splitkey
...
Now compact/split requires row keys instead of region names (as UI suggests).
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-31 16:34:41 -08:00
tedyu
34ffca1357
HBASE-16621 HBCK should have -fixHFileLinks (Janos Gub)
2017-01-31 14:32:45 -08:00
Geoffrey
5ebaadf1a6
HBASE-17543 - Create additional ReplicationEndpoint WALEntryFilters by configuration
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-01-31 12:58:37 -08:00
Zach York
ae21797305
HBASE-17437 Support specifying a WAL directory outside of the root directory (Yishan Yang and Zach York)
...
Signed-off-by: Enis Soztutar <enis@apache.org>
2017-01-31 11:43:33 -08:00
Thiruvel Thirumoolan
bd7c9581f2
HBASE-17198 Remove redundant FN updates to merged region
...
Signed-off-by: Francis Liu <toffer@apache.org>
2017-01-31 11:17:58 -08:00
Thiruvel Thirumoolan
680289d67d
HBASE-17101: FavoredNodes should not apply to system tables
...
Signed-off-by: Francis Liu <toffer@apache.org>
2017-01-31 10:58:50 -08:00
Sean Busbey
6791828698
HBASE-17522 Handle JVM throwing runtime exceptions when we ask for details on heap usage the same as a correctly returned 'undefined'.
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-31 09:56:45 -06:00
Jingcheng Du
47ce72d78c
HBASE-16812 Clean up the locks in MOB
2017-01-31 12:15:09 +08:00
Balazs Meszaros
e68ab09d5e
HBASE-17566 Jetty upgrade fixes
...
Fix issues caused by HBASE-12894 Upgrade Jetty to 9.2.6 commit.
- removed Jetty 6.x dependencies (org.mortbay.jetty.*)
- corrected @Ignore-d unit tests
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-30 11:56:21 -08:00
Michael Stack
ffe7dac53d
Revert "Revert "HBASE-12894 Upgrade to Jetty 9 for REST / Info Server / Thrift Http Server""
...
This reverts commit 0ac5d4a717
.
This is a revert of a revert; i.e. a reapplication!
Fixes for breakage that comes in with this patch is in a follow-on.
2017-01-30 11:54:54 -08:00
Michael Stack
52ad310c80
HBASE-17471 Region Seqid will be out of order in WAL if using mvccPreAssign (Allan Yang)
2017-01-30 09:19:38 -08:00
Jan Hentschel
aff8de8397
HBASE-17555 Changed calls to deprecated getHBaseAdmin to getAdmin
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-28 21:41:25 -08:00
Yu Li
3693d1306d
HBASE-17526 Procedure v2 - cleanup isSuspended from MasterProcedureScheduler#Queue (addendum)
2017-01-29 00:14:29 +08:00
Michael Stack
c725d4d334
HBASE-17538 HDFS.setStoragePolicy() logs errors on local fs Policy is set in a number of places each with its own 'implementation'.
...
A setStoragePolicy was added by:
commit 629b04f44f
Author: Yu Li <liyu@apache.org>
Date: Fri Jan 6 18:35:38 2017 +0800
HBASE-15172 Support setting storage policy in bulkload
..for hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.java
And in *FileSystem files and StoreFileWriter by
commit f92a14ade6
Author: Yu Li <liyu@apache.org>
Date: Mon Jan 9 09:52:58 2017 +0800
HBASE-14061 Support CF-level Storage Policy
This patch has all instances call the FSUtils#setStoragePolicy added here:
commit eafc07a06d
Author: tedyu <yuzhihong@gmail.com>
Date: Thu Jan 15 08:52:30 2015 -0800
HBASE-12848 Utilize Flash storage for WAL
It does right thing when local vs distributed calling setStoragePolicy.
Fixed bug in the above FSUtils#setStoragePolicy where the check for a
distributed filesystem was failing when passed an HFileSystem -- though
it was backed by a DistributedFileSystem.
Cleanups.
2017-01-27 23:01:42 -08:00
Sukumar Maddineni
bd8a4d5fad
HBASE-17540 Change SASL server GSSAPI callback log line from DEBUG to TRACE in RegionServer
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-01-27 15:14:00 -08:00
tedyu
07c175b10a
HBASE-17515 Reduce memory footprint of RegionLoads kept by StochasticLoadBalancer (Tim Brown)
2017-01-26 11:04:49 -08:00
tedyu
e8979c67aa
HBASE-17515 Reduce memory footprint of RegionLoads kept by StochasticLoadBalancer - revert due to pending discussion
2017-01-26 10:44:54 -08:00
Michael Stack
0ac5d4a717
Revert "HBASE-12894 Upgrade to Jetty 9 for REST / Info Server / Thrift Http Server"
...
This reverts commit 59fd6eb7f6
.
2017-01-25 22:55:18 -08:00
tedyu
a8bb27b2e0
HBASE-17515 Reduce memory footprint of RegionLoads kept by StochasticLoadBalancer (Tim Brown)
2017-01-25 17:59:55 -08:00
Apekshit Sharma
4254d7edf3
HBASE-17526 Queue#setSuspended() is not used anywhere, probably because when queue wait/wakes on an event, it gets removed or added back to the fairq.
...
Removing state, functions, and uses of isSuspended().
Change-Id: Id56eba81eaa66518bb0cba98070f0b78f8941c4f
2017-01-25 12:00:54 -08:00
Enis Soztutar
c64a1d1994
HBASE-9774 HBase native metrics and metric collection for coprocessors
2017-01-25 11:47:35 -08:00
Yang Guang
59fd6eb7f6
HBASE-12894 Upgrade to Jetty 9 for REST / Info Server / Thrift Http Server
2017-01-24 23:37:12 -08:00
Guanghao Zhang
8aea84d723
HBASE-17500 Implement getTable/creatTable/deleteTable/truncateTable methods
2017-01-25 11:30:11 +08:00
zhangduo
85d701892e
HBASE-17045 Unify the implementation of small scan and regular scan
2017-01-25 09:53:06 +08:00
Guanghao Zhang
843ba9e545
HBASE-17443 Move listReplicated/enableTableRep/disableTableRep methods from ReplicationAdmin to Admin
2017-01-24 13:40:29 +08:00
anastas
aa5d9a9ad3
HBASE-17492 Fix the compacting memstore part in hbase shell ruby script
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-23 21:27:44 -08:00
Michael Stack
980c8c2047
HBASE-17067 Procedure v2 - remove zklock/tryLock and use wait/wake (Matteo Bertozzi)
...
This is an amalgam of https://reviews.apache.org/r/54435/ and
9c14863594
Removes notion of suspend/resume from procedure. Instead have the below lock states
and just unschedule if lock is not yet available
LOCK_ACQUIRED should be returned when the proc has the lock and the proc is ready to execute.
LOCK_YIELD_WAIT should be returned when the proc has not the lock and the framework
should take care of readding the procedure back to the runnable set for retry
LOCK_EVENT_WAIT should be returned when the proc has not the lock and someone will take care of
readding the procedure back to the runnable set when the lock is available.
Side benefit is being able to undo a bunch of synchronization around
procedure management.
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-23 09:29:16 -08:00
Yu Li
ba4a926b62
HBASE-17367 Make HTable#getBufferedMutator thread safe
2017-01-23 18:23:24 +08:00
tedyu
7754a9620e
HBASE-17462 Use sliding window for read/write request costs in StochasticLoadBalancer (Tim Brown)
2017-01-22 18:35:38 -08:00
eshcar
f254e278ec
HBASE-17407: Correct update of maxFlushedSeqId in HRegion
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-01-23 09:22:51 +08:00
zhangduo
3abd13dacb
HBASE-17489 ClientScanner may send a next request to a RegionScanner which has been exhausted
2017-01-22 16:39:00 +08:00
Jan Hentschel
55a1aa1e73
HBASE-10699 Set capacity on ArrayList where possible and use isEmpty instead of size() == 0
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-20 22:58:20 -08:00
Dave Navarro
c74cf12925
HBASE-17357 FIX PerformanceEvaluation parameters parsing triggers NPE.
...
check command name is not null, if null print usage and exit
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-20 22:51:57 -08:00
Guanghao Zhang
79018056f5
HBASE-17498 Implement listTables and listTableNames methods
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-20 14:12:13 -08:00
Michael Stack
2285c57a35
HBASE-17488 WALEdit should be lazily instantiated (ChiaPing Tsai)
2017-01-20 09:37:48 -08:00
Guanghao Zhang
2ee3c73f76
HBASE-17497 Add first async MetaTableAccessor impl and Implement tableExists method
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-20 09:24:06 -08:00
Michael Stack
4fdd6ff9ae
HBASE-16831 Procedure V2 - Remove org.apache.hadoop.hbase.zookeeper.lock
...
(Appy)
2017-01-19 16:51:44 -08:00
Apekshit Sharma
558a6bb9d7
HBASE-16867 Procedure V2 - Check ACLs for MasterRpcServices' queueLock() and lockHeartbeat().
...
Change-Id: I03773059c169022318cf7953110bb022b6ad216d
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-19 16:42:57 -08:00
Michael Stack
76dc957f64
HBASE-16786 Procedure V2 - Move ZK-lock's uses to Procedure framework locks (LockProcedure) - Matteo Bertozzi
...
Locks are no longer hosted up in zookeeper but instead by the Master.
2017-01-19 09:34:17 -08:00
Stephen Yuan Jiang
bff7c4f1fd
HBASE-17480 Remove split region code from Region Server (Stephen Yuan Jiang)
2017-01-19 09:05:19 -08:00
Guanghao Zhang
cb9ce2ceaf
HBASE-17396 Add first async admin impl and implement balance methods
2017-01-19 10:15:12 +08:00
tedyu
6cbc375aa4
HBASE-17482 mvcc mechanism fails when using mvccPreAssign (Allan Yang)
2017-01-18 07:50:41 -08:00
Ramkrishna
b779143fdc
HBASE-17081 Flush the entire CompactingMemStore content to disk - recommit
...
(Anastasia)
2017-01-18 14:40:47 +05:30
Stephen Yuan Jiang
805d39fca6
HBASE-17470 Remove merge region code from region server (Stephen Yuan Jiang)
2017-01-17 15:39:51 -08:00
Yu Li
287f95a579
HBASE-17474 Reduce frequency of NoSuchMethodException when calling setStoragePolicy()
2017-01-18 07:30:21 +08:00
tedyu
faa9f735ca
HBASE-17469 Properly handle empty TableName in TablePermission#readFields and #write (Manjunath Anand)
2017-01-17 09:36:59 -08:00
zhangduo
4ab95ebbce
HBASE-17372 Make AsyncTable thread safe
2017-01-17 14:33:28 +08:00
Michael Stack
4cb09a494c
HBASE-16744 Procedure V2 - Lock procedures to allow clients to acquire
...
locks on tables/namespaces/regions (Matteo Bertozzi)
Incorporates review comments from
https://reviews.apache.org/r/52589/
https://reviews.apache.org/r/54388/
M hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncTableBase.java
Fix for eclipse complaint (from Duo Zhang)
M hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/Procedure.java
M hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
M hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/WALProcedureStore.java
Log formatting
M hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
Added wait procedures utility.
A hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/LockServiceProtos.java
A hbase-protocol-shaded/src/main/protobuf/LockService.proto b/hbase-protocol-shaded/src/main/protobuf/LockService.proto
Implement new locking CP overrides.
A hbase-server/src/main/java/org/apache/hadoop/hbase/client/locking/EntityLock.java
New hbase entity lock (ns, table, or regions)
A hbase-server/src/main/java/org/apache/hadoop/hbase/client/locking/LockServiceClient.java
Client that can use the new internal locking service.
2017-01-13 21:07:03 -08:00
Zach York
9fd5dab1a8
HBASE-17464 Fix getNewDataTestDirOnTestFS to always return a unique path
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-13 17:48:22 -08:00
tedyu
cdee1a7034
HBASE-17450 TablePermission#equals throws NPE after namespace support was added (huzheng)
2017-01-13 09:37:08 -08:00
tedyu
6d98c48699
HBASE-17452 Failed taking snapshot - region Manifest proto-message too large (huaxiang sun)
2017-01-13 07:59:31 -08:00
eshcar
2f8ddf6fc5
HBASE-17434: New synchronization scheme for compaction pipeline
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-12 06:35:58 -08:00
Mike Grimes
f7d0f15c99
HBASE-17165 Add retry to LoadIncrementalHFiles tool
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-11 15:20:48 -08:00
tedyu
471cf13b1a
HBASE-17445 Count size of serialized exceptions in checking max result size quota
2017-01-11 07:00:27 -08:00
Yu Li
953416eb34
HBASE-14061 Support CF-level Storage Policy (addendum2)
...
Resolve TestPartitionedMobCompactor UT failure
2017-01-11 18:23:37 +08:00
Yu Li
36eeb2c569
HBASE-14061 Support CF-level Storage Policy (addendum)
...
Addendum to resolve compatible issue with Hadoop 2.8.0+ / 3.0.0-alpha1+, meantime added
a util method in ReflectionUtils for invoking method with reflection
2017-01-11 10:14:55 +08:00
Guanghao Zhang
ac3b1c9aa9
HBASE-17337 list replication peers request should be routed through master
2017-01-10 08:57:26 +08:00
Michael Stack
bd157ffe9a
Revert "HBASE-17434 New Synchronization Scheme for Compaction Pipeline (Eshcar Hillel)"
...
Undo premature commit
This reverts commit 1576269123
.
2017-01-09 15:40:01 -08:00
tedyu
8dd35631ca
HBASE-17429 HBase bulkload cannot support HDFS viewFs (shenxianqiang)
2017-01-09 14:48:51 -08:00
Michael Stack
dd1ae37148
HBASE-12148 Remove TimeRangeTracker as point of contention when many threads writing a Store (Huaxiang Sun)
2017-01-09 13:24:53 -08:00
Michael Stack
1576269123
HBASE-17434 New Synchronization Scheme for Compaction Pipeline (Eshcar Hillel)
2017-01-09 10:46:34 -08:00
tedyu
9cbeba6c3d
HBASE-17435 Call to preCommitStoreFile() hook encounters SaslException in secure deployment
2017-01-09 08:51:00 -08:00
Ramkrishna
f65a439f01
HBASE-17291 Remove ImmutableSegment#getKeyValueScanner (Ram)
2017-01-09 12:06:25 +05:30
Yu Li
f92a14ade6
HBASE-14061 Support CF-level Storage Policy
2017-01-09 09:52:58 +08:00
tedyu
b2a9be02ac
HBASE-17408 Introduce per request limit by number of mutations (ChiaPing Tsai)
2017-01-06 13:07:15 -08:00
Ashish Singhi
5f631b9653
HBASE-17290 Potential loss of data for replication of bulk loaded hfiles
2017-01-06 16:18:20 +05:30
Yu Li
629b04f44f
HBASE-15172 Support setting storage policy in bulkload
2017-01-06 18:35:38 +08:00
Guanghao Zhang
e02ae7724d
HBASE-17388 Move ReplicationPeer and other replication related PB messages to the replication.proto
2017-01-06 10:01:22 +08:00
rahul gidwani
0f6c79eb12
HBASE-16710 Add ZStandard Codec to Compression.java
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-01-05 10:46:55 -08:00
Jan Hentschel
dba103e1b6
HBASE-17390 Added master and backup masters to online update of configuration
...
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-01-04 22:08:05 -08:00
Josh Elser
20a7ae2865
HBASE-17409 Limit jsonp callback name to prevent xss
2017-01-04 17:05:07 -05:00
tedyu
63bd8be576
HBASE-17403 ClientAsyncPrefetchScanner doesn’t load any data if the MaxResultSize is too small (ChiaPing Tsai)
2017-01-04 08:21:25 -08:00
eshcar
69ce5967fd
HBASE-17373: Fixing bug in moving segments from compaction pipeline to snapshot
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-03 19:13:52 -08:00
Guanghao Zhang
0e48665641
HBASE-17336 get/update replication peer config requests should be routed through master
2016-12-30 10:12:47 +08:00
tedyu
1c477b2df9
HBASE-17387 Reduce the overhead of exception report in RegionActionResult for multi()
2016-12-29 17:54:02 -08:00
Jan Hentschel
7572e96e3a
HBASE-17385 Change usage documentation from bin/hbase to hbase in various tools
...
Signed-off-by: Enis Soztutar <enis@apache.org>
2016-12-29 15:20:43 -08:00
tedyu
001a26d404
HBASE-17374 ZKPermissionWatcher crashed when grant after region close (Liu Junhong)
2016-12-28 19:54:01 -08:00
zhangduo
05b1d918b0
HBASE-17320 Add inclusive/exclusive support for startRow and endRow of scan
2016-12-29 09:43:31 +08:00
Michael Stack
a3e0e0df0d
HBASE-17149 Procedure V2 - Fix nonce submission to avoid unnecessary calling coprocessor multiple times; ADDENDUM by Stephen Yuan Jiang
2016-12-28 11:10:19 -08:00
tedyu
79e5efd35c
HBASE-17081 Flush the entire CompactingMemStore content to disk - revert due to failure in TestHRegionWithInMemoryFlush
2016-12-28 10:53:07 -08:00
Michael Stack
306ef83c9c
HBASE-17068 Procedure v2 - inherit region locks (Matteo Bertozzi)
2016-12-27 16:17:45 -08:00
tedyu
e18e9a22da
HBASE-17376 ClientAsyncPrefetchScanner may fail due to too many rows (ChiaPing Tsai)
2016-12-26 15:55:22 -08:00
Ramkrishna
463ffa792a
HBASE-17081 [Recommit]Flush the entire CompactingMemStore content to disk
...
(Anastasia)
2016-12-26 22:05:13 +05:30
zhangduo
8fa5b0b946
HBASE-17345 Implement batch
2016-12-25 20:36:52 +08:00
ChiaPing Tsai
8cb55c4080
HBASE-17174 Refactor the AsyncProcess, BufferedMutatorImpl, and HTable
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2016-12-24 12:02:05 +08:00
Jerry He
992e5717d4
HBASE-16010 Put draining function through Admin API (Matt Warhaftig)
2016-12-23 13:41:36 -08:00
Phil Yang
8fb9a91d44
HBASE-17314 Limit total buffered size for all replication sources
2016-12-23 11:48:06 +08:00
Guanghao Zhang
b3f2bec099
HBASE-17335 enable/disable replication peer requests should be routed through master
2016-12-23 09:27:12 +08:00
zhangduo
09bb428763
HBASE-17334 Add locate row before/after support for AsyncRegionLocator
2016-12-22 20:39:01 +08:00
tedyu
66781864aa
HBASE-17330 SnapshotFileCache will always refresh the file cache (Jianwei Cui)
2016-12-22 02:29:27 -08:00
binlijin
fc93de51af
HBASE-17262 Refactor RpcServer so as to make it extendable and/or pluggable
2016-12-22 14:49:56 +08:00
Michael Stack
d787155fd2
HBASE-5401 PerformanceEvaluation generates 10x the number of expected mappers (Yi Liang)
2016-12-21 11:55:48 -08:00
Michael Stack
a1d2ff4646
Revert "HBASE-17314 Limit total buffered size for all replication sources"
...
This reverts commit 3826e63967
.
2016-12-21 11:17:28 -08:00
tedyu
cac0904c16
HBASE-17341 Add a timeout during replication endpoint termination (Vincent Poon)
2016-12-21 08:26:22 -08:00
Guanghao Zhang
e1f4aaeacd
HBASE-11392 add/remove peer requests should be routed through master
2016-12-21 13:27:13 +08:00
Phil Yang
3826e63967
HBASE-17314 Limit total buffered size for all replication sources
2016-12-21 13:16:17 +08:00
Thiruvel Thirumoolan
3599716dff
HBASE-17107: FN info should be cleaned up on region/table cleanup
...
Signed-off-by: Francis Liu <toffer@apache.org>
2016-12-20 18:52:49 -08:00
Vincent
f8474c8d4d
HBASE-17328 Properly dispose of looped replication peers
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2016-12-20 18:03:11 -08:00
tedyu
5ebb25d601
HBASE-17347 ExportSnapshot may write snapshot info file to wrong directory when specifying target name (Jianwei Cui)
2016-12-20 13:02:51 -08:00
tedyu
e75dee3a21
HBASE-17344 The regionserver web UIs miss the coprocessors of RegionServerCoprocessorHost (ChiaPing Tsai)
2016-12-20 08:52:45 -08:00
zhangduo
a2e967d92f
HBASE-17142 Implement multi get
2016-12-20 20:41:55 +08:00
Ramkrishna
db5953c6fe
HBASE-17333 HBASE-17294 always ensures CompactingMemstore is default (Ram)
2016-12-20 11:01:27 +05:30
binlijin
b7bde350a1
HBASE-17332 Replace HashMap to Array for DataBlockEncoding.idToEncoding
2016-12-20 09:32:28 +08:00
zhangduo
d53f012bb7
Revert "HBASE-17081 Flush the entire CompactingMemStore content to disk (Anastasia"
...
Revert to address tests failure.
This reverts commit a2a7618d26
.
2016-12-16 18:49:48 +08:00
tedyu
665fe3eef1
HBASE-17331 Avoid busy waiting in ThrottledInputStream (ChiaPing Tsai)
2016-12-18 08:15:15 -08:00
zhangduo
f041306cda
HBASE-17282 Reduce the redundant requests to meta table
2016-12-18 08:52:06 +08:00
Michael Stack
da356069f2
HBASE-17149 Procedure v2 - Fix nonce submission
...
Signed-off-by: Michael Stack <stack@apache.org>
2016-12-16 21:41:18 -08:00
tedyu
2c107e4d08
HBASE-15432 TableInputFormat - support multi column family scan (Xuesen Liang)
2016-12-16 18:04:55 -08:00
tedyu
49b0bab504
HBASE-17292 Add observer notification before bulk loaded hfile is moved - addendum properly handles copied hfile
2016-12-16 15:31:30 -08:00
Michael Stack
c3ce02d592
HBASE-17326 Fix findbugs warning in BufferedMutatorParams Fix above and the other hbase-server findbugs complaint about null-check
2016-12-16 13:47:58 -08:00
binlijin
6acbee179f
HBASE-16398 optimize HRegion computeHDFSBlocksDistribution
2016-12-16 11:02:27 +08:00
tedyu
35f0718a41
HBASE-17292 Add observer notification before bulk loaded hfile is moved to region directory
2016-12-15 09:43:22 -08:00
Ramkrishna
d1147eeb7e
HBASE-15787 Change the flush related heuristics to work with offheap size
...
configured (Ram)
2016-12-15 22:49:52 +05:30
Ramkrishna
a2a7618d26
HBASE-17081 Flush the entire CompactingMemStore content to disk (Anastasia
...
Braginsky)
2016-12-15 22:02:05 +05:30
tedyu
401e83cee3
HBASE-17318 Increment does not add new column if the increment amount is zero at first time writing (Guangxu Cheng)
2016-12-15 07:06:37 -08:00
anoopsamjohn
f9750f2122
HBASE-17298 remove unused code in HRegion#doMiniBatchMutation. (huaxiang sun)
2016-12-15 15:54:49 +05:30
tedyu
a5a6036883
HBASE-17309 Fix connection leaks in TestAcidGuarantees (huaxiang sun)
2016-12-14 20:03:44 -08:00
eshcar
691f266fc2
HBASE-17316: Addendum of HBASE-17294
...
Signed-off-by: Michael Stack <stack@apache.org>
2016-12-14 08:17:57 -08:00
eshcar
a9310436d5
HBASE-17294: External configuration for memory compaction
...
Signed-off-by: Michael Stack <stack@apache.org>
2016-12-13 17:16:00 -08:00
tedyu
de98f68408
HBASE-17302 The region flush request disappeared from flushQueue (Guangxu Cheng)
2016-12-13 12:45:09 -08:00
tedyu
2333596279
HBASE-17296 Provide per peer throttling for replication (Guanghao Zhang)
2016-12-13 04:20:20 -08:00
tedyu
adb319f5c2
HBASE-17297 Single Filter in parenthesis cannot be parsed correctly (Xuesen Liang)
2016-12-12 12:07:34 -08:00
Jingcheng Du
1615f45b31
HBASE-17237 Override the correct compact method in HMobStore
2016-12-12 11:54:21 +08:00
tedyu
67420fe21d
HBASE-16336 Removing peers seems to be leaving spare queues (Guanghao Zhang)
2016-12-10 04:33:40 -08:00
Josh Elser
b554e05410
HBASE-17276 Only log stacktraces for exceptions once for updates in a batch
...
For large batches of updates, repeatedly logging WrongRegionExceptions,
FailedSanityCheckExceptions, and/or NoSuchColumnFamilyExceptions can
easily dominate the contents of a RegionServer log. After the first
occurence of logging the full exception, switch to logging only the
message on the exception.
2016-12-09 14:28:00 -08:00
zhangduo
b3ae87bd7d
HBASE-17251 Add a timeout parameter when locating region
2016-12-08 09:55:29 +08:00
Thiruvel Thirumoolan
c1293cc91e
HBASE-16941: FavoredNodes - Split/Merge code paths
...
Signed-off-by: Francis Liu <toffer@apache.org>
2016-12-07 16:38:48 -08:00
Jerry He
75567f828c
HBASE-15437 Response size calculated in RPCServer for warning tooLarge responses does NOT count CellScanner payload
2016-12-07 14:47:10 -08:00
Matteo Bertozzi
1eb24e4e8e
HBASE-17260 Procedure v2 - Add setOwner() overload taking a User instance
2016-12-06 10:32:43 -08:00
anoopsamjohn
f112427425
HBASE-17207 Arrays.asList() with too few arguments. (John Leach)
2016-12-06 14:42:14 +05:30
Clay Baenziger
c7b8b63cd1
HBASE-16700 Allow for coprocessor whitelisting
...
Signed-off-by: Enis Soztutar <enis@apache.org>
2016-12-05 14:46:15 -08:00
tedyu
3190605801
HBASE-17256 Rpc handler monitoring will be removed when the task queue is full (Guangxu Cheng)
2016-12-05 11:32:17 -08:00
Jerry He
39653862a4
HBASE-17221 Abstract out an interface for RpcServer.Call
2016-12-05 10:21:55 -08:00
Ramkrishna
94302a3d26
HBASE-17239 Add UnsafeByteOperations#wrap(ByteInput, int offset, int len)
...
API (Ram)
2016-12-05 15:13:04 +05:30
Jingcheng Du
26c2d93f77
HBASE-16841 Data loss in MOB files after cloning a snapshot and deleting that snapshot
2016-12-05 16:22:10 +08:00
anoopsamjohn
e10baacd3e
HBASE-17245 Replace HTableDescriptor#htd.getColumnFamilies().length with a low-cost implementation. (huaxiang sun)
2016-12-05 13:28:57 +05:30
tedyu
0d6b872d9d
HBASE-17241 Avoid compacting already compacted mob files with _del files (huaxiang sun)
2016-12-04 20:23:06 -08:00
John Leach
42ff4a7164
HBASE-17231 Region#getCellCompartor -> Region#getCellComparator
...
Signed-off-by: Michael Stack <stack@apache.org>
2016-12-03 16:07:42 -08:00
Huaxiang Sun
03423fec6b
HBASE-17243 Reuse CompactionPartitionId and avoid creating MobFileName in PartitionedMobCompactor to avoid unnecessary new objects (addendum)
...
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2016-12-03 07:19:02 -08:00
Huaxiang Sun
efcd15bf67
HBASE-17243 Reuse CompactionPartitionId and avoid creating MobFileName in PartitionedMobCompactor to avoid unnecessary new objects
...
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2016-12-03 03:48:23 -08:00
Michael Stack
7775feda05
HBASE-17194 Assign the new region to the idle server after splitting (ChiaPing Tsai)
2016-12-02 11:34:14 -08:00
Michael Stack
4a20361f1a
HBASE-17184 Revert "Code cleanup of LruBlockCache"
...
Revert "Revert "Code cleanup of LruBlockCache""
This is a revert of a revert; i.e. it is putting the change
back only this time we add the missing JIRA number
This reverts commit f3524a06bb
.
2016-12-02 11:19:07 -08:00
Michael Stack
f3524a06bb
Revert "Code cleanup of LruBlockCache"
...
Missing JIRA number
This reverts commit ad857d1b77
.
2016-12-02 11:18:42 -08:00
binlijin
9c13219f0d
HBASE-17232 Replace HashSet with ArrayList to accumulate delayed scanners in KVHeap and StoreScanner.
2016-12-02 21:10:37 +08:00
anoopsamjohn
4b3ffffa09
HBASE-17161 MOB : Make ref cell creation more efficient.
2016-12-02 17:30:34 +05:30
Ramkrishna
cb5c4c146f
HBASE-17235 Improvement in creation of CIS for onheap buffer cases (Ram)
2016-12-02 14:07:16 +05:30
Ramkrishna
3b72b69d0e
HBASE-17191 Make use of UnsafeByteOperations#unsafeWrap(ByteBuffer buffer)
...
in PBUtil#toCell(Cell cell) (Ram)
2016-12-02 12:48:06 +05:30
Stephen Yuan Jiang
0a24077841
HBASE-16119 Procedure v2 - Reimplement Merge region (Stephen Yuan Jiang)
2016-12-01 22:41:15 -08:00
Apekshit Sharma
37b30d93d8
HBASE-17111 Use Apache CLI in SnapshotInfo tool.
...
Change-Id: Ifd4b0200ba58737c5583dfbcf23f2549c4f233d0
2016-12-01 17:53:01 -08:00
Guanghao Zhang
b3d8d06703
HBASE-17205 Add a metric for the duration of region in transition
2016-12-01 10:13:37 -08:00
Jonathan M Hsieh
eeaea4aea3
HBASE-17224 Fix lots of spelling errors in HBase logging and exception messages (Grant Sohn)
2016-12-01 08:57:16 -08:00
zhangduo
540ede376b
HBASE-16648 [JDK8] Use computeIfAbsent instead of get and putIfAbsent
2016-12-01 21:17:55 +08:00
zhangduo
fb789b340c
HBASE-17206 FSHLog may roll a new writer successfully with unflushed entries
2016-12-01 14:15:03 +08:00
John Leach
37d7b57128
HBASE-17216 Fields that can safetly be made static
2016-11-30 22:03:35 -08:00
Charlie Qiangeng Xu
b2086873a9
HBASE-17110 Improve SimpleLoadBalancer to always take server-level balance into account
...
Signed-off-by: Yu Li <liyu@apache.org>
2016-12-01 12:12:16 +08:00
Enis Soztutar
b6f5d5b85f
HBASE-17151 New API to create HFile.Reader without instantiating block cache (Vladimir Rodionov)
2016-11-30 17:04:31 -08:00
Lars Francke
ad857d1b77
Code cleanup of LruBlockCache
...
Signed-off-by: Michael Stack <stack@apache.org>
2016-11-30 12:57:14 -08:00
Guanghao Zhang
ea912478e2
HBASE-17178 Add region balance throttling
...
Signed-off-by: Phil Yang <yangzhe1991@apache.org>
2016-11-30 18:03:15 +08:00
zhangduo
890fcbd0e6
HBASE-17167 Pass mvcc to client when scan
2016-11-30 10:11:04 +08:00
Ramkrishna
7c43a23c07
HBASE-17012 Handle Offheap cells in CompressedKvEncoder (Ram)
2016-11-29 22:27:45 +05:30
Ashu Pachauri
7bcbac91a2
HBASE-16302 age of last shipped op and age of last applied op should be histograms
...
Signed-off-by: Ashish Singhi <ashishsinghi@apache.org>
2016-11-29 13:51:32 +05:30
Stephen Yuan Jiang
d87df9209a
HBASE-17189 TestMasterObserver#wasModifyTableActionCalled uses wrong variables (Stephen Yuan Jiang)
2016-11-28 23:09:42 -08:00
Stephen Yuan Jiang
b2d3fa1a8a
HBASE-17186 MasterProcedureTestingUtility#testRecoveryAndDoubleExecution displays stale procedure state info (Stephen Yuan Jiang)
2016-11-28 23:00:51 -08:00
Ramkrishna
51d9bac42b
HBASE-17048 Calcuate suitable ByteBuf size when allocating send buffer in
...
FanOutOneBlockAsyncDFSOutput (Ram)
2016-11-29 09:12:47 +05:30
Guanghao Zhang
cc03f7ad53
HBASE-16561 Add metrics about read/write/scan queue length and active read/write/scan handler count
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2016-11-29 09:43:30 +08:00
Michael Stack
3d5e686070
HBASE-17072 CPU usage starts to climb up to 90-100% when using G1GC
...
Removes ThreadLocal. Uses AtomicReference instead (based on patch
posted up in HBASE-10676 "Removing ThreadLocal of PrefetchedHeader in
HFileBlock.FSReaderV2 make higher perforamce of scan")
Signed-off-by: Michael Stack <stack@apache.org>
2016-11-28 09:51:05 -08:00
Jerry He
4771c217cd
HBASE-17116 [PerformanceEvaluation] Add option to configure block size (Yi Liang)
2016-11-27 19:04:32 -08:00
anoopsamjohn
030054bcce
HBASE-17162 Avoid unconditional call to getXXXArray() in write path.
2016-11-26 12:49:01 +05:30
anoopsamjohn
3f7f1c1353
HBASE-17169 Remove Cell variants with ShareableMemory.
2016-11-26 12:20:06 +05:30
zhangduo
01d3473bf0
HBASE-16984 Implement getScanner
2016-11-25 20:32:35 +08:00
anoopsamjohn
86e17858f7
HBASE-15786 Create DBB backed MSLAB pool.
2016-11-24 20:47:41 +05:30
binlijin
a45b3c3533
HBASE-17144 Possible offheap read ByteBuffers leak
2016-11-24 16:12:20 +08:00
tedyu
9f5b8a83b7
HBASE-17158 Avoid deadlock caused by HRegion#doDelta (ChiaPing Tsai)
2016-11-23 07:05:46 -08:00
Michael Stack
511398f43a
HBASE-17166 ITBLL fails on master unable to find hbase-protocol-shaded content
2016-11-22 19:45:20 -08:00
zhangduo
47a4e3437b
HBASE-17132 Cleanup deprecated code for WAL
2016-11-22 18:27:41 +08:00
Jingcheng Du
92b494f117
HBASE-17157 Increase the default mergeable threshold for mob compaction
2016-11-22 17:39:10 +08:00
zhangduo
6ff19f94fe
HBASE-17141 Introduce a more user-friendly implementation of AsyncTable
2016-11-22 14:44:51 +08:00
Jingcheng Du
b297f2dae1
HBASE-17095 The ClientSimpleScanner keeps retrying if the hfile is corrupt or cannot found
2016-11-22 11:18:00 +08:00
tedyu
7ff7b88db5
HBASE-17123 Add postBulkLoadHFile variant that notifies the final paths for the hfiles - addendum calls existing BaseRegionObserver#postBulkLoadHFile()
2016-11-21 06:49:18 -08:00
anoopsamjohn
549c8d835a
HBASE-17139 Remove sweep tool related configs from hbase-default.xml.
2016-11-21 15:54:31 +05:30
tedyu
768b4119da
HBASE-17123 Add postBulkLoadHFile variant that notifies the final paths for the hfiles
2016-11-20 09:26:42 -08:00
tedyu
bb645bcfda
HBASE-17131 Avoid livelock caused by HRegion#processRowsWithLocks (ChiaPing Tsai)
2016-11-20 07:09:02 -08:00
anoopsamjohn
a3a56b6380
HBASE-16989 RowProcess#postBatchMutate doesn’t be executed before the mvcc transaction completion. (ChiaPing Tsai)
2016-11-19 12:32:49 +05:30
Guanghao Zhang
fa7ed58e1b
HBASE-17088 Refactor RWQueueRpcExecutor/BalancedQueueRpcExecutor/RpcExecutor
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2016-11-19 14:17:45 +08:00
Esteban Gutierrez
7c6e839f6a
HBASE-17058 Lower epsilon used for jitter verification from HBASE-15324
2016-11-17 11:11:30 -08:00
Devaraj Das
5753d18c70
HBASE-16956 Refactor FavoredNodePlan to use regionNames as keys (Thiruvel Thirumoolan)
2016-11-17 10:09:48 -08:00
tedyu
4c7eac8977
HBASE-17112 Prevent setting timestamp of delta operations the same as previous value's (Phil Yang)
2016-11-17 09:03:48 -08:00
tedyu
f6fc94ede9
HBASE-17118 StoreScanner leaked in KeyValueHeap (binlijin)
2016-11-17 07:52:52 -08:00
tedyu
b9319496bc
HBASE-17120 TestAssignmentListener#testAssignmentListener fails (ChiaPing Tsai)
2016-11-17 07:48:52 -08:00
zhangduo
ab55bad899
HBASE-17085 AsyncFSWAL may issue unnecessary AsyncDFSOutput.sync
2016-11-17 15:10:19 +08:00
thiruvel
80acc2dca5
HBASE-16169: Make RegionSizeCalculator scalable
...
Signed-off-by: Michael Stack <stack@apache.org>
2016-11-16 23:07:14 -08:00
anoopsamjohn
4d1bff9e78
HBASE-17073 Increase the max number of buffers in ByteBufferPool.
2016-11-15 11:23:03 +05:30
tedyu
c7bdb3017f
HBASE-17092 Both LoadIncrementalHFiles#doBulkLoad() methods should set return value
2016-11-14 17:30:55 -08:00
Andrew Purtell
dcf03b32f4
HBASE-17044 Fix merge failed before creating merged region leaves meta inconsistent
2016-11-14 17:23:27 -08:00
anoopsamjohn
c3685760f0
HBASE-15788 Use Offheap ByteBuffers from BufferPool to read RPC requests.
2016-11-14 23:05:05 +05:30
tedyu
9250bf8091
HBASE-17037 Enhance LoadIncrementalHFiles API to convey loaded files
2016-11-13 07:02:18 -08:00
tedyu
dba7ec1b69
HBASE-17077 Don't copy the replication queue belonging to the peer which has been deleted (Guanghao Zhang)
2016-11-13 06:58:39 -08:00
tedyu
5e91b45b16
HBASE-17062 RegionSplitter throws ClassCastException (Jeongdae Kim)
2016-11-11 07:15:03 -08:00
zhangduo
8a6d6aa239
HBASE-16838 Implement basic scan
2016-11-11 21:01:16 +08:00
anoopsamjohn
fa838b020d
HBASE-17071 Do not initialize MemstoreChunkPool when use mslab option is turned off.
2016-11-11 16:44:34 +05:30
thiruvel
f9c6b66b95
HBASE-16962: Add readPoint to preCompactScannerOpen() and preFlushScannerOpen APIs
...
Signed-off-by: anoopsamjohn <anoopsamjohn@gmail.com>
2016-11-11 11:07:22 +05:30
Apekshit Sharma
62e3b1ece6
HBASE-17063 Cleanup TestHRegion : remove duplicate variables for method name and two unused params in initRegion
...
- Replaces local tablename and method names in individual tests with those initialized in setup() function
- Remove unused params from initHRegion().
Change-Id: Id0fe25890c833f7cc9b91277d5015480a007d788
2016-11-10 17:21:06 -08:00
Guanghao Zhang
12eec5bc5d
HBASE-16938 TableCFsUpdater maybe failed due to no write permission on peerNode
...
Signed-off-by: Enis Soztutar <enis@apache.org>
2016-11-10 14:04:28 -08:00
Yu Sun
fb4c50966e
HBASE-17020 keylen in midkey() dont computed correctly
...
Signed-off-by: Yu Li <liyu@apache.org>
2016-11-10 17:15:34 +08:00
binlijin
7f08cd0e10
HBASE-16570 Compute region locality in parallel at startup (addendum)
...
Addendum mainly for:
1. Avoid interfering with block location cache in RegionLocationFinder
2. Avoid refreshing block lcoations during HMaster startup (or else the startup could be really slow)
Signed-off-by: Yu Li <liyu@apache.org>
2016-11-10 16:53:07 +08:00
zhangduo
e5a288e5c0
HBASE-17053 Remove LogRollerExitedChecker
2016-11-10 10:52:49 +08:00
Michael Stack
8192a6b6ee
Revert "HBASE-16993 BucketCache throw java.io.IOException: Invalid HFile block magic when DATA_BLOCK_ENCODING set to DIFF"
...
Revert of premature push.
This reverts commit de3a51263d
.
2016-11-09 17:08:14 -08:00
Guanghao Zhang
1462cf77ef
HBASE-16985 TestClusterId failed due to wrong hbase rootdir
...
Signed-off-by: Michael Stack <stack@apache.org>
2016-11-09 17:06:58 -08:00
Michael Stack
de3a51263d
HBASE-16993 BucketCache throw java.io.IOException: Invalid HFile block magic when DATA_BLOCK_ENCODING set to DIFF
2016-11-09 17:00:30 -08:00
tedyu
287358ba6c
HBASE-17054 Compactor#preCreateCoprocScanner should be passed user
2016-11-09 06:57:43 -08:00
Charlie Qiangeng Xu
3b63f701e6
HBASE-17039 SimpleLoadBalancer schedules large amount of invalid region moves
...
Signed-off-by: Yu Li <liyu@apache.org>
2016-11-09 17:04:16 +08:00
Enis Soztutar
03bc884ea0
HBASE-17017 Remove the current per-region latency histogram metrics
2016-11-08 18:31:53 -08:00
zhangduo
3b629d632a
HBASE-17021 Use RingBuffer to reduce the contention in AsyncFSWAL
2016-11-09 09:24:12 +08:00
Michael Stack
0998af01df
Revert "Revert "HBASE-16983 TestMultiTableSnapshotInputFormat failing with Unable to create region directory: /tmp/... (Addendum by Guanghao Zhang)""
...
This is a revert of a revert, i.e. puts back the change only I added
HBaseCommonTestingUtility#getRandomDir from branch-1 too since
missing in master branch.
This reverts commit 9afcb4366d
.
2016-11-08 12:55:48 -08:00
Apekshit Sharma
52241c90e4
HBASE-16982 Better integrate Apache CLI in AbstractHBaseTool.
...
- processOldArgs() in AbstractHBaseTool will make it possible to change existing tools to use Apache CLI in a backward compatible manner.
- Changes ExportSnapshot tool as a proof-of-concept
- Update version of Apache CLI from 1.2 to 1.3.1
Change-Id: I4bb2e7da4f2ed0e12e28621ab16459309fa36d03
2016-11-08 12:21:29 -08:00
Michael Stack
9afcb4366d
Revert "HBASE-16983 TestMultiTableSnapshotInputFormat failing with Unable to create region directory: /tmp/... (Addendum by Guanghao Zhang)"
...
This reverts commit f9c23f5e9d
.
2016-11-08 12:15:36 -08:00
Michael Stack
f9c23f5e9d
HBASE-16983 TestMultiTableSnapshotInputFormat failing with Unable to create region directory: /tmp/... (Addendum by Guanghao Zhang)
2016-11-08 12:00:51 -08:00
Matteo Bertozzi
b143f6e4a3
HBASE-17030 Procedure v2 - A couple of tweaks to the SplitTableRegionProcedure
2016-11-08 10:30:33 -08:00
tedyu
76814e8451
HBASE-17010 Serial replication should handle daughter regions being assigned to another RS (Phil Yang)
2016-11-08 06:25:50 -08:00
Stephen Yuan Jiang
0512b4d015
HBASE-17042 Remove 'public' keyword from MasterObserver interface (Stephen Yuan Jiang)
2016-11-07 17:50:58 -08:00
Enis Soztutar
59d7b47e60
HBASE-17033 LogRoller makes a lot of allocations unnecessarily
2016-11-07 14:18:00 -08:00
anoopsamjohn
2182ca34ac
HBASE-16992 The usage of mutation from CP is weird. (ChiaPing Tsai)
2016-11-07 23:24:34 +05:30
Michael Stack
e60a7f6e7d
HBASE-15513 hbase.hregion.memstore.chunkpool.maxsize is 0.0 by default (Addendum by Anoop Sam John)
2016-11-07 09:33:01 -08:00
Michael Stack
97ce30d47e
Revert "Revert "HBASE-15513 hbase.hregion.memstore.chunkpool.maxsize is 0.0 by default (Vladimir Rodionov)""
...
This is a revert of a revert.
This reverts commit fd6b0b3dbf
.
2016-11-07 09:31:44 -08:00
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
tedyu
ec0adbd2c0
HBASE-16739) imed out exception message should include encoded region name
2016-10-02 21:09:09 -07:00
Enis Soztutar
b8ad9b17bb
HBASE-16721 Concurrency issue in WAL unflushed seqId tracking - ADDENDUM to change WAL to extend Closeable
2016-10-01 14:50:49 -07:00
Enis Soztutar
c3c82f3558
HBASE-16678 MapReduce jobs do not update counters from ScanMetrics
2016-09-29 15:34:03 -07:00
Enis Soztutar
bf3c928b74
HBASE-16721 Concurrency issue in WAL unflushed seqId tracking
2016-09-29 12:56:22 -07:00
Sean Busbey
76396714e1
HBASE-15984 Handle premature EOF treatment of WALs in replication.
...
In some particular deployments, the Replication code believes it has
reached EOF for a WAL prior to succesfully parsing all bytes known to
exist in a cleanly closed file.
Consistently this failure happens due to an InvalidProtobufException
after some number of seeks during our attempts to tail the in-progress
RegionServer WAL. As a work-around, this patch treats cleanly closed
files differently than other execution paths. If an EOF is detected due
to parsing or other errors while there are still unparsed bytes before
the end-of-file trailer, we now reset the WAL to the very beginning and
attempt a clean read-through.
In current testing, a single such reset is sufficient to work around
observed dataloss. However, the above change will retry a given WAL file
indefinitely. On each such attempt, a log message like the below will
be emitted at the WARN level:
Processing end of WAL file '{}'. At position {}, which is too far away
from reported file length {}. Restarting WAL reading (see HBASE-15983
for details).
Additionally, this patch adds some additional log detail at the TRACE
level about file offsets seen while handling recoverable errors. It also
add metrics that measure the use of this recovery mechanism.
2016-09-29 10:07:14 -05:00
tedyu
63808a224c
HBASE-16725 Don't let flushThread hang in TestHRegion
2016-09-29 06:56:19 -07:00
tedyu
f3270d44c3
HBASE-16723 RMI registry is not destroyed after stopping JMX Connector Server (Pankaj Kumar)
2016-09-29 01:57:54 -07:00
Jonathan M Hsieh
09a31bd1e9
HBASE-16711 Fix hadoop-3.0 profile compile
...
Eliminates use of removed or deprecated hadoop2 api
- MBeanUtil -> MBeans Hadoop2 has both; Hadoop 3 removes MBeanUtil and uses MBeans
- FSDataOutputStream(OutputStream) -> FSDataOutputStream(OutputStream, FileSystem.Statistics)
- MetricsServlet is removed. See HADOOP-12504
2016-09-28 13:11:37 -07:00
Ramkrishna
47e12fb3a0
HBASE-16696 After HBASE-16604 - does not release blocks in case of scanner
...
exception (Ram)
2016-09-28 15:39:08 +05:30
Abhishek Singh Chouhan
d127d64266
HBASE-16660 ArrayIndexOutOfBounds during the majorCompactionCheck in DateTieredCompaction
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2016-09-27 10:58:51 -07:00
anoopsamjohn
b644e0fb8d
HBASE-16134 Introduce Cell extension for server side.
2016-09-27 22:55:45 +05:30
anoopsamjohn
b0fcca6d7b
HBASE-16691 Optimize KeyOnlyFilter by utilizing KeyOnlyCell.(binlijin)
2016-09-27 22:48:04 +05:30
Ramkrishna
f196a8c331
HBASE-16643 - Reverse scanner heap creation may not allow MSLAB closure
...
due to improper ref counting of segments (Ram)
2016-09-27 14:24:19 +05:30
Stephen Yuan Jiang
db394f57de
HBASE-16714 Procedure V2 - use base class to remove duplicate set up test code in table DDL procedures (Stephen Yuan Jiang)
2016-09-26 20:41:43 -07:00
tedyu
219c786457
HBASE-16672 Add option for bulk load to copy hfile(s) instead of renaming
2016-09-26 18:56:38 -07:00
Andrew Purtell
b9ec59ebbe
HBASE-16694 Reduce garbage for onDiskChecksum in HFileBlock (binlijin)
2016-09-26 13:55:35 -07:00
Matteo Bertozzi
f06c0060aa
HBASE-16649 Truncate table with splits preserved can cause both data loss and truncated data appeared again
2016-09-26 12:58:04 -07:00
anoopsamjohn
43f47a8e73
HBASE-16704 Scan will be broken while working with DBE and KeyValueCodecWithTags.
2016-09-26 22:32:24 +05:30
Matteo Bertozzi
8da0500e7d
HBASE-16695 Procedure v2 - Support for parent holding locks
2016-09-26 08:42:48 -07:00
Matteo Bertozzi
e01e05cc0e
HBASE-16587 Procedure v2 - Cleanup suspended proc execution
2016-09-26 08:08:44 -07:00
tedyu
b7e0e15787
HBASE-16645 Wrong range of Cells is caused by CellFlatMap#tailMap, headMap, and SubMap (ChiaPing Tsai)
2016-09-25 06:42:32 -07:00