Commit Graph

4654 Commits

Author SHA1 Message Date
Michael Stack c5b874fff0 HBASE-5077 SplitLogWorker fails to let go of a task, kills the RS -- fix compile error
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221604 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 04:12:17 +00:00
Michael Stack 04dd71214a HBASE-5077 SplitLogWorker fails to let go of a task, kills the RS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221601 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 04:06:03 +00:00
Michael Stack dc89430102 HBASE-5078 DistributedLogSplitter failing to split file because it has edits for lots of regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221597 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 04:01:26 +00:00
Michael Stack f000c951c6 HBASE-5078 DistributedLogSplitter failing to split file because it has edits for lots of regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221596 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 04:00:47 +00:00
Michael Stack cd508de041 HBASE-5021 Enforce upper bound on timestamp
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221592 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 03:51:42 +00:00
Nicolas Spiegelberg 82e376b3ea [jira] [HBase-5021] Enforce upper bound on timestamp
Summary:
We have been getting hit with performance problems on the ODS
side due to invalid timestamps being inserted by the timestamp.  ODS is
working on adding proper checks to app server, but production
performance could be severely impacted with significant recovery time if
something slips past.  Therefore, we should also allow the option to
check the upper bound in HBase.

This is the first draft.  Probably should allow per-CF customization.

Test Plan:  - mvn test -Dtest=TestHRegion#testPutWithTsTooNew

Reviewers: Kannan, Liyin, JIRA

CC: stack, nspiegelberg, tedyu, Kannan, mbautin

Differential Revision: 849

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221532 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 00:02:55 +00:00
Jean-Daniel Cryans a952738257 Fixing the link for ZK session expiration
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221527 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 23:40:10 +00:00
Nicolas Spiegelberg 9a0eb6f0c2 [jira] [HBASE-5072] Support Max Value for Per-Store Metrics
Summary:
We were bit in our multi-tenant cluster because one of our Stores
encountered a bug and grew its StoreFile count. We didn't notice this because
the StoreFile count currently reported by the RegionServer is an average of all
Stores in the region. For the per-Store metrics, we should also record the max
so we can notice outliers.

Test Plan: - mvn test -Dtest=TestRegionServerMetrics

Reviewers: JIRA, mbautin, Kannan

Reviewed By: Kannan

CC: stack, nspiegelberg, mbautin, Kannan

