Commit Graph

4183 Commits

Author SHA1 Message Date
Doug Meil 5eaea899e3 HBASE-4736 troubleshooting.xml, xrefs to Arch chapter
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196925 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 03:05:37 +00:00
Zhihong Yu 76060691bb HBASE-4609 ThriftServer.getRegionInfo() is expecting old ServerName format, need to
use new Addressing class instead (Jonathan Gray)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196873 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 23:48:22 +00:00
Doug Meil c61f0f296f HBASE-4735 book.xml, schema design keysize code example
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196860 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 23:26:30 +00:00
Doug Meil 88643f7220 HBASE-4732 book.xml, added link to MR tutorial in MR chapter (trivial change)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196805 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 21:19:13 +00:00
Doug Meil b08f746cd2 HBASE-4731 book.xml, schema design - rowkey numeric example
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196801 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 21:09:47 +00:00
Doug Meil f0444014b8 HBASE-4730 book.xml, ops_mgt.xml, performance.xml - handful of changes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196792 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 20:40:14 +00:00
Nicolas Spiegelberg b44e09085c HBASE-2312 [jira] Possible data loss when RS goes into GC pause while rolling
HLog

Summary:
There is a very corner case when bad things could happen(ie data loss):

1)	RS #1 is going to roll its HLog - not yet created the new one, old one will
get no more writes
2)	RS #1 enters GC Pause of Death
3)	Master lists HLog files of RS#1 that is has to split as RS#1 is dead, starts
splitting
4)	RS #1 wakes up, created the new HLog (previous one was rolled) and appends an
edit - which is lost

The following seems like a possible solution:

1)	Master detects RS#1 is dead
2)	The master renames the /hbase/.logs/<regionserver name>  directory to
something else (say /hbase/.logs/<regionserver name>-dead)
3)	Add mkdir support (as opposed to mkdirs) to HDFS - so that a file create
fails if the directory doesn't exist. Dhruba tells me this is very doable.
4)	RS#1 comes back up and is not able create the new hlog. It restarts itself.

Test Plan: EMPTY
Reviewers: JIRA, stack, khemani
Reviewed By: khemani
CC: tedyu, nspiegelberg, stack, Kannan, khemani, jgray
Differential Revision: 99

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196773 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 19:24:23 +00:00
Nicolas Spiegelberg 119ae0c4ac [jira] [HBASE-4627] Ability to specify a custom start/end to RegionSplitter
Summary:
[HBASE-4627]

added a custom start/end row to RegionSplitter.  Also solved
an off-by-one error because the end row is prefix-inclusive and not
exclusive.

<a href="https://issues.apache.org/jira/browse/HBASE-4489" title="Better key splitting in RegionSplitter"><del>HBASE-4489</del></a> changed the default endKey on HexStringSplit from 7FFF... to FFFF...  While this is correct, existing users of 0.90 RegionSplitter have 7FFF as the end key in their schema and the last region will not split properly under this new code.  We need to let the user specify a custom start/end key range for when situations like this arise.  Optimally, we should also write the start/end key in META so we could figure this out implicitly instead of requiring the user to explicitly specify it.

Test Plan:
 - mvn test -Dtest=TestRegionSplitter

CC: JIRA

Reviewers: DUMMY_REVIEWER

