Commit Graph

3194 Commits

Author SHA1 Message Date
Esteban Gutierrez 6c2a299657 HBASE-12447 Add support for setTimeRange for RowCounter and CellCounter
Signed-off-by: stack <stack@apache.org>
2014-11-11 11:17:23 -08:00
Andrew Purtell 7657090ad9 HBASE-12448 Fix rate reporting in compaction progress DEBUG logging 2014-11-07 18:36:43 -08:00
Andrew Purtell 440767ff55 Reduce the effective scope of CREATE and ADMIN permissions 2014-11-07 11:53:25 -08:00
Andrew Purtell 7718390703 HBASE-12424 Finer grained logging and metrics for split transactions 2014-11-07 11:32:01 -08:00
Niels Basjes cc71d35112 Generate Thrift code using a maven profile
Signed-off-by: stack <stack@apache.org>
2014-11-06 10:27:59 -08:00
stack c71244c02d HBASE-12329 Table create with duplicate column family names quietly succeeds (Jingcheng Du) 2014-11-05 17:32:21 -08:00
stack b0eaa92f5b HBASE-8707 Add LongComparator for filter (Liu Shaohui) 2014-11-05 16:56:43 -08:00
Andrew Purtell e1b82fe91f HBASE-12389 Reduce the number of versions configured for the ACL table 2014-11-05 09:28:11 -08:00
Andrew Purtell 9255d6fdc7 HBASE-12420 BucketCache logged startup message is egregiously large 2014-11-05 09:22:00 -08:00
Andrew Purtell 48fd0369e5 HBASE-12344 Split up TestAdmin 2014-11-05 09:18:04 -08:00
Lars Hofhansl ecd708671c HBASE-12363 Improve how KEEP_DELETED_CELLS works with MIN_VERSIONS. 2014-11-04 17:08:39 -08:00
stack 3587fe8324 HBASE-12423 Use a non-managed Table in TableOutputFormat (Solomon Duskis) 2014-11-04 16:25:16 -08:00
Matteo Bertozzi 7442e5bd62 HBASE-12414 Move HFileLink.exists() to base class 2014-11-04 12:33:29 +00:00
tedyu ab927b8e1a HBASE-10780 HFilePrettyPrinter#processFile should return immediately if file does not exist (Ashish Singhi) 2014-11-03 20:31:40 -08:00
Enis Soztutar 71f73fcd0b HBASE-12402 ZKPermissionWatcher race condition in refreshing the cache leaving stale ACLs and causing AccessDenied 2014-11-03 20:09:55 -08:00
Ashish Singhi f7adec0548 HBASE-4625 Convert @deprecated HBaseTestCase tests JUnit4 style tests
Signed-off-by: stack <stack@apache.org>
2014-11-03 15:58:56 -08:00
Nick Dimiduk b5764a8e74 HBASE-12399 Master startup race between metrics and RpcServer 2014-11-01 10:45:45 -07:00
Adrian Muraru a1f59d8e1b Replication gets stuck following a transient zookeeper error to remote peer cluster
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-10-31 17:59:29 -07:00
Nick Dimiduk b784f7db99 HBASE-12401 Add some timestamp signposts in IntegrationTestMTTR 2014-10-31 17:21:20 -07:00
Nick Dimiduk f5d6314c87 HBASE-12335 IntegrationTestRegionReplicaPerf is flaky 2014-10-31 17:12:21 -07:00
Andrew Purtell a62f543c65 HBASE-12361 Show data locality of region in table page (Liu Shaohui) 2014-10-31 15:41:57 -07:00
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