3081 Commits

Author SHA1 Message Date
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