Commit Graph

679 Commits

Author SHA1 Message Date
stack bc4f25ff45 HBASE-12104 Some optimization and bugfix for HTableMultiplexer (Yi Deng) 2014-10-03 17:17:09 -07:00
Ted Yu efe0787c87 HBASE-12136 Race condition between client adding tableCF replication znode and server triggering TableCFsTracker (Virag Kothari) 2014-10-03 21:34:45 +00: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
Jimmy Xiang a463aef8bc HBASE-12122 Try not to assign user regions to master all the time 2014-10-02 13:30:55 -07:00
Enis Soztutar 11e28eb76b HBASE-12140 Add ConnectionFactory.createConnection() to create using default HBaseConfiguration. (Jean-Marc Spaggiari)) 2014-10-01 19:26:39 -07:00
Enis Soztutar 387f90e394 HBASE-12127 Move the core Connection creation functionality into ConnectionFactory (Solomon Duskis) 2014-10-01 19:00:59 -07:00
stack 43301167db 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
2014-10-01 16:37:13 -07:00
Ted Yu ed441ad814 HBASE-12143 Minor fix for Table code (Solomon Duskis) 2014-10-01 20:31:31 +00:00
anoopsjohn 4fac4c1ba6 HBASE-12112 Avoid KeyValueUtil#ensureKeyValue some more simple cases. 2014-10-01 14:05:57 +05:30
stack ff31691c84 HBASE-11879 Change TableInputFormatBase to take interface arguments (Solomon Duskis) 2014-09-30 21:25:04 -07:00
stack b5783795cd HBASE-12038 Replace internal uses of signatures with byte[] and String tableNames to use the TableName equivalents (Solomon Duskis) 2014-09-30 16:35:55 -07:00
Enis Soztutar 6189b52fb0 HBASE-12042 Replace internal uses of HTable(Configuration, String) with HTable(Configuration, TableName) (Solomon Duskis) 2014-09-29 18:39:44 -07:00
anoopsjohn b48a474988 HBASE-12111 Remove deprecated APIs from Mutation(s). 2014-09-29 08:03:00 +05:30
Enis Soztutar 3beb168b4f HBASE-11995 Use Connection and ConnectionFactory where possible (Solomon Duskis) 2014-09-26 11:49:37 -07:00
David Deng 78d532e5f3 HBASE-12086 Fix bug of HTableMultipliexer
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-09-25 11:30:29 -07:00
anoopsjohn 1b5e6daef2 HBASE-12084 Remove deprecated APIs from Result. 2014-09-25 07:36:15 +05:30
Andrew Purtell 011bc04416 HBASE-11796 Add client support for atomic checkAndMutate (Srikanth Srungarapu) 2014-09-24 15:07:38 -07:00
Andrew Purtell bcee3609dd HBASE-12077 FilterLists create many ArrayList objects per row (Lars Hofhansl) 2014-09-24 11:12:21 -07:00
Elliott Clark 0a28af366b HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 03:57:55 -07:00
Enis Soztutar c316257671 HBASE-12056 RPC logging too much in DEBUG mode 2014-09-23 19:53:57 -07:00
Elliott Clark a5bd931682 HBASE-12059 Create hbase-annotations module 2014-09-23 16:44:14 -07:00
anoopsjohn 564b3d8bc2 HBASE-12048 Remove deprecated APIs from Filter. 2014-09-23 23:07:38 +05:30
anoopsjohn a94f7b1400 HBASE-12024 Fix javadoc warning. 2014-09-23 22:50:55 +05:30
Elliott Clark 2635791027 HBASE-12062 Fix usage of Collections.toArray 2014-09-23 09:58:24 -07:00
anoopsjohn 791a03b40f HBASE-12047 Avoid usage of KeyValueUtil#ensureKeyValue in simple cases. 2014-09-23 16:42:01 +05:30
Enis Soztutar bcbacefdd5 HBASE-12046 HTD/HCD setters should be builder-style 2014-09-22 11:44:34 -07:00
Enis Soztutar d568aa22b8 HBASE-11974 When a disabled table is scanned, NotServingRegionException is thrown instead of TableNotEnabledException (Ted Yu) 2014-09-21 15:23:31 -07:00
stack ee2821b0a5 HBASE-11917 Deprecate / Remove HTableUtil 2014-09-19 15:56:46 -07:00
stack d2501d643b HBASE-10757 Change HTable class doc so it sends people to HCM getting instances 2014-09-19 13:34:59 -07:00
Jimmy Xiang b4c07e9a80 HBASE-12005 Split/merge fails if master restarts before PONR 2014-09-19 11:44:07 -07:00
stack 7d0f5eba2d HBASE-11462 MetaTableAccessor shouldn't use ZooKeeeper (Mikhail Antononv) 2014-09-19 11:02:35 -07:00
stack e05f78ec01 HBASE-12010 Use TableName.META_TABLE_NAME instead of indirectly from HTableDescriptor 2014-09-19 00:05:50 -07:00
Matteo Bertozzi bd8df9ccd4 HBASE-11598 Add simple rpc throttling 2014-09-18 22:38:30 +01:00
Enis Soztutar cad76a3431 HBASE-11825 Create Connection and ConnectionManager (Solomon Duskis) 2014-09-16 11:40:29 -07:00
Jimmy Xiang cc873713c1 HBASE-11976 Server startcode is not checked for bulk region assignment 2014-09-16 09:19:27 -07:00
stack 5554692871 HBASE-11862 Get rid of Writables in HTableDescriptor, HColumnDescriptor (Andrey Stepachev) 2014-09-15 11:08:21 -07:00
stack 3cc5d19039 HBASE-7767 Get rid of ZKTable, and table enable/disable state in ZK (Andrey Stepachev) 2014-09-15 10:12:49 -07:00
stack 3c9bd7d296 HBASE-11911 Break up tests into more fine grained categories (Alex Newman) 2014-09-12 21:37:06 -07:00
stack 7a1b7ef261 HBASE-11893 RowTooBigException should be in hbase-client module (Mikhail Antonov) 2014-09-12 12:35:28 -07:00
stack c0d4b26872 HBASE-11897 Add append and remove peer table-cfs cmds for replication (Liu Shaoqui) 2014-09-12 09:28:52 -07:00
Jimmy Xiang 3a82cf238b HBASE-11760 Tighten up region state transition 2014-09-11 13:21:12 -07:00
Enis Soztutar 4cb76aa929 HBASE-11936 IsolationLevel must be attribute of a Query not a Scan (Vladimir Rodionov) 2014-09-11 12:58:04 -07:00
Enis Soztutar 686b860f35 HBASE-11923 Potential race condition in RecoverableZookeeper.checkZk() (Lars Hofhansl) 2014-09-09 18:35:53 -07:00
Enis Soztutar f7bcf3df6b HBASE-11921 Minor fixups that come of testing branch-1 (Stack) 2014-09-09 12:05:43 -07:00
Enis Soztutar 4995ed8a02 HBASE-11679 Replace HTable with HTableInterface where backwards-compatible (Carter) 2014-09-08 23:39:34 -07:00
Enis Soztutar 27d4ca2f64 HBASE-11787 TestRegionLocations is not categorized (Nicolas Liochon) 2014-09-08 16:36:42 -07:00
Enis Soztutar 34a5019b42 HBASE-10841 Scan,Get,Put,Delete,etc setters should consistently return this 2014-09-05 18:48:38 -07:00
Sean Busbey 39609a556a 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:33:39 -07:00
Enis Soztutar 1a6eea335f HBASE-11826 Split each tableOrRegionName admin methods into two targetted methods (Carter and Enis) 2014-09-03 14:39:35 -07:00
Ted Yu b2d528aac6 HBASE-11878 TestVisibilityLabelsWithDistributedLogReplay#testAddVisibilityLabelsOnRSRestart sometimes fails due to VisibilityController not yet initialized 2014-09-02 22:44:18 +00:00
Enis Soztutar 211c1e8ad4 HBASE-11797 Create Table interface to replace HTableInterface (Carter) 2014-09-02 13:07:02 -07:00
stack 5719e4098b HBASE-11865 Result implements CellScannable; rather it should BE a CellScanner 2014-08-31 00:11:35 -07:00
stack 3bfbd06291 HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime 2014-08-29 17:14:25 -07:00
Jimmy Xiang b7f7514762 HBASE-11689 Track meta in transition (Andrey Stepachev and Jimmy Xiang) 2014-08-29 13:23:35 -07:00
Nicolas Liochon 8c0e5dca75 HBASE-11851 RpcClient can try to close a connection not ready to close 2014-08-29 14:35:57 +02:00
Srikanth Srungarapu 57328e1121 HBASE-11788 HBase is not deleting the cell when a Put with a KeyValue, KeyValue.Type.Delete is submitted 2014-08-27 09:05:34 -07:00
Sean Busbey 3411f830e3 HBASE-11828 callers of SeverName.valueOf should use equals and not ==.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-08-26 17:52:13 -07:00
Lars Hofhansl e27a427f9b HBASE-9746 Addendum. 2014-08-26 10:56:55 -07:00
Lars Hofhansl d79db4d221 HBASE-9746 RegionServer can't start when replication tries to replicate to an unknown host. 2014-08-25 16:32:01 -07:00
stack dd6c21e4d5 HBASE-11610 Enhance remote meta updates 2014-08-25 11:55:43 -07:00
Lars Hofhansl c3d2d6127e 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:35:22 -07:00
Gary Helmling db520b94cb HBASE-11800 Make HTableInterface coprocessorService methods public 2014-08-22 11:06:08 -07:00
Ramkrishna 6f00f859a7 HBASE-11802 Scan copy constructor doesn't copy reversed member variable 2014-08-22 22:03:57 +05:30
anoopsjohn 062f6a6aac HBASE-11553 Abstract visibility label related services into an interface. 2014-08-20 14:47:29 +05:30
Enis Soztutar e28ec72464 HBASE-11568 Async WAL replication for region replicas 2014-08-19 18:59:22 -07:00
Enis Soztutar d44e7df5dc HBASE-11512 Write region open/close events to WAL 2014-08-19 18:45:21 -07:00
Enis Soztutar aeecd20373 HBASE-11572 Add support for doing get/scans against a particular replica_id (Jeffrey Zhong) 2014-08-19 18:23:09 -07:00
stack c08f850d40 HBASE-11657 Put HTable region methods in an interface (Carter Page) 2014-08-19 16:15:02 -07:00
Andrew Purtell 393a2a3814 HBASE-11773 Wrong field used for protobuf construction in RegionStates (Andrey Stepachev) 2014-08-19 09:24:45 -07:00
Ramkrishna c1660a7962 HBASE-11438 - [Visibility Controller] Support UTF8 character as Visibility
Labels (ram)
2014-08-14 12:41:16 +05:30
Nicolas Liochon fadb0900a0 HBASE-11719 Remove some unused paths in AsyncClient 2014-08-12 10:11:02 +02:00
Nicolas Liochon 2c3340c00a HBASE-11718 Remove some logs in RpcClient.java 2014-08-12 09:52:24 +02:00
Andrew Purtell 12d4a42e71 HBASE-11589 AccessControlException should be a not retriable exception (Qiang Tian) 2014-08-08 19:10:56 -07:00
Jimmy Xiang 17dff6818e HBASE-11611 Clean up ZK-based region assignment 2014-08-06 16:22:08 -07:00
Lars Hofhansl 25e6baee42 HBASE-11667 Comment ClientScanner logic for NSREs. 2014-08-06 11:28:11 -07:00
Jonathan M Hsieh 6dee406bf3 HBASE-11535 ReplicationPeer map is not thread safe (Virag Kothari) 2014-08-06 11:16:53 -07:00
Devaraj Das 8562752143 HBASE-10674. HBCK should be updated to do replica related checks 2014-08-04 18:00:29 -07:00
Andrew Purtell 757b13dea4 HBASE-11318 Classes in security subpackages missing @InterfaceAudience annotations (Jonathan Hsieh and Andrew Purtell) 2014-08-04 11:13:58 -07:00
Ramkrishna 4fd3b110f3 HBASE-11384 - [Visibility Controller]Check for users covering
authorizations for every mutation (Ram)
2014-08-01 13:18:09 -07:00
Nick Dimiduk 50ac59fa85 HBASE-11558 Caching set on Scan object gets lost when using TableMapReduceUtil in 0.95+ (Ishan Chhabra) 2014-07-30 13:29:40 -07:00
Jimmy Xiang 7f9ec95831 HBASE-11606 Enable ZK-less region assignment by default 2014-07-29 09:37:43 -07:00
stack 6a74ef1542 HBASE-4436 Remove and convert @deprecated RemoteExceptionHandler.decodeRemoteException calls (Talat Uyarer) 2014-07-28 18:16:55 -07:00
Nicolas Liochon d8401c8e44 HBASE-11564 Improve cancellation management in the rpc layer 2014-07-24 15:53:32 +02:00
Jimmy Xiang b81302852f HBASE-11565 Stale connection could stay for a while 2014-07-22 13:56:52 -07:00
Jonathan M Hsieh c5dc88791b HBASE-11556 Move HTablePool to hbase-thrift module 2014-07-21 15:43:32 -07:00
stack 4aeded7588 HBASE-11548 [PE] Add 'cycling' test N times and unit tests for size/zipf/valueSize calculations 2014-07-18 23:57:00 -07:00
Ted Yu 5bf37d0b51 HBASE-11471 Move TableStateManager and ZkTableStateManager and Server to hbase-server (Alex Newman) 2014-07-18 04:36:40 +00:00
stack f8153a1456 HBASE-11518 doc update for how to create non-shared HConnection (Qiang Tian) 2014-07-17 11:39:00 -07:00
Enis Soztutar bbe29eb93c HBASE-11511 Write flush events to WAL 2014-07-15 14:47:19 -07:00
Ramkrishna 995a5a6c68 HBASE-10930 Change Filters and GetClosestRowBeforeTracker to work with
Cells (Ram)
2014-07-15 22:07:00 +05:30
Enis Soztutar 463d52d8cf HBASE-11367 Pluggable replication endpoint 2014-07-14 16:22:26 -07:00
Ramkrishna e71d69bf00 HBASE-11509 Forward port HBASE-11039 to trunk and branch-1 after
HBASE-11489 (Ram)
2014-07-14 22:52:48 +05:30
anoopsjohn 470d00ea9a HBASE-11437 Modify cell tag handling code to treat the length as unsigned. - Addendum 2014-07-14 15:24:09 +05:30
stack a6fd48ba12 HBASE-11499 AsyncProcess.buildDetailedErrorMessage concatenates strings using + in a loop (Mike Drob) 2014-07-13 21:48:06 -07:00
anoopsjohn 213e565bce HBASE-11437 Modify cell tag handling code to treat the length as unsigned. (Anoop) 2014-07-13 12:10:21 +05:30
anoopsjohn f5e13c7460 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:02:26 +05:30
anoopsjohn 5a408af65f HBASE-11500 Possible null pointer dereference of regionLocation in ReversedScannerCallable. (Mike Drob) 2014-07-12 18:17:17 +05:30
Nick Dimiduk c01e7e50c1 HBASE-11118 non environment variable solution for "IllegalAccessError: class com.google.protobuf.ZeroCopyLiteralByteString cannot access its superclass com.google.protobuf.LiteralByteString" 2014-07-11 16:52:32 -07:00
Ted Yu b3da98a1a2 HBASE-11460 Deadlock in HMaster on masterAndZKLock in HConnectionManager 2014-07-11 16:15:49 +00:00
Enis Soztutar 09fcdb50af HBASE-11475 Distributed log replay should also replay compaction events 2014-07-10 10:50:22 -07:00