Differential Revision: 39

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196772 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 19:24:18 +00:00
Zhihong Yu 5721a5ac53 HBASE-4716 Addendum Use Preconditions and remove enum
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196749 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 18:35:52 +00:00
Zhihong Yu 0e32567cdd HBASE-4716 Improve locking for single column family bulk load
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196674 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 16:28:09 +00:00
Michael Stack 321d6c3025 HBASE-4724 TestAdmin hangs randomly in trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196636 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 15:37:19 +00:00
Michael Stack d6601d1d17 HBASE-4713 Raise debug level to warn on ExecutionException in HConnectionManager
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196592 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 14:15:54 +00:00
Zhihong Yu 87a157d9eb HBASE-1744 HBaseAdmin ctor should obtain Configuration from HBaseTestingUtility
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196533 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 10:12:24 +00:00
Zhihong Yu 061c22b302 SE-4377 [hbck] Offline rebuild .META. from fs data only
(Jonathan Hsieh)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196527 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 09:51:19 +00:00
Michael Stack 3fab67a8b5 HBASE-4722 TestGlobalMemStoreSize has started failing; commit some extra logging to help debug whats going on up on jenkins
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196464 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 06:12:38 +00:00
Zhihong Yu 1b63b76e69 HBASE-1744 Thrift server to match the new java api (Tim Sell)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196451 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 04:26:26 +00:00
Jean-Daniel Cryans 930eb49759 HBASE-3515 [replication] ReplicationSource can miss a log after RS comes out of GC
(fixing a missing handling of IOE in Replication)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196402 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 00:05:55 +00:00
Jean-Daniel Cryans 08a9170236 HBASE-3515 [replication] ReplicationSource can miss a log after RS comes out of GC
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196398 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 23:44:02 +00:00
Michael Stack 850bb134a6 HBASE-3680 Publish more metrics about mslab; REVERT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196389 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 23:19:59 +00:00
Michael Stack e44d373842 HBASE-4708 Revert safemode related pieces of hbase-4510
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196321 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 22:10:10 +00:00
Nicolas Spiegelberg 86468b381f Fixed CHANGES file for HBASE-4532 & HBASE-4611
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196288 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 21:26:16 +00:00
Nicolas Spiegelberg 8742f64536 Revert "HBASE-4627 Ability to specify a custom start/end to RegionSplitter"
This reverts commit r1196256.


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196258 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 20:25:08 +00:00
Nicolas Spiegelberg c7489d1ebb HBASE-4611 Add support for Phabricator/Differential as an alternative code review tool
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196257 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 20:23:50 +00:00
Nicolas Spiegelberg 1b70625b81 HBASE-4627 Ability to specify a custom start/end to RegionSplitter (unintended commit)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196256 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 20:23:47 +00:00
Jonathan Gray 8e2dea1eb4 HBASE-4696 HRegionThriftServer' might have to indefinitely do redirtects (jgray)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196254 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 20:14:42 +00:00
Michael Stack d8516489ff HBASE-3680 Publish more metrics about mslab; REVERTED
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196236 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 19:39:20 +00:00
Michael Stack 0b9a8701d2 HBASE-3680 Publish more metrics about mslab
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196235 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 19:33:52 +00:00
Michael Stack 61735778e9 HBASE-3680 Publish more metrics about mslab
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196232 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 19:32:53 +00:00
Michael Stack d5364c2bfd HBASE-4695 WAL logs get deleted before region server can fully flush
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196220 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 19:12:11 +00:00
Gary Helmling e34c773792 HBASE-4710 UnknownProtocolException should abort client retries as a DoNotRetryIOException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196185 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 18:15:11 +00:00
Michael Stack 04ace586de HBASE-4715 Remove stale broke .rb scripts from bin dir
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196168 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 17:56:35 +00:00
Michael Stack fcc01d275a HBASE-4715 Remove stale broke .rb scripts from bin dir
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196166 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 17:54:20 +00:00
Michael Stack f637b4d4e8 HBASE-4714 Don't ship w/ icms enabled by default; REDO
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196120 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 16:46:33 +00:00
Michael Stack df053660bf HBASE-4714 Don't ship w/ icms enabled by default; REVERT -- I overcommitted by mistake
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196117 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 16:45:31 +00:00
Michael Stack a47b0b3293 HBASE-4714 Don't ship w/ icms enabled by default
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196114 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 16:44:38 +00:00
Michael Stack 9018d028e1 HBASE-4703 Improvements in tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1195833 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 05:36:12 +00:00
Zhihong Yu e29a6c1b3b HBASE-4669 Add an option of using round-robin assignment for enabling table
(Jieshan Bean)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1195670 13f79535-47bb-0310-9956-ffa450edef68
2011-10-31 21:00:48 +00:00
karthik 468f6dd371 Updating pom.xml - added karthik and fixed position of kannan
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1195647 13f79535-47bb-0310-9956-ffa450edef68
2011-10-31 20:07:12 +00:00
Michael Stack f6ad8d2647 HBASE-4680 FSUtils.isInSafeMode() checks should operate on HBase root dir, where we have permissions; REVERT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1195588 13f79535-47bb-0310-9956-ffa450edef68
2011-10-31 18:09:17 +00:00
Zhihong Yu e32b161c8f HBASE-4552 multi-CF bulk load is not atomic across column families (Jonathan Hsieh)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1195574 13f79535-47bb-0310-9956-ffa450edef68
2011-10-31 17:26:42 +00:00
Zhihong Yu fb97e1381a HBASE-4690 Intermittent TestRegionServerCoprocessorExceptionWithAbort failure
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1195250 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 21:17:30 +00:00
Michael Stack 7918625952 HBASE-4603 Uneeded sleep time for tests in hbase.master.ServerManager#waitForRegionServers
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1195246 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 21:11:57 +00:00
Michael Stack b625995326 HBASE-4613 hbase.util.Threads#threadDumpingIsAlive sleeps 1 second, slowing down the shutdown by 0.5s
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1195056 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 22:01:59 +00:00
Michael Stack f4109e3a28 HBASE-4701 TestSplitTransactionOnCluster fails on occasion when it tries to move a region
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1195034 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 21:03:55 +00:00
Michael Stack f686732973 HBASE-4701 TestMasterObserver fails up on jenkins
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1194900 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 15:03:30 +00:00
Zhihong Yu 2b021bce11 HBASE-4694 Addendum, revert non-logging statements in DefaultLoadBalancer
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1190747 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 03:35:05 +00:00
Kannan Muthukkaruppan 99a5df9b64 go hbase!
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1190682 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 23:47:23 +00:00
Michael Stack 9586812380 HBASE-4436 Remove trivial 0.90 deprecated code from 0.92 and trunk.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1190675 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 23:40:32 +00:00
Michael Stack 8c6f8b4b96 HBASE-4694 Some cleanup of log messages in RS and M
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1190669 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 23:20:14 +00:00
Michael Stack bdd4b8d012 HBASE-4699 Cleanup the UIs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1190662 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 23:05:57 +00:00