Commit Graph

680 Commits

Author SHA1 Message Date
Ted Yu 89191230ea HBASE-12302 VisibilityClient getAuths does not propagate remote service exception correctly (Jerry He) 2014-10-21 20:09:14 +00:00
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
Enis Soztutar 10ebc49130 Update pom.xml version to 0.99.2-SNAPSHOT 2014-10-17 11:32:59 -07:00
Jeffrey Zhong e6248bd45d HBASE-9157: ZKUtil.blockUntilAvailable loops forever with non-recoverable errors 2014-10-15 11:47:15 -07:00
stack ca26d22b50 HBASE-12147 Porting Online Config Change from 89-fb -- JAVADOC FIX ADDENDUM 2014-10-14 12:57:27 -07:00
stack 0ebb98d7b3 HBASE-12147 Porting Online Config Change from 89-fb -- JAVADOC FIX ADDENDUM -- REVERT 2014-10-14 08:49:08 -07:00
stack 785d2fad2e HBASE-12147 Porting Online Config Change from 89-fb -- JAVADOC FIX ADDENDUM 2014-10-13 21:27:48 -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
Enis Soztutar d817dab0c3 HBASE-12083 Deprecate new HBaseAdmin() in favor of Connection.getAdmin()
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
2014-10-13 13:23:11 -07:00
stack 9feb31056a HBASE-12242 Fix new javadoc warnings in Admin, etc. 2014-10-13 12:10:19 -07:00
Ted Yu aeb44d10bd HBASE-12237 HBaseZeroCopyByteString#wrap() should not be called in hbase-client code 2014-10-13 17:27:41 +00:00
Enis Soztutar 7d0be32b1d Update pom.xml version for 0.99.1 2014-10-11 21:56:30 -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
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
Nick Dimiduk 2918a84070 HBASE-12183 FuzzyRowFilter doesn't support reverse scans 2014-10-09 18:29:57 -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
Andrew Purtell 695261c4a9 HBASE-12106 Move test annotations to test artifact (Enis Soztutar) 2014-10-06 23:16:58 -07:00
stack 073ca6a516 HBASE-12104 Some optimization and bugfix for HTableMultiplexer (Yi Deng) 2014-10-03 17:24:47 -07:00
Ted Yu 6b95b4a8a4 HBASE-12136 Race condition between client adding tableCF replication znode and server triggering TableCFsTracker (Virag Kothari) 2014-10-03 21:31:50 +00:00
Andrew Purtell 5881eed36e HBASE-11907 Use the joni byte[] regex engine in place of j.u.regex 2014-10-02 23:06:33 -07:00
Jimmy Xiang 16228c275d HBASE-12122 Try not to assign user regions to master all the time 2014-10-02 16:03:20 -07:00
Enis Soztutar 5ad5d0e8bc HBASE-12140 Add ConnectionFactory.createConnection() to create using default HBaseConfiguration. (Jean-Marc Spaggiari)) 2014-10-01 19:27:20 -07:00
Enis Soztutar 17b2c0f90e HBASE-12127 Move the core Connection creation functionality into ConnectionFactory (Solomon Duskis) 2014-10-01 19:02:56 -07:00
stack 9f33edab0e HBASE-12145 Fix javadoc and findbugs so new folks aren't freaked when they see them
Fix javadoc warnings.

Fixup findbugs warnings mostly by adding annotations saying 'working as expected'.

In RpcRetryingCallerWithReadReplicas made following change which findbugs spotted:

-        if (completed == null) tasks.wait();
+        while (completed == null) tasks.wait();

In RecoverableZooKeeper, made all zk accesses synchronized -- we were doing it
half-ways previously.

