Commit Graph

694 Commits

Author SHA1 Message Date
stack 904654aa87 HBASE-12147 Porting Online Config Change from 89-fb -- JAVADOC FIX ADDENDUM 2014-10-13 21:25:51 -07:00
Enis Soztutar 6abb883865 HBASE-12083 Deprecate new HBaseAdmin() in favor of Connection.getAdmin() 2014-10-13 13:20:16 -07: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
Ted Yu 3851d05a80 HBASE-12237 HBaseZeroCopyByteString#wrap() should not be called in hbase-client code 2014-10-13 17:29:09 +00: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
stack 06a8bb5bd1 HBASE-12189 Fix new issues found by coverity static analysis 2014-10-09 20:51:04 -07:00
Nick Dimiduk 712dad814c HBASE-12183 FuzzyRowFilter doesn't support reverse scans 2014-10-09 18:27:22 -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
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
Andrew Purtell 3557a32352 HBASE-12106 Move test annotations to test artifact (Enis Soztutar) 2014-10-06 23:16:22 -07:00
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