Commit Graph

5115 Commits

Author SHA1 Message Date
mbautin 1a90a79658 [jira] [HBASE-6007] Make getTableRegions return an empty list if the table does not exist
Summary:
Making the getTableRegions Thrift API method handle TableNotFoundException and return an empty list in that case. Without this the behavior is dependent on whether an HTable object is present in the thread-local cache in case a table was deleted.

Test Plan: Unit tests

Reviewers: kannan, liyintang

Reviewed By: liyintang

CC: stack

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340310 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 00:01:15 +00:00
Michael Stack ca81969a4f HBASE-5920 New Compactions Logic can silently prevent user-initiated compactions from occurring
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340280 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 22:08:44 +00:00
Michael Stack 373270dd77 Switch on-disk formats (reference files, HFile meta fields, etc) to PB
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340232 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 20:20:33 +00:00
Michael Stack eef80d6ff9 Fix a link
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340210 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 19:11:31 +00:00
Michael Stack 6e77b7eefd HBASE-5926 Delete the master znode after a master crash
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340200 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 18:18:20 +00:00
ramkrishna b2c6f39280 HBASE-5546 Master assigns region in the original region server when opening region failed (Ashutosh)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340187 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 17:50:32 +00:00
Michael Stack 4c61d4a965 HBASE-5926 Delete the master znode after a master crash
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340185 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 17:44:04 +00:00
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 512b75643f HBASE-6021. NullPointerException when running LoadTestTool without specifying compression type
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339909 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 22:54:56 +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
liyin 3949d1edb1 Add Liyin Tang to the developer list
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339866 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 21:22:54 +00:00
Michael Stack 65019f0af6 HBASE-6034 Upgrade Hadoop dependencies
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339848 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 20:30:59 +00:00
Michael Stack 00108189c9 HBASE-6022 Include Junit in the libs when packaging so that TestAcidGaurntee can run
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339845 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 20:24:24 +00:00
Michael Stack 72c8be9faa Added a bit of doc on how to use mvn to publish the site
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339842 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 20:16:12 +00:00
Michael Stack 5e2b6821cb HBASE-6005 Addendum... fixing release links
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339837 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 20:08:52 +00:00
Michael Stack a6628467e1 HBASE-5802 Change the default metrics class to NullContextWithUpdateThread
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339831 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 20:01:51 +00:00
Andrew Kyle Purtell 1df5bcad82 HBASE-6010. Security audit logger configuration for log4j
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339817 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 19:36:42 +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
Andrew Kyle Purtell 67cf49edfb HBASE-6001. Upgrade slf4j to 1.6.1
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339788 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 18:40:33 +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
Doug Meil 4fb583bafb hbase-6019. porting pseudo-dist html page to RefGuide Config chapter.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339225 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 15:21:25 +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
Doug Meil e702947482 hbase-6003. fixed 2 links in Performance.xml that should have been going to case-studies chapter.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1338899 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 21:14:45 +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 9b662f467b HBASE-5984 TestLogRolling.testLogRollOnPipelineRestart failed with HADOOP 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337697 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:38:35 +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
Michael Stack 0498c89c72 HBASE-5989 TestAdmin failed on Hadoop 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337450 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 06:34:15 +00:00
Michael Stack d529ab5e94 HBASE-5966 MapReduce based tests broken on Hadoop 2.0.0-alpha
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337448 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 05:48:04 +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 e8f27c7408 HBASE-5939 Add an autorestart option in the start scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337418 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 23:49:35 +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 ca56b0615e HBASE-5732 Remove the SecureRPCEngine and merge the security-related logic in the core engine; I MISSED A FEW DELETES -- REMOVE SECURITY DIR
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337399 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 22:14:13 +00:00
Michael Stack cae042bb81 HBASE-5732 Remove the SecureRPCEngine and merge the security-related logic in the core engine; I MISSED A FEW DELETES
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337398 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 22:12:05 +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 b259229b57 HBASE-5985 TestMetaMigrationRemovingHTD failed with HADOOP 2.0.0 (Jimmy Xiang)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337165 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 13:57:32 +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