Differential Revision: 945

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221419 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 18:42:11 +00:00
Michael Stack 8fe40ce0e9 HBASE-5063 RegionServers fail to report to backup HMaster after primary goes down
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221121 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 06:46:17 +00:00
Michael Stack 77e16e8027 HBASE-4935 hbase 0.92.0 doesn't work going against 0.20.205.0, its packaged hadoop
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1221033 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 00:10:02 +00:00
Michael Stack 1222383f1d HBASE-5029 TestDistributedLogSplitting fails on occasion; Added catch of NPE and reenabled ignored test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220991 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 23:04:15 +00:00
larsh 2062ea1d00 HBASE-5058 Allow HBaseAmin to use an existing connection (Lars H)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220989 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 23:01:26 +00:00
Michael Stack e0bd180675 HBASE-5068 RC1 can not build its hadoop-0.23 profile
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220962 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 21:45:05 +00:00
Michael Stack 48ccb28e81 HBASE-5029 TestDistributedLogSplitting fails on occasion; disabling failing test -- redo -- forgot to import @Ignore
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220904 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 19:19:17 +00:00
Michael Stack 86a3830175 HBASE-5029 TestDistributedLogSplitting fails on occasion; disabling failing test
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220894 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 18:51:10 +00:00
Michael Stack 80a76f2c75 HBASE-5066 Upgrade to zk 3.4.1
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220870 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 17:31:27 +00:00
Michael Stack 1f8021eca9 HBASE-5051 HBaseTestingUtility#getHBaseAdmin() creates a new HBaseAdmin instance at each call
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220864 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 17:24:33 +00:00
Zhihong Yu 4e09ea6be8 HBASE-5060 HBase client is blocked forever (Jinchao)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220863 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 17:24:21 +00:00
Michael Stack a46959a370 HBASE-5062 Missing logons if security is enabled
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220829 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 16:26:22 +00:00
larsh 818adb795b HBASE-4970 Add a parameter so that keepAliveTime of Htable thread pool can be changed (gaojinchao)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220626 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 06:57:08 +00:00
Michael Stack d9c8e9954a HBASE-4934 Display Master server and Regionserver start time on respective info servers
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220304 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 00:04:23 +00:00
Michael Stack fa03d03ddf HBASE-5040 Secure HBase builds fail
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1220303 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 23:56:52 +00:00
Michael Stack 46eef1e255 HBASE-5049 TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1215371 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 00:48:34 +00:00
Michael Stack 3cad85bc77 HBASE-5029 TestDistributedLogSplitting fails on occasion
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1215370 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 00:40:53 +00:00
Michael Stack 324eec9a44 HBASE-5055 Build against hadoop 0.22 broken
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1215356 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 00:13:28 +00:00
Michael Stack 175ef436b6 HBASE-4935 hbase 0.92.0 doesn't work going against 0.20.205.0, its packaged hadoop -- revert from TRUNK though this change was added as part of HBASE-4908
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1215353 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 00:09:02 +00:00
Zhihong Yu 0c5abfccd7 HBASE-5053 HCM Tests leak connections (N Keywal)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1215314 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 22:05:02 +00:00
Zhihong Yu 3f016b62fd HBASE-5051 HBaseTestingUtility#getHBaseAdmin() creates a new HBaseAdmin instance at each call - revert
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1215307 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 21:55:16 +00:00
Zhihong Yu 15d9af3d42 HBASE-5051 HBaseTestingUtility#getHBaseAdmin() creates a new HBaseAdmin instance at each call (N Keywal)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1215236 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 18:17:32 +00:00
Kannan Muthukkaruppan 3772951b9d HBASE-5014 PutSortReducer should adhere to memory limits
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214968 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 22:09:44 +00:00
Jean-Daniel Cryans 7e095fa615 HBASE-4683 Always cache index and bloom blocks
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214902 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 18:26:35 +00:00
Michael Stack e77df774eb Add note on how to do all tests w/ security profile enabled
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214901 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 18:22:27 +00:00
Michael Stack 82a4dedeee Add note on how to do single test w/ security profile enabled
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214900 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 18:20:48 +00:00
Zhihong Yu 063fa64fd5 HBASE-4605 Constraints, remove .orig files accidentally added in previous commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214892 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 17:52:04 +00:00
Zhihong Yu 5166afddc5 HBASE-4605 Constraints (Jesse Yates)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214889 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 17:44:59 +00:00
Michael Stack 52dbd69707 HBASE-5027 HConnection.create(final Connection conf) does not clone, it creates a new Configuration reading *.xmls and then does a merge.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214871 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 17:13:34 +00:00
Michael Stack 32490bddce HBASE-5038 Some tests leak connections
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214839 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 16:20:41 +00:00
Doug Meil 5543c548c4 hbase-5039 book.xml arch chapter fixup for regions, adding FAQ entry for architecture
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214806 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 15:17:20 +00:00
Doug Meil 37cbd5a38e hbase-5036 book.xml architecture chapter minor mods regarding region-RS assignment
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214614 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 03:56:03 +00:00
Zhihong Yu 6b60585fef HBASE-5030 Some tests do not close the HFile.Reader they use, leaving some file descriptors open (N Keywal)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214519 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 22:52:45 +00:00
Zhihong Yu e85d2d45d3 HBASE-5026 Add coprocessor hook to HRegionServer.ScannerListener.leaseExpired()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214431 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 19:57:42 +00:00
Michael Stack bade2361c9 HBASE-4993 Performance regression in minicluster creation
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214419 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 19:39:23 +00:00
Doug Meil 685284c604 hbase-5028 book.xml - adding info on region assignment and file locality
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214412 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 19:14:10 +00:00
Zhihong Yu 9ed28b472c HBASE-5022 Optimize HBaseConfiguration#create (N Keywal)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214366 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 17:30:44 +00:00
larsh cd0c4cffa9 HBASE-5001 Improve the performance of block cache keys (Lars H and J-D)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1213995 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 00:05:04 +00:00
Jean-Daniel Cryans 69b7530f60 HBASE-5017 Bump the default hfile.block.cache.size because of HFileV2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1213950 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 21:55:36 +00:00
Michael Stack 4de54f3552 HBASE-5006 Move hbase 0.92RC1 on to hadoop 1.0.0RC2
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1213928 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 21:01:44 +00:00
Zhihong Yu 1b1725188e HBASE-5015 Remove some leaks in tests due to lack of HTable.close()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1213823 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:21:33 +00:00
karthik 34dc2a4b66 [jira] [HBASE-4661] get list of store files.
Summary:
1. Ported getStoreFileList API to trunk.
2. Also ported flushRegion API to trunk (with option of flushing if
lastFlushTime < TS).

Test Plan: Tested on 89.

Reviewers: Karthik, Kannan, nspiegelberg, JIRA

Reviewed By: Karthik

CC: HBase Diffs Facebook Group, Karthik, Kannan, stack, madhuvaidya

Differential Revision: 729

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1213487 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 22:58:51 +00:00
Michael Stack 4b8eb16ea9 HBASE-4997 SplitLogManager can have a race on batch.installed
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1213479 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 22:46:33 +00:00