Commit Graph

3173 Commits

Author SHA1 Message Date
Enis Soztutar 997c1adc2f HBASE-12390 Change revision style from svn to git 2014-10-31 11:10:38 -07:00
Ashish Singhi cacdb89e03 HBASE-10870 Deprecate and replace HCD methods that have a 'should' prefix with a 'is' instead
Signed-off-by: stack <stack@apache.org>
2014-10-31 08:34:00 -07:00
Esteban Gutierrez ba7344f5d1 HBASE-12219 Cache more efficiently getAll() and get() in FSTableDescriptors
Signed-off-by: stack <stack@apache.org>
2014-10-30 21:12:41 -07:00
Nick Dimiduk a71dd16a70 HBASE-9003 TableMapReduceUtil should not rely on org.apache.hadoop.util.JarFinder#getJar (Esteban Gutierrez)
Signed-off-by: stack <stack@apache.org>
2014-10-30 21:03:01 -07:00
Sean Busbey 646f1d5f8f HBASE-12388 Document behavior wrt coprocessors when wal gets empty waledits.
Signed-off-by: stack <stack@apache.org>
2014-10-30 19:32:12 -07:00
stack ff92346f5e HBASE-11819 Unit test for CoprocessorHConnection (Talat Uyarer) -- REVERT. Failed in a test run here: https://builds.apache.org/job/PreCommit-HBASE-Build/11530//testReport/ 2014-10-30 19:28:29 -07:00
stack a404db52ec HBASE-11819 Unit test for CoprocessorHConnection (Talat Uyarer) 2014-10-30 14:33:29 -07:00
Esteban Gutierrez 7886c0b82f TestRegionServerNoMaster#testMultipleOpen is flaky after HBASE-11760 2014-10-30 13:38:56 -07:00
stack 9f4b6ac06c HBASE-11835 Wrong managenement of non expected calls in the client (Nicolas Liochon) 2014-10-30 12:41:54 -07:00
Andrew Purtell f20fac41df HBASE-12384 TestTags can hang on fast test hosts 2014-10-30 10:45:02 -07:00
Ashish Singhi 87939889bb HBASE-12375 LoadIncrementalHFiles fails to load data in table when CF name starts with '_'
Signed-off-by: stack <stack@apache.org>
2014-10-30 09:16:37 -07:00
Matteo Bertozzi 8b84840d5a HBASE-12378 Add a test to verify that the read-replica is able to read after a compaction 2014-10-30 12:06:16 +00:00
stack d170088d98 HBASE-12336 RegionServer failed to shutdown for NodeFailoverWorker thread (Liu Shaohui) 2014-10-29 22:03:26 -07:00
stack 5062edebcf HBASE-12238 A few ugly exceptions on startup 2014-10-29 21:42:29 -07:00
stack fba164a1d1 HBASE-12355 Update maven plugins 2014-10-29 13:11:44 -07:00
stack 889333a6fd HBASE-12313 Redo the hfile index length optimization so cell-based rather than serialized KV key 2014-10-29 11:33:49 -07:00
stack 7cfafe401e HBASE-12354 Update dependencies in time for 1.0 release 2014-10-29 11:16:18 -07:00
stack b240b00f4f HBASE-12285 Builds are failing, possibly because of SUREFIRE-1091 ; ADDENDUM SETTING LOG LEVEL TO DEBUG AGAIN 2014-10-29 11:00:16 -07:00
anoopsjohn cbb334035d HBASE-12297 Support DBB usage in Bloom and HFileIndex area. 2014-10-29 14:39:03 +05:30
manukranthk ece933fa3e Implement Preemptive Fast Fail
Summary: This diff ports the Preemptive Fast Fail feature to OSS. In multi threaded clients, we use a feature developed on 0.89-fb branch called Preemptive Fast Fail. This allows the client threads which would potentially fail, fail fast. The idea behind this feature is that we allow, among the hundreds of client threads, one thread to try and establish connection with the regionserver and if that succeeds, we mark it as a live node again. Meanwhile, other threads which are trying to establish connection to the same server would ideally go into the timeouts which is effectively unfruitful. We can in those cases return appropriate exceptions to those clients instead of letting them retry.

Test Plan: Unit tests

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