In RatioBasedCompactionPolicy we were making an instance of Random on
each invocation of getNextMajorCompactionTime

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionAdminServiceCallable.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RowTooBigException.java
2014-10-01 16:57:13 -07:00
Ted Yu bed04816a3 HBASE-12143 Minor fix for Table code (Solomon Duskis) 2014-10-01 20:30:52 +00:00
anoopsjohn ebe74abda9 HBASE-12112 Avoid KeyValueUtil#ensureKeyValue some more simple cases. 2014-10-01 14:15:51 +05:30
stack 7b64e7d7df HBASE-11879 Change TableInputFormatBase to take interface arguments (Solomon Duskis) 2014-09-30 21:26:14 -07:00
stack eb361fc33d HBASE-12038 Replace internal uses of signatures with byte[] and String tableNames to use the TableName equivalents (Solomon Duskis)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestTableLockManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaAdmin.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaTableUtil.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaThrottle.java
2014-09-30 16:44:29 -07:00
Enis Soztutar 1e821bc02a HBASE-12042 Replace internal uses of HTable(Configuration, String) with HTable(Configuration, TableName) (Solomon Duskis) 2014-09-29 19:39:18 -07:00
Enis Soztutar 669bc49b47 HBASE-11995 Use Connection and ConnectionFactory where possible (Solomon Duskis) 2014-09-26 12:00:24 -07:00
David Deng a01f1f8ef9 HBASE-12086 Fix bug of HTableMultipliexer
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-09-25 19:17:20 -07:00
Andrew Purtell dab2af79ea HBASE-11796 Add client support for atomic checkAndMutate (Srikanth Srungarapu) 2014-09-24 15:20:53 -07:00
Andrew Purtell 8ff5f2548a HBASE-12077 FilterLists create many ArrayList objects per row (Lars Hofhansl)
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java
2014-09-24 11:14:14 -07:00
Elliott Clark 91642eed82 HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 04:01:58 -07:00
anoopsjohn af35daac77 HBASE-12068 [Branch-1] Avoid need to always do KeyValueUtil#ensureKeyValue for Filter transformCell. 2014-09-24 13:17:34 +05:30
Enis Soztutar 48aa009581 HBASE-12056 RPC logging too much in DEBUG mode 2014-09-23 19:56:49 -07:00
Elliott Clark c32af7df5f HBASE-12059 Create hbase-annotations module 2014-09-23 16:43:45 -07:00
anoopsjohn 0834770e63 HBASE-12024 Fix javadoc warning. 2014-09-23 22:53:41 +05:30
Elliott Clark 7e6cb56e4c HBASE-12062 Fix usage of Collections.toArray 2014-09-23 10:00:03 -07:00
anoopsjohn 11e612c28c HBASE-12047 Avoid usage of KeyValueUtil#ensureKeyValue in simple cases. 2014-09-23 16:43:24 +05:30
Enis Soztutar 63c24ac73f Update pom.xml version to 0.99.1-SNAPSHOT 2014-09-22 20:14:52 -07:00
Enis Soztutar 968eadd24d HBASE-12046 HTD/HCD setters should be builder-style 2014-09-22 12:41:01 -07:00
Enis Soztutar f5305c6039 HBASE-11974 When a disabled table is scanned, NotServingRegionException is thrown instead of TableNotEnabledException (Ted Yu) 2014-09-21 15:27:18 -07:00
stack c580e4dbd5 HBASE-11917 Deprecate / Remove HTableUtil 2014-09-19 15:59:20 -07:00
stack 098816554a HBASE-10757 Change HTable class doc so it sends people to HCM getting instances 2014-09-19 13:35:46 -07:00
stack 3a5e580010 HBASE-12010 Use TableName.META_TABLE_NAME instead of indirectly from HTableDescriptor
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRollingNoCluster.java
2014-09-19 00:12:16 -07:00
Enis Soztutar ff5fa9501b HBASE-11825 Create Connection and ConnectionManager (Solomon Duskis) 2014-09-16 11:48:00 -07:00
Jimmy Xiang 95bc9a337e HBASE-11976 Server startcode is not checked for bulk region assignment 2014-09-16 09:30:01 -07:00
stack 55f144b0f9 HBASE-11893 RowTooBigException should be in hbase-client module (Mikhail Antonov) 2014-09-12 12:52:01 -07:00
stack 511b20a227 HBASE-11897 Add append and remove peer table-cfs cmds for replication (Liu Shaoqui) 2014-09-12 09:29:21 -07:00
Enis Soztutar d3bccd9b9e HBASE-11936 IsolationLevel must be attribute of a Query not a Scan (Vladimir Rodionov) 2014-09-11 12:59:40 -07:00
Enis Soztutar 6337705f26 Update pom.xml version for 0.99.0 2014-09-09 18:56:44 -07:00
Enis Soztutar d8f8a58236 HBASE-11923 Potential race condition in RecoverableZookeeper.checkZk() (Lars Hofhansl) 2014-09-09 18:38:10 -07:00
Enis Soztutar f2898985ad HBASE-11921 Minor fixups that come of testing branch-1 (Stack) 2014-09-09 12:08:15 -07:00
Enis Soztutar b175042917 HBASE-11679 Replace HTable with HTableInterface where backwards-compatible (Carter) 2014-09-09 11:51:26 -07:00
Enis Soztutar c70da8b278 HBASE-11787 TestRegionLocations is not categorized (Nicolas Liochon) 2014-09-08 16:37:31 -07:00
Enis Soztutar 73731d9231 HBASE-10841 Scan,Get,Put,Delete,etc setters should consistently return this 2014-09-05 18:50:33 -07:00
Sean Busbey 74f49496fd HBASE-11891 Introduce an HBaseInterfaceAudience level to denote class names that appear in configs.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-09-05 14:34:10 -07:00
Enis Soztutar 0cbe0522eb HBASE-11826 Split each tableOrRegionName admin methods into two targetted methods (Carter and Enis) 2014-09-03 14:58:48 -07:00
Ted Yu 5e656f85df HBASE-11878 TestVisibilityLabelsWithDistributedLogReplay#testAddVisibilityLabelsOnRSRestart sometimes fails due to VisibilityController not yet initialized 2014-09-02 22:43:16 +00:00
Enis Soztutar 1143dba61d HBASE-11797 Create Table interface to replace HTableInterface (Carter) 2014-09-02 13:08:03 -07:00
stack 6ebcc7bbbf HBASE-11865 Result implements CellScannable; rather it should BE a CellScanner 2014-08-31 00:12:08 -07:00
stack f149c26e9a HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime 2014-08-29 17:21:48 -07:00
Nicolas Liochon d12ad17381 HBASE-11851 RpcClient can try to close a connection not ready to close 2014-08-29 14:41:36 +02:00
Srikanth Srungarapu 095a0e9aa2 HBASE-11788 HBase is not deleting the cell when a Put with a KeyValue, KeyValue.Type.Delete is submitted 2014-08-27 09:16:14 -07:00
Sean Busbey 2ef6d03e56 HBASE-11828 callers of SeverName.valueOf should use equals and not ==.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-08-26 17:52:26 -07:00
Lars Hofhansl 95da29707f HBASE-9746 Addendum. 2014-08-26 10:51:44 -07:00
stack 59230cb184 HBASE-11610 Enhance remote meta updates (Virag Kothari) 2014-08-25 18:17:18 -07:00
Lars Hofhansl 6ac5718094 HBASE-9746 RegionServer can't start when replication tries to replicate to an unknown host. 2014-08-25 16:33:36 -07:00
Lars Hofhansl cfd79ac1c2 HBASE-11536 Puts of region location to Meta may be out of order which causes inconsistent of region location. (Liu Shaohui) 2014-08-25 11:40:31 -07:00
Gary Helmling 971e775f91 HBASE-11800 Make HTableInterface coprocessorService methods public 2014-08-25 10:47:24 -07:00
Ramkrishna 6aba7cf40e HBASE-11802 Scan copy constructor doesn't copy reversed member variable 2014-08-22 22:05:37 +05:30
anoopsjohn 98067274d9 HBASE-11553 Abstract visibility label related services into an interface. 2014-08-20 14:48:53 +05:30
Enis Soztutar cbc1bc7d49 HBASE-11512 Write region open/close events to WAL 2014-08-19 18:46:24 -07:00
Enis Soztutar 05e67eba9d HBASE-11572 Add support for doing get/scans against a particular replica_id (Jeffrey Zhong) 2014-08-19 18:27:20 -07:00
stack acf6911114 HBASE-11657 Put HTable region methods in an interface (Carter Page) 2014-08-19 16:15:35 -07:00
Andrew Purtell 4901e649b6 HBASE-11773 Wrong field used for protobuf construction in RegionStates (Andrey Stepachev) 2014-08-19 09:23:21 -07:00
Ramkrishna ae2a944027 HBASE-11438 - [Visibility Controller] Support UTF8 character as Visibility
Labels (Ram)
2014-08-14 12:48:57 +05:30
Nicolas Liochon 2b9123f938 HBASE-11719 Remove some unused paths in AsyncClient 2014-08-12 10:09:39 +02:00
Nicolas Liochon 8b80819a6f HBASE-11718 Remove some logs in RpcClient.java 2014-08-12 09:55:59 +02:00
Andrew Purtell b8f2f67d4c HBASE-11589 AccessControlException should be a not retriable exception (Qiang Tian)
Amending-Author: Andrew Purtell <apurtell@apache.org>
2014-08-08 19:12:09 -07:00
Lars Hofhansl fb8cc733ed HBASE-11667 Comment ClientScanner logic for NSREs. 2014-08-06 11:28:56 -07:00
Jonathan M Hsieh 058ac502f3 HBASE-11535 ReplicationPeer map is not thread safe (Virag Kothari) 2014-08-06 11:18:35 -07:00
Andrew Purtell 2084272d74 HBASE-11318 Classes in security subpackages missing @InterfaceAudience annotations (Jonathan Hsieh and Andrew Purtell) 2014-08-04 11:14:26 -07:00
Ramkrishna bf87170f50 HBASE-11384 - [Visibility Controller]Check for users covering
authorizations for every mutation (Ram)
2014-08-01 13:23:36 -07:00
Nick Dimiduk 2af67c2986 HBASE-11558 Caching set on Scan object gets lost when using TableMapReduceUtil in 0.95+ (Ishan Chhabra) 2014-07-30 13:30:51 -07:00
Nicolas Liochon d8562052a4 HBASE-11564 Improve cancellation management in the rpc layer 2014-07-24 17:49:01 +02:00
Jimmy Xiang 61dced28a3 HBASE-11565 Stale connection could stay for a while 2014-07-22 13:58:39 -07:00
Ted Yu 4fb32de394 HBASE-11471 Move TableStateManager and ZkTableStateManager and Server to hbase-server (Alex Newman) 2014-07-18 04:34:11 +00:00
stack c262173933 HBASE-11518 doc update for how to create non-shared HConnection (Qiang Tian) 2014-07-17 11:39:41 -07:00
Enis Soztutar 4fa0e3274f HBASE-11511 Write flush events to WAL 2014-07-15 14:48:30 -07:00
Enis Soztutar c76b528b6d HBASE-11367 Pluggable replication endpoint 2014-07-14 16:24:28 -07:00
Ramkrishna f0035e6837 HBASE-11509 Forward port HBASE-11039 to trunk and branch-1 after
HBASE-11489 (Ram)
2014-07-14 22:54:44 +05:30
anoopsjohn 620616050e HBASE-11437 Modify cell tag handling code to treat the length as unsigned. - Addendum 2014-07-14 15:25:12 +05:30
anoopsjohn 42a7be1032 HBASE-11437 Modify cell tag handling code to treat the length as unsigned. (Anoop) 2014-07-13 12:12:34 +05:30
anoopsjohn 15ba35b593 HBASE-11118 non environment variable solution for "IllegalAccessError: class com.google.protobuf.ZeroCopyLiteralByteString cannot access its superclass com.google.protobuf.LiteralByteString". -Addendum 2014-07-12 22:03:59 +05:30