Commit Graph

1940 Commits

Author SHA1 Message Date
Andrew Kyle Purtell 60d28c645d HBASE-6011. Addendum to support master mocking (Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340155 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 16:23:40 +00:00
Jonathan Hsieh fe4e7afdd0 HBASE-6013 Polish sharp edges from CopyTable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339929 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 00:01:18 +00:00
Andrew Kyle Purtell c3fc3f6341 HBASE-6023. Normalize security audit logging level with Hadoop
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339914 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 22:59:43 +00:00
Zhihong Yu eef90a4604 HBASE-5927 SSH and DisableTableHandler happening together does not clear the znode of the region and RIT map (Rajesh)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339913 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 22:57:44 +00:00
Andrew Kyle Purtell a7083731c8 HBASE-6011. Unable to start master in local mode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339902 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 22:35:16 +00:00
Jonathan Hsieh f460eaadb8 HBASE-6018 hbck fails with a RejectedExecutionException when >50 regions present
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339876 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 21:53:12 +00:00
Andrew Kyle Purtell da7ff6c6c4 HBASE-6004. Adding more logging to help debugging MR job (Jimmy Xiang)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339806 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 19:15:28 +00:00
Michael Stack 289205c517 HBASE-6005 Broken Links on Homepages
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339805 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 19:12:22 +00:00
Zhihong Yu cdbaa02276 HBASE-6029 HBCK doesn't recover Balance switch if exception occurs in onlineHbck() (Maryann)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339689 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 16:27:46 +00:00
Zhihong Yu aa5ce08ff1 HBASE-5826 Revert, Todd has review comments pending.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339673 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 15:58:09 +00:00
Zhihong Yu 022ef75950 HBASE-5826 Improve sync of HLog edits (Todd)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339671 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 15:55:59 +00:00
Michael Stack c18eebd8a6 HBASE-5935 Add Region-level PB-based calls to HMasterInterface
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339488 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 05:06:15 +00:00
Zhihong Yu 7693a7c9f2 HBASE-5998 Bulk assignment: regionserver optimization by using a temporary cache for table descriptors when receveing an open regions request (N Keywal)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1338916 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 21:56:48 +00:00
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
larsh 0be3011b5f HBASE-5873 TimeOut Monitor thread should be started after atleast one region server registers.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330551 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 20:43:35 +00:00
larsh bbd5306d27 HBASE-5848 Addendum, try 2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330349 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 15:35:47 +00:00
larsh 33e6443704 HBASE-5871 Usability regression, we don't parse compression algos anymore
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330123 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 06:01:31 +00:00
Michael Stack ae24697feb HBASE-5849 On first cluster startup, RS aborts if root znode is not available; REAPPLY
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330116 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 05:46:18 +00:00
Michael Stack 4556bf67ce HBASE-5866 Canary in tool package but says its in tools
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329898 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 18:01:26 +00:00
ramkrishna 3644d4c8d6 HBASE-5848 Create table with EMPTY_START_ROW passed as splitKey causes the HMaster to abort (Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329819 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 16:14:22 +00:00
Michael Stack 1d6b501c9b HBASE-4393 Implement a canary monitoring program
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329574 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 07:20:16 +00:00
Michael Stack e031dc8d34 HBASE-5849 On first cluster startup, RS aborts if root znode is not available; REVERT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329560 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 05:55:55 +00:00
larsh 9989f83699 Refuse operations from Admin before master is initialized - fix for all branches
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329555 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 05:12:45 +00:00
Michael Stack afcdced021 HBASE-5849 On first cluster startup, RS aborts if root znode is not available
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329527 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 01:51:14 +00:00
Michael Stack 17cf114310 HBASE-5857 RIT map in RS not getting cleared while region opening
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329470 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 21:54:14 +00:00
Michael Stack abae95c2aa HBASE-5830 Cleanup SequenceFileLogWriter to use syncFs api from SequenceFile#Writer directly in trunk.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329443 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 21:05:09 +00:00
Michael Stack fd4ce7149f HBASE-5844 Delete the region servers znode after a regions server crash
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329430 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 20:29:45 +00:00
Michael Stack fabaf478ed HBASE-5833 0.92 build has been failing pretty consistently on TestMasterFailover
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329400 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 19:40:13 +00:00
Michael Stack f8c7f1b0fb HBASE-5443 Convert admin protocol of HRegionInterface to PB
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329358 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 18:12:16 +00:00
ramkrishna e2cd675020 HBASE-5635 If getTaskList() returns null, splitlogWorker would go down and it won't serve any requests (Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329322 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 16:47:04 +00:00
Jonathan Hsieh b854d1efb1 HBASE-5654 [findbugs] Address dodgy bugs (Ashutosh Jindal)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329132 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 08:46:42 +00:00
ramkrishna 14f80913e5 HBASE-5809 Avoid move api to take the destination server same as the source server. (Rajesh)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1328458 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 17:36:02 +00:00
Zhihong Yu e05c21c0cb HBASE-5824 revert changes to single Put case, preserving deprecation for ICV
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1328457 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 17:36:02 +00:00
Zhihong Yu 85842f019e HBASE-5824 addendum fixes coprocessor tests (Jimmy)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1328166 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 01:07:29 +00:00
Michael Stack 0b30494edb HBASE-5824 HRegion.incrementColumnValue is not used in trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1328142 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 22:49:30 +00:00
Michael Stack f9fb38e31c HBASE-3614 Expose per-region request rate metrics
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1328140 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 22:45:30 +00:00
ramkrishna 13b35ce82c HBASE-5737 Minor Improvements related to balancer. (Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1328057 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 18:05:31 +00:00
Zhihong Yu 4e0f6a27ab HBASE-5821 Incorrect handling of null value in Coprocessor aggregation function min() (Maryann Xue)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1328030 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 16:19:56 +00:00
Michael Stack d91ea129e8 HBASE-5819 SplitLogs function could leak resources
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1327697 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 21:59:24 +00:00
Michael Stack 7972efeea8 HBASE-5811 TestLoadAndSwitchEncodeOnDisk fails sometimes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1327696 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 21:57:23 +00:00
larsh 5eb1259399 HBASE-5545 region can't be opened for a long time. Because the creating File failed. (Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1327677 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 20:54:59 +00:00
larsh e8ec0b9f8c HBASE-5782 Edits can be appended out of seqid order since HBASE-4487
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1327673 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 20:38:21 +00:00
Michael Stack 89a985f28c HBASE-3585 isLegalFamilyName() can throw ArrayOutOfBoundException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1327666 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 20:25:50 +00:00
Michael Stack b196f98194 HBASE-5823 Hbck should be able to print help
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1327638 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 19:31:28 +00:00
Michael Stack 5446911066 HBASE-5810 HBASE-5620 Convert the client protocol of HRegionInterface to PB addendum
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1327629 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 18:53:30 +00:00
Zhihong Yu 8d84537c19 HBASE-5733 AssignmentManager#processDeadServersAndRegionsInTransition can fail with NPE (Uma Maheswara Rao G)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1327364 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 03:15:24 +00:00
Zhihong Yu 34d88b8e23 HBASE-5741 ImportTsv does not check for table existence (Himanshu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1327338 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 00:32:28 +00:00
Michael Stack b10f06129b HBASE-5788 Move Dynamic Metrics storage off of HRegion
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1327316 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 23:01:30 +00:00
Zhihong Yu 6858d30b13 HBASE-5780 Fix race in HBase regionserver startup vs ZK SASL authentication (Shaneal)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1326814 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 21:55:57 +00:00
Zhihong Yu 705278ae46 HBASE-5795 HServerLoad$RegionLoad breaks 0.92<->0.94 compatibility
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1326794 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 20:44:02 +00:00
Michael Stack fcfb13e312 HBASE-5792 HLog Performance Evaluation Tool
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1326792 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 20:43:23 +00:00
Jonathan Hsieh 44a05d4380 HBASE-5781 Zookeeper session got closed while trying to assign the region to RS using hbck -fix
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1326280 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 08:59:11 +00:00
mbautin a2c1c0cd3e [jira] [HBASE-5684] Make ProcessBasedLocalHBaseCluster run HDFS and make it more
robust

Summary:
Currently ProcessBasedLocalHBaseCluster runs on top of raw local filesystem. We
need it to start a process-based HDFS cluster as well. We also need to make the
whole thing more stable so we can use it in unit tests.

Also all logs of local HBase cluster daemons are now tailed to the primary log
of the unit test with the appropriate prefixes to make debugging easier.

This is a trunk diff. The 89-fb version is D2709.

Test Plan:
Run the new unit test multiple times (10x or 50x).
Run all unit tests.

Reviewers: tedyu, stack, lhofhansl, nspiegelberg, amirshim, JIRA

Reviewed By: tedyu

Differential Revision: https://reviews.facebook.net/D2757

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1326036 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 01:25:27 +00:00
Michael Stack b987a52e36 HBASE-5747 Forward port "hbase-5708 [89-fb] Make MiniMapRedCluster directory a subdirectory of target/test"
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1326000 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 22:45:25 +00:00
Michael Stack 4d04f85308 HBASE-5443 Convert the client protocol of HRegionInterface to PB
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325937 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 20:28:21 +00:00
Michael Stack 401c4ec014 HBASE-5778 Turn on WAL compression by default
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325801 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 15:24:05 +00:00
Jonathan Hsieh 3976ec641e HBASE-5488 OfflineMetaRepair doesn't support hadoop 0.20's fs.default.name property (gaojinchao)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325625 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 06:44:36 +00:00
Jean-Daniel Cryans 1478088b10 HBASE-5778 Turn on WAL compression by default
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325566 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 23:00:01 +00:00
larsh 0717d13416 HBASE-5604 M/R tool to replay WAL files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325555 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 22:25:46 +00:00
larsh fc9faf8585 HBASE-5775 ZKUtil doesn't handle deleteRecurisively cleanly (Jesse Yates)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325540 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 21:53:54 +00:00
larsh 9a0673f8c6 HBASE-3443 ICV optimization to look in memstore first and then store files (HBASE-3082) does not work when deletes are in the mix
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325406 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 17:46:39 +00:00
Jonathan Hsieh 36324e341d HBASE-5719 Enhance hbck to sideline overlapped mega regions (Jimmy Xiang)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325404 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 17:44:52 +00:00
Michael Stack 38eb4579e4 HBASE-5770 Add a clock skew warning threshold
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325389 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 17:20:25 +00:00
Michael Stack 05e3db77c5 HBASE-5773 HtablePool constructor not reading config files in certain cases
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325380 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 16:58:20 +00:00
larsh 51ec5b2b23 HBASE-5717 Scanner metrics are only reported if you get to the end of a scanner (Ian Varley)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1325344 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 16:10:25 +00:00
Jonathan Hsieh 8575edd908 HBASE-5645 [findbugs] Fix correctness warnings (David S Wang and Uma Maheswara Rao G)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1324969 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 20:04:12 +00:00
Jonathan Hsieh a2ff41653a HBASE-5599 [hbck] handle NO_VERSION_FILE and SHOULD_NOT_BE_DEPLOYED inconsistencies (fulin wang)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1324881 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:20:19 +00:00
Jonathan Hsieh b7844d9dd0 HBASE-5653 [findbugs] Fix perf warnings (Uma Maheswara Rao G)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1324547 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 04:36:26 +00:00
Michael Stack a31cb26e5a HBASE-5739 Upgrade guava to 11.0.2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311942 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:23:38 +00:00
Michael Stack 814616687a HBASE-5755 Region sever looking for master forever with cached stale data
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311910 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:29:31 +00:00
Michael Stack 7d1f7b7f37 HBASE-5759 HBaseClient throws NullPointerException when EOFException should be used.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311899 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:15:25 +00:00
Michael Stack f4ea4f4f07 HBASE-5758 Forward port "HBASE-4109 Hostname returned via reverse dns lookup contains trailing period if configured interface is not default
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311821 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 16:14:18 +00:00
Michael Stack c15161771a HBASE-5749 "HBASE-5335 Dynamic Schema Config" broke build, missing change to HRegion heapsize
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311562 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 03:06:36 +00:00
Michael Stack 761916cebb HBASE-5740 Compaction interruption may be due to balacing
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311514 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 22:58:19 +00:00
Michael Stack 1283155ddc HBASE-5748 Enable lib directory in jar file for coprocessor
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311498 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 22:27:55 +00:00
Michael Stack 66772ce043 HBASE-5727 secure hbase build broke because of 'HBASE-5451 Switch RPC call envelope/headers to PBs'
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311287 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 15:44:04 +00:00
Nicolas Spiegelberg 167f012d64 [jira] [HBASE-5335] Dynamic Schema Config
Summary: Ability to add config options on a per-table & per-cf basis

Test Plan: - mvn test

Reviewers: JIRA, Kannan, stack, mbautin, Liyin

Reviewed By: mbautin

CC: tedyu

Differential Revision: https://reviews.facebook.net/D2247

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311269 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 14:54:52 +00:00
mbautin 00316a4a51 [jira] [HBASE-5744] Thrift server metrics should be long instead of int
Summary:
As we measure our Thrift call latencies in nanoseconds, we need to make
latencies long instead of int everywhere. There is a bug where we truncate a
nanosecond latency to int, which is a problem with RPCs that take more than
2.147483647 seconds to process.

This is a trunk diff. The 89-fb version of this diff is at D2679.

Test Plan:
TestThriftServer is updated to test for the failure case (an RPC is artificially
made to take 3 seconds). The new test case fails without the fix.

Re-run all unit tests.

Reviewers: stack, sc, Kannan, JIRA

Reviewed By: sc

Differential Revision: https://reviews.facebook.net/D2685



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311167 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 09:00:11 +00:00
larsh 720a974794 HBASE-5656 LoadIncrementalHFiles createTable should detect and set compression algorithm(Cosmin Lehene)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311106 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 21:34:19 +00:00
Michael Stack 2f06c667d3 HBASE-5618 SplitLogManager - prevent unnecessary attempts to resubmits
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310923 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:32:28 +00:00
Zhihong Yu 7a0c1daf63 HBASE-5689 Skipping RecoveredEdits may cause data loss (Chunhui)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310788 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 15:30:59 +00:00
Zhihong Yu 915f2cd40d HBASE-5736 ThriftServerRunner.HbaseHandler.mutateRow() does not use ByteBuffer correctly (Scott Chen)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310634 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 23:37:01 +00:00
Jonathan Hsieh 6d43887b88 HBASE-5734 Change hbck sideline root (Jimmy Xiang)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310625 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 22:41:10 +00:00
Michael Stack af91c18d63 HBASE-5707 Move clusterid and clusterup (shutdown) znodes over to pb
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310568 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 20:15:10 +00:00
Michael Stack 4cc08fa5d6 HBASE-5709 Move active master and backup master znodes to use pbs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310553 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 19:05:42 +00:00
Jonathan Hsieh 4317892dce HBASE-5680 Improve compatibility warning about HBase with Hadoop 0.23.x
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310429 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 16:03:42 +00:00
Zhihong Yu ccc24e39f9 HBASE-5615 revert due to race condition in case master dies
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310324 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 13:43:03 +00:00
Jonathan Hsieh 9b57215185 HBASE-4348 Add metrics for regions in transition (Himanshu Vashishtha)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310159 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 03:46:04 +00:00
Jonathan Hsieh be245101ac HBASE-5644 [findbugs] Fix null pointer warnings (Uma Maheswara Rao G)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310125 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 23:05:07 +00:00
Michael Stack fa97600ea9 HBASE-5722 NPE in ZKUtil#getChildDataAndWatchForNewChildren when ZK not available or NW down.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310104 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 22:09:41 +00:00
Michael Stack 8fd194d696 HBASE-5711 Tests are failing with incorrect data directory permissions -- OVER-REVERTED; UNDOING LAST COMMIT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310097 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 22:04:26 +00:00
Michael Stack 050e8df896 HBASE-5711 Tests are failing with incorrect data directory permissions -- REVERT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310095 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 22:02:38 +00:00
Michael Stack 7ab743986f HBASE-5724 Row cache of KeyValue should be cleared in readFields().
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310065 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 20:47:38 +00:00
Michael Stack de4f4aa9e4 HBASE-5715 Revert 'Instant schema alter' for now, HBASE-4213
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310012 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 18:57:09 +00:00
Nicolas Spiegelberg 72dfa4207d HBASE-5359 Alter in the shell can be too quick and return before the table is altered
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1309611 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 21:53:12 +00:00
Michael Stack 753afe9de3 HBASE-5706 'Dropping fs latency stats since buffer is full' spam
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1309457 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 15:36:28 +00:00
Zhihong Yu 5e07b71ed6 HBASE-5606 SplitLogManger async delete node hangs log splitting when ZK connection is lost
(Prakash)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1309173 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 22:04:45 +00:00
Michael Stack e72b67e20c HBASE-5451 Switch RPC call envelope/headers to PBs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1309019 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 16:26:50 +00:00
Michael Stack b5b0116712 HBASE-5701 Put RegionServerDynamicStatistics under RegionServer in MBean hierarchy rather than have it as a peer
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308971 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 15:08:38 +00:00
Michael Stack 3d06717256 HBASE-5704 HBASE-4398 mistakenly rolled back on trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308964 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 14:57:18 +00:00
Michael Stack f1a09236ab HBASE-5688 Convert zk root-region-server znode content to pb; DELETE RLE... causing build to fail because of RAT warnings
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308697 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 05:23:13 +00:00