Signed-off-by: stack <stack@apache.org>
2014-10-28 22:47:50 -07:00
Dima Spivak 95282f2ea5 HBASE-12312 Another couple of createTable race conditions
Signed-off-by: stack <stack@apache.org>
2014-10-28 22:33:40 -07:00
stack 64b6109ce9 HBASE-11562 CopyTable should provide an option to shuffle the mapper tasks (Jean-Marc Spaggiari) 2014-10-28 11:28:54 -07:00
anoopsjohn f2f21000fb HBASE-12304 CellCounter will throw AIOBE when output directory is not specified. (Ashish Singhi) 2014-10-28 17:27:47 +05:30
stack aea2c67016 HBASE-12353 Turn down logging on some spewing unit tests (Dima Spivak) 2014-10-27 15:12:25 -07:00
Andrew Purtell 70a312e53f HBASE-11912 Catch some bad practices at compile time with error-prone 2014-10-27 09:29:23 -07:00
anoopsjohn 0fb4c4d5f0 HBASE-11870 Optimization : Avoid copy of key and value for tags addition in AC and VC. 2014-10-25 21:12:15 +05:30
Andrew Purtell ff5bc351b2 Revert "HBASE-11912 Catch some bad practices at compile time with error-prone"
This reverts commit 7ed0260eff.
2014-10-25 08:33:43 -07:00
Andrew Purtell 7ed0260eff HBASE-11912 Catch some bad practices at compile time with error-prone 2014-10-24 18:15:12 -07:00
Andrew Purtell 97acb9ef24 HBASE-11964 Improve spreading replication load from failed regionservers 2014-10-24 14:17:46 -07:00
stack 2916d4f356 HBASE-12277 Refactor bulkLoad methods in AccessController to its own interface (Madhan Neethiraj) 2014-10-24 08:47:06 -07:00
stack 31c185aad5 HBASE-12328 Need to separate JvmMetrics for Master and RegionServer (Sanghyun Yun) 2014-10-23 21:49:47 -07:00
stack 96f84594ee HBASE-11915 Document and test 0.94 -> 1.0.0 update -- ADDENDUM 2014-10-22 22:10:52 -07:00
Elliott Clark c623b04122 HBASE-12283 Clean up some checkstyle errors 2014-10-22 11:58:23 -07:00
Ted Yu 19108fb850 HBASE-12306 CellCounter output's wrong value for Total Families Across all Rows in output file (Ashish Singhi) 2014-10-22 14:30:53 +00:00
Matteo Bertozzi 2908c11371 HBASE-12301 user_permission command does not show global permissions 2014-10-22 10:08:31 +01:00
Dima Spivak f6de7efb27 HBASE-12285 Builds are failing, possibly because of SUREFIRE-1091
* Reduce the logging level to WARN

Signed-off-by: stack <stack@apache.org>
2014-10-21 22:02:00 -07:00
Yi Deng e545953c32 HBASE-12243 HBaseFsck should auto set ignorePreCheckPermission to true if no fix option is set (Yi Deng)
Signed-off-by: Jonathan M Hsieh <jmhsieh@apache.org>
2014-10-21 13:20:23 -07:00
Ted Yu 6c70f4f7f7 HBASE-12302 VisibilityClient getAuths does not propagate remote service exception correctly (Jerry He) 2014-10-21 20:09:46 +00:00
anoopsjohn c01d9981d8 HBASE-12202 Support DirectByteBuffer usage in HFileBlock. 2014-10-21 17:57:55 +05:30
stack c7f51db135 HBASE-12226 TestAccessController#testPermissionList failing on master (Srikranth Srungarapu) 2014-10-20 20:35:23 -07:00
stack 0ee33094ed HBASE-12278 Race condition in TestSecureLoadIncrementalHFilesSplitRecovery (Dima Spivak) 2014-10-20 11:08:45 -04:00
Ryan Rawson 451798cefb HBASE-12192 Remove EventHandlerListener 2014-10-18 14:27:04 -07:00
Matteo Bertozzi 49056295ef HBASE-12161 Add support for grant/revoke on namespaces in AccessControlClient (Srikanth Srungarapu) 2014-10-18 21:18:42 +01:00
manukranthk 5c92bded9d Add admin endpoint for updating the configuration on the regionserver
Summary: This is a follow up diff for the jira to add the functionality to update configs in an online fashion.

Test Plan: Unit test. This adds an end point on the regionserver. It just tries to call the end point and make sure the call succeeds.

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

Signed-off-by: stack <stack@apache.org>
2014-10-18 16:16:21 -04:00
Dima Spivak 7e995b6496 HBASE-12229 NullPointerException in SnapshotTestingUtils
* Implemented the waitUntilAllRegionsOnline in HBaseTestingUtility#createTable
* Add waitFor around #isTableAvailable call that previously didn't do anything
* Remove unused byte[] hex

Signed-off-by: stack <stack@apache.org>
2014-10-17 22:50:10 -04:00
Ted Yu 349a56ae2c HBASE-12263 RegionServer listens on localhost in distributed cluster when DNS is unavailable (Shaohui) 2014-10-17 20:52:55 +00:00
Ted Yu 728fc543ea HBASE-12264 ImportTsv should fail fast if output is not specified and table does not exist (Ashish) 2014-10-17 20:45:44 +00:00
Ted Yu 686e77108a HBASE-12274 Race between RegionScannerImpl#nextInternal() and RegionScannerImpl#close() may produce null pointer exception 2014-10-17 16:05:31 +00:00
Patrick White ba20d4df8c HBASE-12271 Add counters for files skipped during snapshot export
Add counters for skipped files

