3011 Commits

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

Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerOnlineConfigChange.java
2014-10-18 16:25:03 -04:00
Matteo Bertozzi
0dee72466d HBASE-12161 Add support for grant/revoke on namespaces in AccessControlClient (Srikanth Srungarapu) 2014-10-18 21:16:58 +01:00
Dima Spivak
5e9360d80c 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:51:34 -04:00
Ted Yu
cad86cca00 HBASE-12263 RegionServer listens on localhost in distributed cluster when DNS is unavailable 2014-10-17 20:52:15 +00:00
Ted Yu
3feec77421 HBASE-12264 ImportTsv should fail fast if output is not specified and table does not exist (Ashish) 2014-10-17 20:45:05 +00:00
Ted Yu
be820f3b9b HBASE-12274 Race between RegionScannerImpl#nextInternal() and RegionScannerImpl#close() may produce null pointer exception 2014-10-17 16:04:02 +00:00
Patrick White
c68c17ffec 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:42:42 -07:00
manukranthk
5ca2e4c716 HBASE-12258 TestHbaseFsck is flaky and has some multithreading issues
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-10-14 17:44:00 -07:00
stack
dc998bf787 HBASE-12247 Replace setHTable() with initializeTable() in TableInputFormat. (Solomon Duskis) 2014-10-14 14:12:23 -07:00
Matteo Bertozzi
711302e18b HBASE-12257 TestAssignmentManager unsynchronized access to regionPlans 2014-10-14 22:07:34 +01:00
stack
dbd0ba36f5 HBASE-12147 Porting Online Config Change from 89-fb -- REAPPLY 2014-10-14 12:51:49 -07:00
Nicolas Liochon
921d331fa3 HBASE-4955 Use the official versions of surefire (Alex Newman)
Conflicts:
	pom.xml
2014-10-14 11:40:41 -07:00
stack
2822a289f9 HBASE-12147 Porting Online Config Change from 89-fb -- REVERT 2014-10-14 08:51:37 -07:00
manukranthk
0057cd8ca7 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:27:39 -07:00
Rajeshbabu Chintaguntla
a6dbddacfb HBASE-10200 Better error message when HttpServer fails to start due to java.net.BindException(Kiran Kumar M R) 2014-10-14 02:26:13 +00:00
stack
8828e0a680 HBASE-12246 Compilation with hadoop-2.3.x and 2.2.x is broken -> HBASE-12220 Add hedgedReads and hedgedReadWins metrics -- REVERT 2014-10-13 15:04:34 -07:00
stack
12ac08ce44 HBASE-12029 Use Table and RegionLocator in HTable.getRegionLocations() (Solomon Duskis)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSizeCalculator.java
2014-10-13 14:52:37 -07:00
stack
9feb31056a HBASE-12242 Fix new javadoc warnings in Admin, etc. 2014-10-13 12:10:19 -07:00
stack
a33c78872a HBASE-8361 Bulk load and other utilities should not create tables for user (Ashish Singhi)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.java
2014-10-12 21:55:05 -07:00
Elliott Clark
e0085d85ae HBASE-12234 Make TestMultithreadedTableMapper a little more stable.
Signed-off-by: stack <stack@apache.org>
2014-10-12 18:39:10 -07:00
Enis Soztutar
8938dc9630 HBASE-12176 WALCellCodec Encoders support for non-KeyValue Cells (Anoop Sam John) 2014-10-11 15:33:31 -07:00
Andrew Purtell
6a37c169fc HBASE-12126 Region server coprocessor endpoint (Virag Kothari) 2014-10-10 12:07:07 -07:00
stack
8c125a40bf HBASE-11394 Replication can have data loss if peer id contains hyphen "-" 2014-10-10 10:28:44 -07:00
Ramkrishna
a5b3864121 HBASE-12210 Avoid KeyValue in Prefix Tree 2014-10-10 22:47:37 +05:30
Elliott Clark
052a6f0702 HBASE-12197 Move rest to it's on module 2014-10-10 09:51:20 -07:00
stack
608bb9e308 HBASE-12189 Fix new issues found by coverity static analysis
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaState.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/UserQuotaState.java
2014-10-09 20:51:52 -07:00
stack
ab48c0413b HBASE-12212 HBaseTestingUtility#waitUntilAllRegionsAssigned should wait for RegionStates
Signed-off-by: stack <stack@apache.org>
2014-10-09 20:35:36 -07:00
Nick Dimiduk
2918a84070 HBASE-12183 FuzzyRowFilter doesn't support reverse scans 2014-10-09 18:29:57 -07:00
stack
71ed703367 Add hedgedReads and hedgedReadWins count metrics
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestFSUtils.java
2014-10-09 15:02:50 -07:00
stack
b19db79968 HBASE-11990 Make setting the start and stop row for a specific prefix easier (Niels Basjes)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterWithScanLimits.java
	src/main/docbkx/book.xml
