Nicolas Spiegelberg
07962e24a5
[HBASE-5867] Improve Compaction Throttle Default
...
Summary:
We recently had a production issue where our compactions fell
behind because our compaction throttle was improperly tuned and
accidentally upgraded all compactions to the large pool. The default
from HBASE-3877 makes 1 bad assumption: the default number of flushed
files in a compaction. MinFilesToCompact should be taken into
consideration. As a default, it is less damaging for the large thread
to be slightly higher than it needs to be and only get timed-majors
versus having everything accidentally promoted.
Test Plan: - mvn test
Reviewers: JIRA, Kannan, Liyin
Reviewed By: Kannan
CC: stack
Differential Revision: https://reviews.facebook.net/D2943
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1338809 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 17:54:06 +00:00
ramkrishna
e8560bf973
HBASE-5806 Handle split region related failures on master restart and RS restart (Chinna Rao)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1338325 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 18:14:37 +00:00
ramkrishna
31776afa74
HBASE-5957 Mismatch with config param name in xml and code (Anoop)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1338307 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 17:39:29 +00:00
Michael Stack
33d395ef96
HBASE-5990 TestHCM failed with Hadoop 2.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337695 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:34:12 +00:00
Zhihong Yu
17a5076606
HBASE-5992 Generalization of region move implementation + manage draining servers in bulk assign (N Keywal)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337641 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 20:47:25 +00:00
Zhihong Yu
1bbed5ab7b
HBASE-5385 Delete table/column should delete stored permissions on -acl- table (Matteo Bertozi)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337512 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 11:09:59 +00:00
Zhihong Yu
75bf5b04c4
HBASE-5342 Grant/Revoke global permissions (Matteo Bertozzi)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337499 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 10:25:22 +00:00
Zhihong Yu
273852209a
HBASE-5732 Remove empty file: hadoop/hbase/ipc/ConnectionHeader.java which caused rat check to fail
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337440 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 04:17:06 +00:00
Michael Stack
83ab15e2ed
HBASE-5922 HalfStoreFileReader seekBefore causes StackOverflowError
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337409 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 23:24:40 +00:00
Michael Stack
ec57be0ada
HBASE-5732 Remove the SecureRPCEngine and merge the security-related logic in the core engine
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337396 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 22:06:57 +00:00
Zhihong Yu
4bb18e6a92
HBASE-5975 Failed suppression of fs shutdown hook with Hadoop 2.0.0 (Jimmy Xiang)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1336875 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 20:15:16 +00:00
Todd Lipcon
f179f571a3
HBASE-5973. Add ability for potentially long-running IPC calls to abort if client disconnects. Contributed by Todd Lipcon.
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1336787 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 16:47:48 +00:00
Andrew Kyle Purtell
2c89cef21a
HBASE-5964. HFileSystem: "No FileSystem for scheme: hdfs"
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1336343 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 18:47:27 +00:00
Zhihong Yu
31e2b2dee5
HBASE-5963 ClassCastException: FileSystem$Cache$ClientFinalizer cannot be cast to Thread
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1336334 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 18:33:41 +00:00
Zhihong Yu
26d737fbc5
HBASE-5914 Bulk assign regions in the process of ServerShutdownHandler (Chunhui)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1336308 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 17:29:20 +00:00
Michael Stack
d6c82520df
HBASE-5944 Convert rs, shutdown, and table dir content to pb
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1336302 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 17:08:33 +00:00
Zhihong Yu
5edfc1996d
HBASE-5877 When a query fails because the region has moved, let the regionserver return the new address to the client (N Keywal)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1336301 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 17:07:49 +00:00
Michael Stack
fc6a9cf796
HBASE-5925 Issue with only using the old config param hbase.hstore.compactionThreshold but not the corresponding new one
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1335738 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 20:12:04 +00:00
ramkrishna
4774650cc1
HBASE-5584 Coprocessor hooks can be called in the respective handlers (Ram)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1334560 13f79535-47bb-0310-9956-ffa450edef68
2012-05-06 05:52:47 +00:00
Zhihong Yu
9c8d4067ce
HBASE-5894 Table deletion failed but HBaseAdmin#deletetable reports it as success (Xufeng)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1334464 13f79535-47bb-0310-9956-ffa450edef68
2012-05-05 18:20:54 +00:00
Michael Stack
007d6da28c
HBASE-5889 Remove HRegionInterface
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1334314 13f79535-47bb-0310-9956-ffa450edef68
2012-05-05 04:22:52 +00:00
Michael Stack
49731c73dc
HBASE-5844 Delete the region servers znode after a regions server crash
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1334028 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 15:19:47 +00:00
Jonathan Hsieh
41da06b7a6
HBASE-5928 Hbck shouldn't npe when there are no tables (Elliott Clark)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333691 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 00:11:25 +00:00
Michael Stack
d45f53a307
HBASE-5886 Add new metric for possible data loss due to puts without WAL
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333676 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 23:01:10 +00:00
Michael Stack
05433f891b
HBASE-5931 HBase security profile doesn't compile
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333600 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 20:02:58 +00:00
Zhihong Yu
f84bf9cbe7
HBASE-5883 Backup master is going down due to connection refused exception (Jieshan)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333530 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 16:26:44 +00:00
Michael Stack
f7c1418d4b
HBASE-5444 Add PB-based calls to HMasterRegionInterface
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333319 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 06:20:26 +00:00
Zhihong Yu
7692e2efb7
HBASE-5919 Add fixes for Ted's review comments from HBASE-5869
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333304 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 04:14:26 +00:00
Zhihong Yu
3e75a6025d
HBASE-5913 Speed up the full scan of META (Chunhui)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333283 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 01:26:24 +00:00
Zhihong Yu
d032ea818b
HBASE-5625 Avoid byte buffer allocations when reading a value from a Result object (Tudor Scurtu)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333159 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 19:19:01 +00:00
ramkrishna
00cfc8f7f7
HBASE-5840 Open Region FAILED_OPEN doesn't clear the TaskMonitor Status, keeps showing the old status (RajeshBabu)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333124 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 17:40:43 +00:00
Michael Stack
90864888ed
HBASE-5548 Add ability to get a table in the shell; BACKING OUT MISTAKEN CO-COMMIT OF HBASE-5840
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333123 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 17:26:13 +00:00
Zhihong Yu
cd8cf25386
HBASE-2214 Do HBASE-1996 -- setting size to return in scan rather than count of rows -- properly (Ferdy Galema)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333122 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 17:24:24 +00:00
Michael Stack
062660e3f4
HBASE-5869 Move SplitLogManager splitlog taskstate and AssignmentManager RegionTransitionData znode datas to pb
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333099 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 16:26:36 +00:00
Todd Lipcon
d369701569
HBASE-5901. Use union type protobufs instead of class/byte pairs for multi requests.
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1332882 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 23:15:02 +00:00
Michael Stack
2f3d22f5b7
HBASE-5785 Adding unit tests for protbuf utils introduced for HRegionInterface pb conversion
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1332824 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 21:02:21 +00:00
larsh
69ffbf247f
HBASE-5897 prePut coprocessor hook causing substantial CPU usage
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1332811 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 20:48:37 +00:00
Michael Stack
8152b444ef
HBASE-5548 Add ability to get a table in the shell; ADDENDUM
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1332766 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 18:04:07 +00:00
Michael Stack
b6fbe9ff87
HBASE-5884 MapReduce package info has broken link to bulk-loads
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1332440 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 22:07:30 +00:00
Michael Stack
aee5d1d286
HBASE-5548 Add ability to get a table in the shell
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1332419 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 21:48:54 +00:00
Jonathan Hsieh
87899ccda8
HBASE-5712 Parallelize load of .regioninfo files in diagnostic/repair portion of hbck
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1332072 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 06:33:59 +00:00
Zhihong Yu
b695b64dfa
HBASE-5611 Replayed edits from regions that failed to open during recovery aren't removed from the global MemStore size (Jieshan)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1331681 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 04:15:15 +00:00
Michael Stack
6f6b264efc
HBASE-5885 Invalid HFile block magic on Local file System
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1331675 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 03:59:36 +00:00
Michael Stack
4e080b0dcb
HBASE-5893 Allow spaces in coprocessor conf (aka trim() className)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1331638 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 23:54:21 +00:00
larsh
4ecfcbde5d
HBASE-5864 Error while reading from hfile in 0.94 (Ram)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1331058 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 20:08:23 +00:00
Michael Stack
f854df4223
HBASE-5862 After Region Close remove the Operation Metrics
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330997 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 17:59:58 +00:00
Michael Stack
6d848a1943
HBASE-5829 Inconsistency between the "regions" map and the "servers" map in AssignmentManager
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330993 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 17:51:17 +00:00
Michael Stack
d7110681df
HBASE-5844 Delete the region servers znode after a regions server crash; REVERT
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330983 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 17:30:13 +00:00
Michael Stack
5f01fcd4fe
HBASE-5672 TestLruBlockCache#testBackgroundEvictionThread fails occasionally
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330971 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 17:03:51 +00:00
Jonathan Hsieh
c8b61833f7
HBASE-5652 [findbugs] Fix lock release on all paths (Gregory Channan)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330628 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 01:58:58 +00:00