Signed-off-by: Elliott Clark <eclark@apache.org>
2014-10-15 10:41:48 -07:00
manukranthk f9c534bac3 HBASE-12258 TestHbaseFsck is flaky and has some multithreading issues
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-10-14 17:36:31 -07:00
stack 3544f4e98b HBASE-12247 Replace setHTable() with initializeTable() in TableInputFormat. (Solomon Duskis) 2014-10-14 14:11:21 -07:00
manukranthk 962065de72 Online config change
Summary: This diff is intended to forward port HBASE-8805 and HBASE-8544 implemented by Gaurav Menghani in 89-fb. This improves operational efficiency in managing clusters that are serving production traffic. The idea is to have a central configuration which can manage notifying the configuration observers. The observers in turn should update their local state from the latest config. Minor caveats where configuration variables are corelated should be taken care of with additional care.

Test Plan: Unit tests

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

Signed-off-by: stack <stack@apache.org>
2014-10-13 21:23:12 -07:00
Rajeshbabu Chintaguntla 6dea02b260 HBASE-10200 Better error message when HttpServer fails to start due to java.net.BindException(Kiran Kumar M R) 2014-10-14 02:24:21 +00:00
stack 9a893a9c6a HBASE-12029 Use Table and RegionLocator in HTable.getRegionLocations() (Solomon Duskis) 2014-10-13 12:24:27 -07:00
stack b30d2f315d HBASE-12242 Fix new javadoc warnings in Admin, etc. 2014-10-13 12:07:50 -07:00
stack 8e9a8b002f HBASE-8361 Bulk load and other utilities should not create tables for user (Ashish Singhi) 2014-10-12 21:52:01 -07:00
Elliott Clark ab42b9ffe6 HBASE-12234 Make TestMultithreadedTableMapper a little more stable.
Signed-off-by: stack <stack@apache.org>
2014-10-12 18:37:47 -07:00
Enis Soztutar e3f9957830 HBASE-12176 WALCellCodec Encoders support for non-KeyValue Cells (Anoop Sam John) 2014-10-11 15:32:18 -07:00
Andrew Purtell 8ee55fb339 HBASE-12126 Region server coprocessor endpoint (Virag Kothari) 2014-10-10 12:00:51 -07:00
stack 65ae2e5126 HBASE-11394 Replication can have data loss if peer id contains hyphen "-" 2014-10-10 10:28:16 -07:00
Ramkrishna 3f2e599a99 HBASE-12210 Avoid KeyValue in Prefix Tree (Ram) 2014-10-10 22:45:26 +05:30
Elliott Clark 6ddb2f1965 HBASE-12197 Move rest to it's on module
Summary:
Move hbase-rest to it's own module.
copy test resources from hbase-server into hbase-rest's test resources.

Test Plan: Unit tests pass of hbase-rest module.

Differential Revision: https://reviews.facebook.net/D24657
2014-10-10 09:51:09 -07:00
stack 06a8bb5bd1 HBASE-12189 Fix new issues found by coverity static analysis 2014-10-09 20:51:04 -07:00
stack 8915130dd7 HBASE-12212 HBaseTestingUtility#waitUntilAllRegionsAssigned should wait for RegionStates
Signed-off-by: stack <stack@apache.org>
2014-10-09 20:34:58 -07:00
Nick Dimiduk 712dad814c HBASE-12183 FuzzyRowFilter doesn't support reverse scans 2014-10-09 18:27:22 -07:00
stack 5420b4c78b HBASE-12142 Truncate command does not preserve ACLs table (Vandana Ayyalasomayajula) 2014-10-09 15:35:36 -07:00
stack d5be58dfd2 Add hedgedReads and hedgedReadWins count metrics 2014-10-09 15:00:25 -07:00
Jimmy Xiang 72c8c62aa1 HBASE-12216 Lower closed region logging level 2014-10-09 14:00:24 -07:00
stack 0eb0721fef HBASE-11990 Make setting the start and stop row for a specific prefix easier (Niels Basjes) 2014-10-09 11:13:52 -07:00
Ted Yu 3d84ccbf9c HBASE-12109 user_permission command for namespace does not return correct result (Vandana Ayyalasomayajula) 2014-10-09 17:45:02 +00:00
Yi Deng 3c1fbd2ddf HBASE-12198 Fix the bug of not updating location cache
Summary:  # Clear the cache of the server when failed

Test Plan: Add testcase `TestHTableMultiplexerFlushCache` to reproduce the bug.

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

