Commit Graph

3750 Commits

Author SHA1 Message Date
Zhihong Yu 70d8db3673 HBASE-4095 Hlog may not be rolled in a long time if checkLowReplication's
request of LogRoll is blocked (Jieshan via Ted Yu)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1148169 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 05:11:34 +00:00
Zhihong Yu d757784cbf HBASE-4112 Creating table may throw NullPointerException (Jinchao via Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1148138 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 03:38:53 +00:00
Zhihong Yu 8f2fde07c7 HBASE-451 FSUtils.getTableInfoModtime() should check fs.listStatus() against null return
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147914 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 15:00:03 +00:00
Zhihong Yu 8ae3106b95 HBASE-4052 reapply code in unassign() which handles NotServingRegionException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147819 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 11:45:05 +00:00
Zhihong Yu 3b0a7528c9 HBASE-4052 Use same TestMasterRestartAfterDisablingTable in branch and TRUNK
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147357 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 02:30:56 +00:00
Zhihong Yu 72c89e6f3c HBASE-4052 Enabling a table after master switch does not allow table scan,
throwing NotServingRegionException. Add unit test


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147354 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 01:47:10 +00:00
Zhihong Yu 69bb8b99ec HBASE-4052 Enabling a table after master switch does not allow table scan,
throwing NotServingRegionException (ramkrishna via Ted Yu)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147353 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 01:29:31 +00:00
Zhihong Yu 6b55b8dbe6 HBASE-4087 HBaseAdmin should perform validation of connection it holds
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147352 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 01:18:36 +00:00
Michael Stack 6f476bfd0e HBASE-4081 Issues with HRegion.compactStores methods
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147350 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 00:28:26 +00:00
Michael Stack c8ce6dbd7d HBASE-4106 book.xml/preface.xml - 2 trivial fixes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147348 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 23:44:37 +00:00
Michael Stack 754d79e7e6 HBASE-4108 book.xml/troubleshooting.xml - moving troubleshooting info out of FAQ into troubleshooting chapter
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147346 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 23:36:14 +00:00
Zhihong Yu 547394ad0f HBASE-451 relax cachehits check in TestFSTableDescriptors
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147345 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 23:22:11 +00:00
Zhihong Yu fdd0d9f3e3 HBASE-451 getTableInfoPath() should be called in FSUtils.getTableInfoModtime()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1147043 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 09:01:41 +00:00
Michael Stack cdc62bf6ed Make TestFSTableDescriptors pass if cache hits are >= rather than ==; I had test the wrong way around
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1146942 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 02:36:31 +00:00
Michael Stack 192539460a HBASE-4098 developer.xml - adding repo info, how to set up eclipse, common maven commands
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1146914 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 22:47:31 +00:00
Michael Stack 1f46c437dd Make TestFSTableDescriptors pass if cache hits are >= rather than ==
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1146876 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 20:05:10 +00:00
Michael Stack f54803aac2 HBASE-3872 Hole in split transaction rollback; edits to .META. need to be rolled back even if it seems like they didn't make it; fix failing HRegion test -- server passed is null, allow for this in tests when running splits
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1146557 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 05:05:54 +00:00
Michael Stack 0a0ce9f1ae HBASE-3872 Hole in split transaction rollback; edits to .META. need to be rolled back even if it seems like they didn't make it
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1146527 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 00:28:18 +00:00
Michael Stack 7f10f29425 HBASE-3872 Hole in split transaction rollback; edits to .META. need to be rolled back even if it seems like they didn't make it
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1146526 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 00:27:14 +00:00
Michael Stack 53b5b9005e Fix broken TestMasterFailover test -- needed .tableinfo defined before test started... part of the repercussions from hbase-451; I don't this fixes all TestMasterFailover failures but at least a few obvious failures
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1146495 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 21:47:12 +00:00
Michael Stack aa64a10534 Fix broken TestScanMultipleVersions test -- needed .tableinfo defined before test started... part of the repercussions from hbase-451
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1146241 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 19:08:58 +00:00
Zhihong Yu 3314b87804 HBASE-4075 A bug in TestZKBasedOpenCloseRegion
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1145927 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 09:23:56 +00:00
Zhihong Yu edf2b7901a HBASE-3904 Reapply patch v6 for TRUNK with addendum
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1145914 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 08:57:50 +00:00
Zhihong Yu de919df41a HBASE-3904 Revert patch v6 from TRUNK
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1145906 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 08:47:41 +00:00
Zhihong Yu 1add4cc5d2 HBASE-3904 info.getTableName() should be used to get table name
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1145905 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 08:33:42 +00:00
Michael Stack 148627fe9c HBASE-4088 npes in server shutdown
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1145855 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 04:18:50 +00:00
Zhihong Yu 1f3a4fefb8 HBASE-3904 Addendum that fixes number of retries (Ita Pai)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1145847 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 03:13:10 +00:00
Zhihong Yu 16a366b5cd HBASE-4003 Cleanup Calls Conservatively On Timeout - revert
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1145766 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 20:53:06 +00:00
Michael Stack f7ea5fe685 HBASE-4054 Usability improvement to HTablePool
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1145675 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 17:01:48 +00:00
Zhihong Yu d775dc50c1 HBASE-3871 Speedup LoadIncrementalHFiles by parallelizing HFile splitting
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1145459 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 05:15:58 +00:00
Zhihong Yu 0a99255ae1 Added timeout for tests in TestScannerTimeout
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144693 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 16:13:02 +00:00
Michael Stack e17252a111 Added note on diff between snappy in hbase and snappy in hadoop
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144591 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 04:45:23 +00:00
Michael Stack e6523e0a86 HBASE-4019 troubleshooting.xml - adding section under NameNode for where to find hbase objects on HDFS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144590 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 04:40:43 +00:00
Michael Stack 08a2eb0964 HBASE-4017 BlockCache interface should be truly modular
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144588 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 03:54:01 +00:00
Zhihong Yu a618fea162 HBASE-4079 HTableUtil - helper class for loading data (Doug Meil via Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144581 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 03:15:02 +00:00
Zhihong Yu c08fe0f40e HBASE-4054 extending HTable because HTableInterface does not include
getRegionInfos and setAutoFlush


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144162 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 05:43:58 +00:00
Zhihong Yu 24c84bd22c Fix javadoc for HTable.setAutoFlush()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144152 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 04:07:18 +00:00
Zhihong Yu f372f3a411 HBASE-3893 account for new int field for FIXED_OVERHEAD
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144102 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 00:27:36 +00:00
Michael Stack 6b9b5dbd99 HBASE-4054 Usability improvement to HTablePool
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144068 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 21:58:35 +00:00
Zhihong Yu fe05e91e42 HBASE-3893 HRegion.internalObtainRowLock shouldn't wait forever
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144065 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 21:52:21 +00:00
Zhihong Yu df02e92592 HBASE-4077 formatting spaces
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144058 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 21:36:54 +00:00
Zhihong Yu cf5b80c2ee HBASE-4077 Deadlock if WrongRegionException is thrown from getLock in
HRegion.delete (Adam Warrington via Ted Yu)


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144054 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 21:33:11 +00:00
Michael Stack d0e28d0309 HBASE-4033 The shutdown RegionServer could be added to AssignmentManager.servers again
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144009 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 19:58:27 +00:00
Michael Stack ee97af7842 HBASE-4074 When a RS has hostname with uppercase letter, there are two RS entries in master -- addendum
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144004 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 19:48:05 +00:00
Zhihong Yu 1e90b73574 HBASE-4074 When a RS has hostname with uppercase letter, there are two
RS entries in master


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1143915 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 16:44:49 +00:00
Zhihong Yu 3c3169bf0c Added timeouts for TestMultiParallel
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1143757 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:57:34 +00:00
Zhihong Yu fef618201f HBASE-3867 when cluster is stopped and server which hosted meta region is
removed from cluster, master breaks down after restarting cluster.


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1143586 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 22:27:37 +00:00
Zhihong Yu a161fad751 HBASE-4061 getTableDirs is missing directories to skip
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1143557 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 20:43:47 +00:00
Zhihong Yu db0cd694b2 HBASE-4053 Most of the regions were added into AssignmentManager#servers twice
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1143530 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 19:00:11 +00:00
Zhihong Yu e3f8560143 HBASE-3904 HBA.createTable(final HTableDescriptor desc, byte [][] splitKeys)
should be synchronous



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1143522 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 18:31:04 +00:00