2014-10-09 11:22:40 -07:00
Ted Yu
258f1d567b HBASE-12109 user_permission command for namespace does not return correct result (Vandana Ayyalasomayajula) 2014-10-09 18:11:09 +00:00
Yi Deng
c61f233dfd 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:16:13 -07:00
Ted Yu
e25703dd4e HBASE-11997 CopyTable with bulkload (Yi Deng) 2014-10-09 15:49:58 +00:00
Jimmy Xiang
d665cbf630 HBASE-12209 NPE in HRegionServer#getLastSequenceId 2014-10-08 20:42:15 -07:00
Enis Soztutar
0b0948920f HBASE-12200 When a Rpc server handler thread dies, throws exception (Alicia Ying Shu) 2014-10-08 17:50:26 -07:00
Jimmy Xiang
ae57b30991 HBASE-12206 NPE in RSRpcServices 2014-10-08 17:47:37 -07:00
stack
0bec57e7c1 HBASE-12181 Some tests create a table and try to use it before regions get assigned (Dima Spivak) 2014-10-08 17:23:21 -07:00
manukranthk
ad2064d8a5 Fix failures caused by Jacoco syncthetic methods
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-10-08 12:05:33 -07:00
manukranthk
283ec57641 HBASE-12199 Make TestAtomicOperation and TestEncodedSeekers faster
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-10-08 08:47:27 -07:00
Jimmy Xiang
b7f6753e2e HBASE-12196 SSH should retry in case failed to assign regions 2014-10-07 20:28:19 -07:00
stack
2df8444477 HBASE-12191 Make TestCacheOnWrite faster. 2014-10-07 13:14:58 -07:00
Ramkrishna
de15b1fd98 HBASE-11815 - Flush and compaction could just close the tmp writer if
there is an exception
2014-10-07 09:42:21 +05:30
Jimmy Xiang
61528378e2 HBASE-12184 ServerShutdownHandler throws NPE 2014-10-06 19:25:07 -07:00
stack
ed17aacbba HBASE-11890 HBase REST Client is hard coded to http protocol 2014-10-06 12:23:38 -07:00
Ted Yu
07f0c030c3 HBASE-12011 Add namespace column during display of user tables (Srikanth Srungarapu) 2014-10-06 16:44:59 +00:00
stack
136d2d2156 HBASE-12148 RegionServerTracker should escape data in log messages 2014-10-03 19:25:18 -07:00
Ted Yu
23adb7a4f7 HBASE-12137 Alter table add cf doesn't do compression test (Virag Kothari) 2014-10-04 00:39:40 +00:00
Jimmy Xiang
12fd6d2a24 HBASE-12166 TestDistributedLogSplitting.testMasterStartsUpWithLogReplayWork 2014-10-03 17:20:28 -07:00
stack
03bb550987 HBASE-12170 TestReplicaWithCluster.testReplicaAndReplication timeouts 2014-10-03 17:07:26 -07:00
Andrew Purtell
cf3b0179fb Amend HBASE-12156 TableName cache isn't used for one of valueOf methods; make TestTableName a medium test 2014-10-03 16:59:13 -07:00