Signed-off-by: Elliott Clark <elliott@fb.com>
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-10-09 10:09:03 -07:00
Jimmy Xiang 2c07372c2f HBASE-12209 NPE in HRegionServer#getLastSequenceId 2014-10-08 20:40:45 -07:00
Enis Soztutar 922ced0d08 HBASE-12200 When a Rpc server handler thread dies, throws exception (Alicia Ying Shu) 2014-10-08 17:49:01 -07:00
Jimmy Xiang 7aa3a2d890 HBASE-12206 NPE in RSRpcServices 2014-10-08 17:45:43 -07:00
stack 652b81ab1e HBASE-12181 Some tests create a table and try to use it before regions get assigned (Dima Spivak) 2014-10-08 17:24:09 -07:00
manukranthk e31286bf62 Fix failures caused by Jacoco syncthetic methods
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-10-08 12:05:14 -07:00
manukranthk e952e73624 HBASE-12199 Make TestAtomicOperation and TestEncodedSeekers faster
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-10-08 08:46:29 -07:00
Jimmy Xiang f2fc311b19 HBASE-12196 SSH should retry in case failed to assign regions 2014-10-07 20:23:32 -07:00
Ted Yu a8be606145 HBASE-12016 Reduce number of versions in Meta table. Make it configurable (Andrey Stepachev) 2014-10-07 21:07:52 +00:00
stack 7546f9a4d9 HBASE-12191 Make TestCacheOnWrite faster. 2014-10-07 13:14:23 -07:00
Ted Yu e1b69bd548 HBASE-11997 CopyTable with bulkload (Yi Deng) 2014-10-07 19:34:31 +00:00
Andrew Purtell 3557a32352 HBASE-12106 Move test annotations to test artifact (Enis Soztutar) 2014-10-06 23:16:22 -07:00
Ramkrishna eb6f196395 HBASE-11815 Flush and compaction could just close the tmp writer if there
is an exception
2014-10-07 09:40:34 +05:30
Jimmy Xiang 8c3697b0d8 HBASE-12184 ServerShutdownHandler throws NPE 2014-10-06 17:28:39 -07:00
stack 062adcc188 HBASE-11890 HBase REST Client is hard coded to http protocol 2014-10-06 13:44:43 -07:00
stack 5f6a055bb6 HBASE-12172 Disable flakey TestRegionReplicaReplicationEndpoint and make fixing it a blocker on 1.0 2014-10-06 10:20:44 -07:00
Ted Yu 8a50a0cce7 HBASE-12011 Add namespace column during display of user tables (Srikanth Srungarapu) 2014-10-06 16:45:33 +00:00
stack 202bc2934a HBASE-12148 RegionServerTracker should escape data in log messages 2014-10-03 19:24:46 -07:00
Ted Yu 7972ae764b HBASE-12137 Alter table add cf doesn't do compression test (Virag Kothari) 2014-10-04 00:40:22 +00:00
Jimmy Xiang ef35182f1f HBASE-12166 TestDistributedLogSplitting.testMasterStartsUpWithLogReplayWork 2014-10-03 17:18:12 -07:00
stack 3acdf06827 HBASE-12170 TestReplicaWithCluster.testReplicaAndReplication timeouts 2014-10-03 17:06:49 -07:00
Andrew Purtell 0c0d7eb241 Amend HBASE-12156 TableName cache isn't used for one of valueOf methods; make TestTableName a medium test 2014-10-03 16:58:19 -07:00
Jimmy Xiang dbef2bdafe HBASE-12167 addendum; fix TestMasterObserver 2014-10-03 15:02:41 -07:00
Jimmy Xiang 5375ff07bc HBASE-12167 NPE in AssignmentManager 2014-10-03 11:41:18 -07:00
Andrew Purtell d8a7b67d79 HBASE-11907 Use the joni byte[] regex engine in place of j.u.regex 2014-10-02 23:06:32 -07:00
stack da9f2434b2 HBASE-12165 TestEndToEndSplitTransaction.testFromClientSideWhileSplitting fails -- DEBUGGING STRINGS 2014-10-02 21:10:45 -07:00
Ted Yu a17614d5b2 HBASE-12164 Check for presence of user Id in SecureBulkLoadEndpoint#secureBulkLoadHFiles() is inaccurate 2014-10-03 03:53:58 +00:00
Ted Yu 8dbf7b2238 HBASE-10153 improve VerifyReplication to compute BADROWS more accurately (Jianwei) 2014-10-03 03:29:45 +00:00
Jimmy Xiang a463aef8bc HBASE-12122 Try not to assign user regions to master all the time 2014-10-02 13:30:55 -07:00
stack 546f436a41 HBASE-12152 TestLoadIncrementalHFiles shows up as zombie test; ADD TIMEOUT ON TESTS -- Up timeout from 120 to 120000 2014-10-02 13:18:08 -07:00