Commit Graph

1104 Commits

Author SHA1 Message Date
tedyu 7a3ea23704 HBASE-13171 Change AccessControlClient methods to accept connection object to reduce setup time (Srikanth Srungarapu) 2015-03-11 18:24:12 -07:00
Enis Soztutar c938267db3 HBASE-13063 Allow to turn off memstore replication for region replicas - ADDENDUM for turning of primary flush tigger when this is enabled 2015-03-11 14:56:54 -07:00
stack b436db7d70 HBASE-13142 [PERF] Reuse the IPCUtil#buildCellBlock buffer; ADDENDUM 2015-03-10 22:17:08 -07:00
Matteo Bertozzi cbf03787ea HBASE-13063 Allow to turn off memstore replication for region replicas 2015-03-10 10:02:04 +00:00
zhangduo 9b53a1c214 HBASE-12405 WAL accounting by Store 2015-03-10 13:00:02 +08:00
Enis Soztutar 5025d3aa91 HBASE-13121 Async wal replication for region replicas and dist log replay does not work together 2015-03-09 15:49:09 -07:00
Andrey Stepachev 948746ce4e HBASE-12990 MetaScanner should be replaced by MetaTableAccessor 2015-03-09 10:39:59 +00:00
Enis Soztutar 95fc53f105 HBASE-12706 Support multiple port numbers in ZK quorum string (Stephen Yuan Jiang) 2015-03-06 16:46:17 -08:00
stack 9159c82fbf HBASE-13142 [PERF] Reuse the IPCUtil#buildCellBlock buffer 2015-03-06 14:35:08 -08:00
tedyu 8449251fb6 HBASE-13122 Improve efficiency for return codes of some filters (Shuaifeng) 2015-03-05 18:42:22 -08:00
Jonathan M Hsieh 47ed5cd7ed HBASE-13012 Add shell commands to trigger the mob file compactor (Jingcheng Du and Jiajia Li) 2015-03-04 23:47:05 -08:00
stack 74837d9b1f Revert " HBASE-13142 [PERF] Reuse the IPCUtil#buildCellBlock buffer"
OVERCOMMIT. REVERT.

This reverts commit 55f8f56ad2.
2015-03-04 22:58:02 -08:00
stack 55f8f56ad2 HBASE-13142 [PERF] Reuse the IPCUtil#buildCellBlock buffer
Rename ByteBufferReservoir as BoundedByteBufferPool
2015-03-04 22:44:20 -08:00
Jonathan Lawlor de9791e91e HBASE-11544: [Ergonomics] hbase.client.scanner.caching is dogged and will try to return batch even if it means OOME
Signed-off-by: stack <stack@apache.org>
2015-03-04 17:34:48 -08:00
Misty Stanley-Jones 39425a8558 HBASE-11670 Generate PDF of Reference Guide 2015-03-05 09:31:11 +10:00
Lars Hofhansl 464e7ce685 HBASE-13109 Make better SEEK vs SKIP decisions during scanning. 2015-03-04 14:03:47 -08:00
Enis Soztutar 9899aab12b HBASE-11580 Failover handling for secondary region replicas 2015-03-03 11:48:12 -08:00
tedyu e0019d99de HBASE-13122 Revert pending answer to Ram's question 2015-03-02 21:00:26 -08:00
Andrew Purtell 0c63eeb511 HBASE-12995 Document that HConnection#getTable methods do not check table existence since 0.98.1 2015-03-02 16:58:45 -08:00
tedyu 7b5c9eabac HBASE-13122 Improve efficiency for return codes of some filters (Shuaifeng Zhou) 2015-03-02 07:47:33 -08:00
tedyu 4980bfe642 HBASE-13134 mutateRow and checkAndMutate apis don't throw region level exceptions (Francis Liu) 2015-03-01 20:22:07 -08:00
Sean Busbey dad2474f08 HBASE-13131 ReplicationAdmin must clean up connections if constructor fails. 2015-03-01 00:20:44 -06:00
zhangduo 21f12ce8e5 HBASE-13097 addendum use default ByteBufAllocator
Signed-off-by: stack <stack@apache.org>
2015-02-27 17:18:59 -08:00
zhangduo d1619bceb3 HBASE-13097 Use same EventLoopGroup for different AsyncRpcClients if possible
Signed-off-by: stack <stack@apache.org>
2015-02-27 08:34:46 -08:00
Nick Dimiduk c651271f57 HBASE-13086 Show ZK root node on Master WebUI 2015-02-24 19:04:12 -08:00
Ashish Singhi 913ea2c222 HBASE-13048 Use hbase.crypto.wal.algorithm in SecureProtobufLogReader while decrypting the data
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-02-24 18:18:07 -08:00
Devaraj Das 70412d886c HBASE-13067. Fix caching of stubs to allow IP address changes of restarted remote servers. 2015-02-23 22:15:03 -08:00
zhangduo b20675f5af HBASE-12953 RegionServer is not functionally working with AysncRpcClient in secure mode
Signed-off-by: stack <stack@apache.org>
2015-02-23 20:38:19 -08:00
Enis Soztutar e405017a31 HBASE-12561 Replicas of regions can be cached from different instances of the table in MetaCache 2015-02-23 11:06:17 -08:00
Jonathan M Hsieh fe335b683c Merge branch 'master' (2/11/15) into hbase-11339
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
	hbase-client/src/test/java/org/apache/hadoop/hbase/TestHColumnDescriptor.java
	hbase-common/src/main/java/org/apache/hadoop/hbase/TagType.java
	hbase-common/src/main/resources/hbase-default.xml
	hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
	hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSourceImpl.java
	hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/io/HFileLink.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/DeleteTableHandler.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/DisabledTableSnapshotHandler.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultStoreEngine.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/Compactor.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/DefaultCompactor.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/StripeCompactor.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/RestoreSnapshotHelper.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotReferenceUtil.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperStub.java
	pom.xml
	src/main/docbkx/book.xml
	src/main/docbkx/ops_mgt.xml
	src/main/docbkx/schema_design.xml
2015-02-22 12:54:45 -08:00
tedyu 9a311303a8 HBASE-13057 Provide client utility to easily enable and disable table replication (Ashish Singhi) 2015-02-20 10:18:47 -08:00
Ashish Singhi 31f17b17f0 HBASE-13002 Make encryption cipher configurable
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-02-18 11:42:20 -08:00
Devaraj Das 14bb352b02 HBASE-13036. Meta scanner should use its own threadpool 2015-02-18 10:23:02 -08:00
zhangduo 20bc74dff0 HBASE-13066 Fix typo in AsyncRpcChannel
Signed-off-by: stack <stack@apache.org>
2015-02-18 09:43:27 -08:00
zhangduo e99091e97c HBASE-13011 TestLoadIncrementalHFiles is flakey when using AsyncRpcClient as client implementation
Added comment to AsyncRpcChannel data members

Signed-off-by: stack <stack@apache.org>
2015-02-16 09:03:31 -08:00
Sean Busbey c96df5e240 HBASE-13027 Ensure extension of TableInputFormatBase works.
* move mapreduce version of TableInputFormat tests out of mapred
* add ability to get runnable job via MR test shims
* correct the javadoc example for current APIs.
* add tests the run a job based on the extending TableInputFormatBase (as given in the javadocs)
* add tests that run jobs based on the javadocs from 0.98
* fall back to our own Connection if ussers of the deprecated table configuration have a managed connection.
2015-02-13 18:41:04 -06:00
stack 3babad30e6 HBASE-13030 [1.0.0 polish] Make ScanMetrics public again and align Put 'add' with Get, Delete, etc., addColumn 2015-02-13 15:24:38 -08:00
Enis Soztutar 3e10e6e1a6 HBASE-11569 Flush / Compaction handling from secondary region replicas 2015-02-13 11:08:24 -08:00
Ashish Singhi 16ed345191 HBASE-9531 a command line (hbase shell) interface to retreive the replication metrics and show replication lag
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-02-12 14:50:01 -08:00
Andrew Purtell dc522d010c HBASE-12996 Reversed field on Filter should be transient (Ian Friedman) 2015-02-11 12:17:51 -08:00
stack dec0ec2290 HBASE-13016 Clean up remnants of table states stored in table descriptors (Andrey Stepachev) 2015-02-11 11:09:03 -08:00
stack fa852c4ce6 HBASE-12035 Keep table state in META (Andrey Stepachev) 2015-02-10 14:20:47 -08:00
Jeffrey Zhong 3f4427739d HBASE-11567 Write bulk load COMMIT events to WAL (Alex Newman, Jeffrey Zhong) 2015-02-06 18:07:30 -08:00
stack 96cdc7987e HBASE-12958 SSH doing hbase:meta get but hbase:meta not assigned 2015-02-04 22:56:40 -08:00
Victoria Dudin 4f472062a4 HBASE-12961 Fix negative values in read and write region server metrics. 2015-02-04 10:32:09 -08:00
Devaraj Das cf5ad96fcc HBASE-10942. support parallel request cancellation for multi-get (Nicolas Liochon & Devaraj Das) 2015-02-02 23:01:31 -08:00
zhangduo fef78acf65 HBASE-12951 TestHCM.testConnectionClose is flakey when using AsyncRpcClient as client implementation
Signed-off-by: stack <stack@apache.org>
2015-02-02 08:27:57 -08:00
stack 538388c2b5 HBASE-6778 Deprecate Chore; its a thread per task when we should have one thread to do all tasks (Jonathan Lawlor) 2015-01-29 19:26:26 -08:00
Lars Hofhansl 1270e590d1 HBASE-12859 New master API to track major compaction completion. 2015-01-29 13:58:27 -08:00
Devaraj Das 6b20a0f831 HBASE-11574. hbase:meta's regions can be replicated 2015-01-27 16:40:29 -08:00
tedyu aaeafca920 HBASE-7847 Use zookeeper multi to clear znodes (Rakesh R) 2015-01-26 21:40:39 -08:00
Enis Soztutar 2fb19fb951 HBASE-11908 Region replicas should be added to the meta table at the time of table creation 2015-01-26 19:55:47 -08:00
tedyu 26b8b48b42 HBASE-12915 Disallow small scan with batching 2015-01-26 10:58:53 -08:00
stack a4be1b84e4 HBASE-12684 Add new AsyncRpcClient (Jurriaan Mous) -- SMALL AMENDMENT 2015-01-24 18:24:32 -08:00
Jurriaan Mous 854f13afa1 HBASE-12684 Add new AsyncRpcClient (Jurriaan Mous)
Signed-off-by: stack <stack@apache.org>
2015-01-24 18:05:39 -08:00
Nick Dimiduk 588b43b06b HBASE-12728 buffered writes substantially less useful after removal of HTablePool (addendum) 2015-01-23 14:45:21 -08:00
Nick Dimiduk ab18158e60 HBASE-12728 buffered writes substantially less useful after removal of HTablePool (Solomon Duskis and Nick Dimiduk)
In our pre-1.0 API, HTable is considered a light-weight object that consumed by
a single thread at a time. The HTablePool class provided a means of sharing
multiple HTable instances across a number of threads. As an optimization,
HTable managed a "write buffer", accumulating edits and sending a "batch" all
at once. By default the batch was sent as the last step in invocations of
put(Put) and put(List<Put>). The user could disable the automatic flushing of
the write buffer, retaining edits locally and only sending the whole "batch"
once the write buffer has filled or when the flushCommits() method in invoked
explicitly. Explicit or implicit batch writing was controlled by the
setAutoFlushTo(boolean) method. A value of true (the default) had the write
buffer flushed at the completion of a call to put(Put) or put(List<Put>). A
value of false allowed for explicit buffer management. HTable also exposed the
buffer to consumers via getWriteBuffer().

The combination of HTable with setAutoFlushTo(false) and the HTablePool
provided a convenient mechanism by which multiple "Put-producing" threads could
share a common write buffer. Both HTablePool and HTable are deprecated, and
they are officially replaced in The new 1.0 API by Table and BufferedMutator.
Table, which replaces HTable, no longer exposes explicit write-buffer
management. Instead, explicit buffer management is exposed via BufferedMutator.
BufferedMutator is made safe for concurrent use. Where code would previously
retrieve and return HTables from an HTablePool, now that code creates and
shares a single BufferedMutator instance across all threads.
2015-01-23 08:48:31 -08:00
Andrew Purtell 71ab4ddb19 HBASE-12731 Heap occupancy based client pushback 2015-01-22 17:33:21 -08:00
Nick Dimiduk 9824eb7840 HBASE-12810 Update to htrace-incubating 2015-01-22 14:28:20 -08:00
Sean Busbey 418ea93774 HBASE-12898 ensure direct dependencies are declared. 2015-01-22 14:33:25 -06:00
Nick Dimiduk 9bdb81f0a1 HBASE-12887 Cleanup many checkstyle errors in o.a.h.h.client 2015-01-20 12:44:36 -08:00
Andrew Purtell 03e17168c3 HBASE-12840 Improve unit test coverage of the client pushback mechanism 2015-01-17 11:50:26 -08:00
Enis Soztutar 092c91eb0f HBASE-12837 ReplicationAdmin leaks zk connections (stack) 2015-01-16 13:16:12 -08:00
Misty Stanley-Jones 1a21c1684c HBASE-11533 Asciidoc Proof of Concept 2015-01-13 22:32:29 -08:00
tedyu e5f3dd682f HBASE-11144 Filter to support scanning multiple row key ranges (Jiajia Li) 2015-01-13 07:02:06 -08:00
Andrew Purtell c32a2c0b16 HBASE-12839 Remove synchronization in ServerStatisticsTracker 2015-01-12 16:06:51 -08:00
Enis Soztutar 8816fa05c2 HBASE-12832 Describe table from shell no longer shows Table's attributes, only CF attributes (Srikanth Srungarapu) 2015-01-12 14:00:22 -08:00
Nick Dimiduk dde713ee4e HBASE-12071 Separate out thread pool for Master <-> RegionServer communication (Stephen Yuan Jiang) 2015-01-08 14:17:00 -08:00
tedyu 9246af8dac HBASE-12796 Clean up HTable and HBaseAdmin deprecated constructor usage (Jurriaan Mous) 2015-01-08 07:49:28 -08:00
Enis Soztutar c348cd327b HBASE-12788 Promote Abortable to LimitedPrivate 2015-01-05 16:29:27 -08:00
tedyu ac95cc1fbb HBASE-12783 Create efficient RegionLocator implementation (Solomon Duskis) 2015-01-02 19:48:06 -08:00
Jurriaan Mous e5ec14af04 HBASE-12761 On region jump ClientScanners should get next row start key instead of a skip.
Signed-off-by: stack <stack@apache.org>
2014-12-30 14:47:01 -08:00
Esteban Gutierrez b2eea8cac6 HBASE-12695 JDK 1.8 compilation broken
Signed-off-by: stack <stack@apache.org>
2014-12-29 11:02:04 -08:00
stack a8766fd623 HBASE-12641 Grant all permissions of hbase zookeeper node to hbase superuser in a secure cluster (Liu Shaohui) 2014-12-27 21:11:57 -08:00
stack 2b090d6832 HBASE-12739 Avoid too large identifier of ZooKeeperWatcher (Liu Shaohui) 2014-12-23 12:20:30 -08:00
Jurriaan Mous 4880e5d83b HBASE-12736
Signed-off-by: stack <stack@apache.org>
2014-12-23 10:30:25 -08:00
tedyu 700de7d92c HBASE-12750 getRequestsCount() in ClusterStatus returns total number of request (Weichen Ye) 2014-12-23 10:26:16 -08:00
Devaraj Das 1c45d1cd9d HBASE-12012. Improve cancellation for the scan RPCs 2014-12-22 16:22:04 -08:00
stack b004e4ff5b HBASE-11412 Minimize a number of hbase-client transitive dependencies (Sergey Beryozkin) 2014-12-19 07:55:53 -08:00
Enis Soztutar 83e4bfaf73 HBASE-11412 Minimize a number of hbase-client transitive dependencies (Sergey Beryozkin) 2014-12-17 21:53:18 -08:00
Andrew Purtell 99a11390b4 Amend HBASE-5162 Basic client pushback mechanism (Jesse Yates)
Applied hbase-5162-trunk-addendum.patch
2014-12-16 22:15:49 -08:00
Andrew Purtell 6a042c381a Revert "HBASE-5162 Basic client pushback mechanism (Jesse Yates); ADDENDUM"
This reverts commit f7154e1ac9.
2014-12-16 22:14:50 -08:00
stack f7154e1ac9 HBASE-5162 Basic client pushback mechanism (Jesse Yates); ADDENDUM 2014-12-16 21:09:52 -08:00
zhangduo c7fad665f3 HBASE-10201 Port 'Make flush decisions per column family' to trunk
Signed-off-by: stack <stack@apache.org>
2014-12-16 11:49:17 -08:00
Jesse Yates a411227b0e HBASE-5162 Basic client pushback mechanism
Instead of just blocking the client for 90 seconds when the region gets too
busy, it now sends along region load stats to the client so the client can
know how busy the server is. Currently, its just the load on the memstore, but
it can be extended for other stats (e.g. cpu, general memory, etc.).

It is then up to the client to decide if it wants to listen to these stats.
By default, the client ignores the stats, but it can easily be toggled to the
built-in exponential back-off or users can plug in their own back-off
implementations
2014-12-16 11:14:30 -08:00
stack 029768287a HBASE-12422 Use ConnectionFactory in HTable constructors Fix method signature in test 2014-12-14 19:42:15 -08:00
Enis Soztutar 743d16138e HBASE-12679 Add HBaseInterfaceAudience.TOOLS and move some of the Public classes to LimitedPrivate 2014-12-14 17:46:30 -08:00
tedyu 65830b096b HBASE-12659 Replace the method calls to grant and revoke in shell scripts with AccessControlClient (Srikanth Srungarapu) 2014-12-13 10:17:43 -08:00
Jurriaan Mous 3275b964c1 HBASE-12668 Adapt PayloadCarryingRpcController so it can also be used in an async way
Signed-off-by: stack <stack@apache.org>
2014-12-12 07:44:04 -08:00
Misty Stanley-Jones 7d10af1254 HBASE-9763 Scan javadoc doesn't fully capture semantics of start and stop row (Gabriel Reid) 2014-12-12 13:39:16 +10:00
stack da2b5a9627 HBASE-12373 Provide a command to list visibility labels (Jerry He) 2014-12-11 15:18:03 -08:00
stack df22270756 HBASE-12665 When aborting, dump metrics
Add some fixup of checkstyle fails
2014-12-09 21:01:15 -08:00
Nick Dimiduk e720c83557 HBASE-12652 Allow unmanaged connections in MetaTableAccessor (Solomon Duskis) 2014-12-09 11:27:34 -08:00
Matteo Bertozzi 8a2c84156a HBASE-12564 consolidate the getTableDescriptors() semantic 2014-12-09 12:06:00 +00:00
Jurriaan Mous a8e6461855 HBASE-12597
Signed-off-by: stack <stack@apache.org>
2014-12-08 15:40:09 -08:00
stack 1a27cb7b0f Revert "HBASE-12597 Add RpcClient interface and enable changing of RpcClient implementation (Jurriaan Mous)"
Revert partial commit of HBASE-12597

This reverts commit 4be2034a26.
2014-12-08 15:35:50 -08:00
stack b8ab1b176c Revert "HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG"
Accidental commit. Reverting.

This reverts commit 2458be08ed.
2014-12-08 15:34:53 -08:00
stack 4be2034a26 HBASE-12597 Add RpcClient interface and enable changing of RpcClient implementation (Jurriaan Mous) 2014-12-08 15:13:50 -08:00
stack 2458be08ed HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG 2014-12-08 15:04:59 -08:00
stack 4b1983c89d HBASE-12611 Create autoCommit() method and remove clearBufferOnFail (Solomon Duskis) 2014-12-08 11:01:28 -08:00
tedyu 9e9be97af7 HBASE-12650 Move ServerName to hbase-common module - check in changed files 2014-12-08 07:08:44 -08:00
tedyu e930510c65 HBASE-12650 Move ServerName to hbase-common module - remove files 2014-12-08 07:01:47 -08:00
Devaraj Das 9fd6db3703 HBASE-11903. Directly invoking split & merge of replica regions should be disallowed 2014-12-07 11:56:53 -08:00
Gary Helmling b7d1790411 HBASE-12493 Addendum - Fix javadoc warnings 2014-12-06 00:33:12 -08:00
Gary Helmling 1ec6609b97 HBASE-12493 Make User and TokenUtil public 2014-12-05 13:04:54 -08:00
Andrew Purtell 09cd3d7bfb HBASE-10560 Per cell TTLs 2014-12-05 11:10:26 -08:00
stack c45772e76a HBASE-12431 Use of getColumnLatestCell(byte[], int, int, byte[], int, int) is Not Thread Safe (Jingcheng Du) 2014-12-03 22:34:27 -08:00
stack 7a3396f0e1 HBASE-12490 Replace uses of setAutoFlush(boolean, boolean) (Solomon Duskis) 2014-12-02 10:06:21 -08:00
stack 1a9b556474 Revert "HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG"
This reverts commit 8b8f2026bd.

Overcommit. Added "HBASE-12490 Replace uses of setAutoFlush(boolean,
boolean)" by mistake

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClusterStatusListener.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
2014-12-02 09:51:19 -08:00
tedyu 2fbbdfd9a1 HBASE-12559 Revert for addressing review comments 2014-12-01 10:38:05 -08:00
stack 56a03d736a HBASE-12603 Remove javadoc warnings introduced due to removal of unused imports (Varun Saxena) 2014-12-01 10:13:16 -08:00
Ramkrishna b6b88edf93 HBASE-11639 [Visibility controller] Replicate the visibility of Cells as
strings (Ram)
2014-12-01 23:03:52 +05:30
tedyu 41041e8d6a HBASE-12559 Provide LoadBalancer with online configuration capability 2014-12-01 07:30:17 -08:00
stack 555e78005d HBASE-12526 Remove unused imports (Varun Saxena) 2014-11-29 09:20:46 -08:00
stack 58b6b24c29 HBASE-12519 Remove tabs used as whitespace (Varun Saxena) 2014-11-28 20:50:02 -08:00
Jeffrey Zhong f0d95e7f11 HBASE-12533: staging directories are not deleted after secure bulk load 2014-11-26 16:23:11 -08:00
Enis Soztutar 02963b202a HBASE-12072 Standardize retry handling for master operations 2014-11-26 12:09:44 -08:00
Enis Soztutar 54627ea6dc HBASE-12128 Cache configuration and RpcController selection for Table in Connection 2014-11-26 12:07:49 -08:00
stack 8df780db88 HBASE-12400 Fix refguide so it does connection#getTable rather than new HTable everywhere 2014-11-26 09:12:16 -08:00
stack 8b8f2026bd HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG 2014-11-25 21:21:50 -08:00
stack e6b4300756 HBASE-12404 Task 5 from parent: Replace internal HTable constructor use with
HConnection#getTable (0.98, 0.99)

Replaced HTable under hbase-*/src/main/java. Skipped tests. Would take
till end of time to do all and some cases are cryptic. Also skipped
some mapreduce where HTable comes through in API. Can do both of
these stragglers in another issue.
Generally, if a utility class or standalone class, tried to pass in a
Connection rather than have the utility or standalone create its own
connection on each invocation; e.g. the Quota stuff. Where not possible,
noted where invocation comes from... if test or hbck, didn't worry about
it.
Some classes are just standalone and nothing to be done to avoid
a Connection setup per invocation (this is probably how it worked
in the new HTable...days anyways). Some classes are not used:
AggregationClient, FavoredNodes... we should just purge this stuff.
Doc on what short circuit connection does (I can just use it...
I thought it was just for short circuit but no, it switches dependent
on where you are connecting).
Changed HConnection to super Interface ClusterConnection where safe (
internal usage by private classes only).
Doc cleanup in example usage so we do new mode rather than the old
fashion.
Used java7 idiom that allows you avoid writing out finally to call close
on implementations of Closeable.
Added a RegistryFactory.. moved it out from being inner class.
Added a utility createGetClosestRowOrBeforeReverseScan method to Scan
to create a Scan that can ...
Renamed getShortCircuitConnection as getConnection – users don't need
to know what implementation does (that it can short-circuit RPC).
The old name gave pause. I was frightened to use it thinking it only
for short-circuit reading – that it would not do remote too.
Squashed commit of the following:
2014-11-25 08:15:20 -08:00
stack 336c22d581 HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99) under src/main/java
Move from HConnection to ClusterConnection or Connection
Use unmanaged connections where we use managed previous
(used the jdk7 https://docs.oracle.com/javase/7/docs/technotes/guides/language/try-with-resources.html idiom).

In ZKConfig, synchronize on Configuration rather than make a copy.
Making a copy we were dropping hbase configs in certain test context
(could not find the zk ensemble because default port).

In tests, some move to the new style connection setup but mostly
fixes for premature connection close or adding cleanup where it
was lacking.
2014-11-24 09:46:28 -08:00
Enis Soztutar 882324dbcc HBASE-10671 Add missing InterfaceAudience annotations for classes in hbase-common and hbase-client modules 2014-11-21 11:44:46 -08:00
Matteo Bertozzi 325cdc0987 HBASE-12073 Shell command user_permission fails on the table created by user if he is not global admin (Srikanth Srungarapu) 2014-11-21 10:55:48 +00:00
tedyu e4a68606f5 HBASE-8572 Enhance delete_snapshot.rb to call snapshot deletion API with regex (Ashish Singhi) 2014-11-20 08:57:42 -08:00
stack 5f391efda1 Revert "HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99)"
This reverts commit d3e7c3cfa9.
2014-11-18 16:30:52 -08:00
stack b94e6738d9 HBASE-10378 Refactor write-ahead-log implementation -- ADDEDNUM 2014-11-18 12:12:35 -08:00
Sean Busbey f5e05eb836 HBASE-10378 Refactor write-ahead-log implementation
Incompatible changes called out in release notes on jira.

* Cleaned up references to HLog
* Deprecates HLogKey but maintains it for compatibility
  - Moves all Writeable from WALKey to HLogKey
* Adds utility code to CoprocessorHost to help with evolving Coprocessor APIs
* RSRpcServices roll WAL call now requests the non-meta LogRoller roll all logs
  - rolls actually happen asynchronously
  - deprecated old api (and noted incompatible behavior change)
  - modified api in new Admin interface to reflect lack of return values.
* Moved WAL user facing API to "WAL"
  - only 1 sync offered
  - WALTrailer removed from API
* make provider used by the WALFactory configurable.
* Move all WAL requests to use opaque ids instead of paths
* WALProvider provides API details for implementers and handles creation of WALs.
* Refactor WALActionsListener to have a basic implementation.
* turn MetricsWAL into a WALActionsListener.
* tests that needs FSHLog implementation details use them directly, others just reference provider + factory
  - Some tests moved from Large to Medium based on run time.
* pull out wal disabling into its own no-op class
* update region open to delegate to WALFactory
* update performance test tool to allow for multiple regions
* Removed references to meta-specific wals within wal code
  - replaced with generic suffixes
  - WALFactory maintains a dedicated WALProvider for meta (and so knows about the distinction)
* maintain backwards compat on HLogPrettyPrinter and mark it deprecated.
  - made WALPrettyPrinter IA.Private in favor of `bin/hbase wal`
* move WALUtil stuff that's implementation specific to said implementation
  - WALUtil now acts as an integration point between the RegionServer and hte WAL code.

Incorporates contributions from v.himanshu.

Signed-off-by: stack <stack@apache.org>
2014-11-18 12:04:41 -08:00
stack d3e7c3cfa9 HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99) 2014-11-18 09:48:54 -08:00
Enis Soztutar f641aada36 HBASE-12445 hbase is removing all remaining cells immediately after the cell marked with marker = KeyValue.Type.DeleteColumn via PUT (Hani Nadra) 2014-11-12 15:50:10 -08:00
stack fb6c5c7fe8 HBASE-10483 Provide API for retrieving info port when hbase.master.info.port is set to 0 (Liu Shaohui) 2014-11-12 08:56:42 -08:00
Srikanth Srungarapu 6e80af2044 HBASE-12460 Moving Chore to hbase-common module
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2014-11-11 23:15:42 +00:00
stack e287741388 HBASE-12434 Add a command to compact all the regions in a regionserver (Liu Shaohui) 2014-11-11 09:32:55 -08:00
Nick Dimiduk fb1af86ee1 HBASE-12432 RpcRetryingCaller should log after fixed number of retries like AsyncProcess
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-11-07 12:27:21 -08:00
stack c71244c02d HBASE-12329 Table create with duplicate column family names quietly succeeds (Jingcheng Du) 2014-11-05 17:32:21 -08:00
stack b0eaa92f5b HBASE-8707 Add LongComparator for filter (Liu Shaohui) 2014-11-05 16:56:43 -08:00
Lars Hofhansl ecd708671c HBASE-12363 Improve how KEEP_DELETED_CELLS works with MIN_VERSIONS. 2014-11-04 17:08:39 -08:00
Jeffrey Zhong 371bb39ee6 HBASE-12407: HConnectionKey doesn't contain CUSTOM_CONTROLLER_CONF_KEY in CONNECTION_PROPERTIES 2014-11-03 21:04:22 -08:00
Lars Hofhansl d4504afdd4 HBASE-12417 Scan copy constructor does not retain small attribute. 2014-11-03 15:06:29 -08:00
Nick Dimiduk 008e990deb HBASE-12416 RegionServerCallable should report what host it was communicating with 2014-11-03 14:21:25 -08:00
Andrew Purtell a62f543c65 HBASE-12361 Show data locality of region in table page (Liu Shaohui) 2014-10-31 15:41:57 -07:00
Enis Soztutar 2d1cfc14f2 HBASE-12377 HBaseAdmin#deleteTable fails when META region is moved around the same timeframe (Stephen Yuan Jiang) 2014-10-31 12:09:38 -07:00
Ashish Singhi cacdb89e03 HBASE-10870 Deprecate and replace HCD methods that have a 'should' prefix with a 'is' instead
Signed-off-by: stack <stack@apache.org>
2014-10-31 08:34:00 -07:00
stack 9f4b6ac06c HBASE-11835 Wrong managenement of non expected calls in the client (Nicolas Liochon) 2014-10-30 12:41:54 -07:00
stack 5062edebcf HBASE-12238 A few ugly exceptions on startup 2014-10-29 21:42:29 -07:00
stack 889333a6fd HBASE-12313 Redo the hfile index length optimization so cell-based rather than serialized KV key 2014-10-29 11:33:49 -07:00
manukranthk ece933fa3e Implement Preemptive Fast Fail
Summary: This diff ports the Preemptive Fast Fail feature to OSS. In multi threaded clients, we use a feature developed on 0.89-fb branch called Preemptive Fast Fail. This allows the client threads which would potentially fail, fail fast. The idea behind this feature is that we allow, among the hundreds of client threads, one thread to try and establish connection with the regionserver and if that succeeds, we mark it as a live node again. Meanwhile, other threads which are trying to establish connection to the same server would ideally go into the timeouts which is effectively unfruitful. We can in those cases return appropriate exceptions to those clients instead of letting them retry.

Test Plan: Unit tests

Differential Revision: https://reviews.facebook.net/D24177

Signed-off-by: stack <stack@apache.org>
2014-10-28 22:47:50 -07:00
Nick Dimiduk bb81b9fde5 HBASE-12356 Rpc with region replica does not propagate tracing spans 2014-10-28 10:27:59 -07:00
Andrew Purtell 70a312e53f HBASE-11912 Catch some bad practices at compile time with error-prone 2014-10-27 09:29:23 -07:00
stack 1d6c4678bb HBASE-2609 Harmonize the Get and Delete operations 2014-10-25 20:58:24 -07:00
Andrew Purtell ff5bc351b2 Revert "HBASE-11912 Catch some bad practices at compile time with error-prone"
This reverts commit 7ed0260eff.
2014-10-25 08:33:43 -07:00
Andrew Purtell 7ed0260eff HBASE-11912 Catch some bad practices at compile time with error-prone 2014-10-24 18:15:12 -07:00
Lars Hofhansl 6c7543c9c7 HBASE-12334 Handling of DeserializationException causes needless retry on failure. 2014-10-24 16:21:33 -07:00
Elliott Clark c623b04122 HBASE-12283 Clean up some checkstyle errors 2014-10-22 11:58:23 -07:00
Matteo Bertozzi 2908c11371 HBASE-12301 user_permission command does not show global permissions 2014-10-22 10:08:31 +01:00
stack c450298c44 HBASE-12307 Remove unused Imports in hbase-client and hbase-common 2014-10-21 21:53:04 -07:00
Ted Yu 6c70f4f7f7 HBASE-12302 VisibilityClient getAuths does not propagate remote service exception correctly (Jerry He) 2014-10-21 20:09:46 +00:00
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
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
anoopsjohn 629042f4ce HBASE-12085 mob status should print human readable numbers.(Jingcheng Du) 2014-09-26 13:29:36 +05:30
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
Jeffrey Zhong d07bc87cd6 HBase-11315: Keeping MVCC for configurable longer time 2014-07-06 18:25:18 -07:00
stack c6db308977 HBASE-11452 add getUserPermission feature in AccessControlClient as client API (Demai Ni) 2014-07-04 19:47:57 -07:00
Ramkrishna 62c048660b HBASE-10885 Support visibility expressions on Deletes (Ram) 2014-07-04 23:55:05 +05:30
stack ea085c6373 HBASE-4495 CatalogTracker has an identity crisis; needs to be cut-back in scope (Mikhail Antonov) 2014-07-02 19:01:04 -07:00
stack 1d8958685a HBASE-4495 CatalogTracker has an identity crisis; needs to be cut-back in scope (Mikhail Antonov) 2014-07-02 19:00:49 -07:00
Devaraj Das 9f8d1876a0 HBASE-11344 Hide row keys and such from the web UIs 2014-07-02 13:07:11 -07:00
Enis Soztutar 92c52a727a Updated version in master to 2.0.0-SNAPSHOT after 'branch-1' is created for 1.x line of releases 2014-06-30 20:26:47 -07:00
Enis Soztutar 0167558eb3 HBASE-11448 Fix javadoc warnings 2014-06-30 20:11:02 -07:00
Andrew Purtell d797fc872f HBASE-11432 [AccessController] Remove cell first strategy 2014-06-30 09:52:21 -07:00
Enis Soztutar 14a09e79bd HBASE-11332 Fix for metas location cache from HBASE-10785 2014-06-27 16:39:41 -07:00
Devaraj Das 1daf8acfc9 HBASE-11214. Fixes for scans on a replicated table 2014-06-27 16:39:40 -07:00
Enis Soztutar 5a8f3f7cef HBASE-10357 Failover RPC's for scans (Devaraj Das)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1595388 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:40 -07:00
Enis Soztutar e86b13f75a HBASE-10957 HMaster can abort with NPE in #rebuildUserRegions (Nicolas Liochon)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1590184 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:40 -07:00
Enis Soztutar 48ffa4d5e6 HBASE-10785 Metas own location should be cached
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1586653 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:39 -07:00
sershe 579f305bd0 HBASE-10794 multi-get should handle replica location missing from cache
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1586468 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:39 -07:00
sershe 61bce90362 HBASE-10634 Multiget doesn't fully work
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1586184 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:39 -07:00
Enis Soztutar ad05de172f HBASE-10701 Cache invalidation improvements from client side
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1585766 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:39 -07:00
nkeywal c2f6f479ad HBASE-10355 Failover RPC's from client using region replicas
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1575261 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:38 -07:00
Devaraj Das b0480db1ae HBASE-10672. Table snapshot should handle tables whose REGION_REPLICATION is greater than one
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1575096 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:38 -07:00
Zhihong Yu c997c3311e HBASE-10630 NullPointerException in ConnectionManager$HConnectionImplementation.locateRegionInMeta() due to missing region info
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1572761 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:37 -07:00
Devaraj Das 3d8ee3a06e HBASE-10350. Master/AM/RegionStates changes to create and assign region replicas (ddas)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1569861 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:37 -07:00
sershe 25b6103dad HBASE-10356 Failover RPC's for multi-get
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1569559 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:37 -07:00
Devaraj Das d6f603a492 HBASE-10354. Addendum commit. 10354.add.patch committed
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1568205 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:36 -07:00
Enis Soztutar 998cd1642f HBASE-10517 NPE in MetaCache.clearCache()
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1567827 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:36 -07:00
Devaraj Das 481a116e26 HBASE-10348. HTableDescriptor changes for region replicas
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1565658 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:36 -07:00
Enis Soztutar d8ea476bf1 HBASE-10354 Add an API for defining consistency per request
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1565062 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:36 -07:00
Enis Soztutar d4b82224cc HBASE-10347 HRegionInfo changes for adding replicaId and MetaEditor/MetaReader changes for region replicas
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1565041 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:36 -07:00
anoopsjohn 7c1135b3e3 HBASE-11424 Avoid usage of CellUtil#getTagArray(Cell cell) within server. (Anoop) 2014-06-27 22:35:08 +05:30
anoopsjohn cac468f33f HBASE-11421 HTableInterface javadoc correction. (Anoop) 2014-06-27 22:31:20 +05:30
Andrew Purtell cb9a6d1073 HBASE-11407 hbase-client should not require Jackson for pure HBase queries be executed (Sergey Beryozkin) 2014-06-25 16:35:53 -07:00
Ted Yu 62db371321 HBASE-11396 Invalid meta entries can lead to unstartable master (Craig Condit) 2014-06-24 22:47:56 +00:00
Nicolas Liochon ab72babd97 HBASE-11403 Fix race conditions around Object#notify 2014-06-24 11:37:02 +02:00
anoopsjohn 3020842d5c HBASE-11382 Adding unit test for HBASE-10964 (Delete mutation is not consistent with Put wrt timestamp) (Srikanth) 2014-06-23 13:36:32 +05:30
Nicolas Liochon c75afc5b8f HBASE-11374 RpcRetryingCaller#callWithoutRetries has a timeout of zero 2014-06-20 10:15:26 +02:00
Michael Stack 3ed3c5513c HBASE-11364 [BlockCache] Add a flag to cache data blocks in L1 if multi-tier cache 2014-06-17 22:33:40 -05:00
Jimmy Xiang 58549428a6 HBASE-11059 ZK-less region assignment 2014-06-14 08:39:29 -07:00
Nicolas Liochon 3fa92647d2 HBASE-11347 For some errors, the client can retry infinitely 2014-06-14 08:45:07 +02:00
Jeffrey Zhong 55cecc9679 HBase-11094: Distributed log replay is incompatible for rolling restarts 2014-06-12 21:50:16 -07:00
Ted Yu 62a78ab661 HBASE-11107 Provide utility method equivalent to 0.92's Result.getBytes().getSize() (Gustavo Anatoly) 2014-06-13 02:10:15 +00:00
Ramkrishna af9fa42e1b HBASE-11310:Delete's copy constructor should copy the attributes also
(Ram)
2014-06-11 22:58:02 +05:30
Ted Yu 961919d443 HBASE-11304 Enable HBaseAdmin.execProcedure to return data from procedure execution (Jerry He) 2014-06-08 18:48:20 +00:00
Michael Stack d6cc2fb1ea HBASE-11305 Remove bunch of unused imports in HConnectionManager (Mikhail Antonov) 2014-06-06 12:21:16 -07:00
Matteo Bertozzi 86e5db5099 HBASE-10935 support snapshot policy where flush memstore can be skipped to prevent production cluster freeze (Tianying Chang) 2014-06-02 08:03:19 +01:00
Nicolas Liochon f00d21179c HBASE-11215 Deprecate void setAutoFlush(boolean autoFlush, boolean clearBufferOnFail) 2014-05-27 15:46:43 +02:00
anoopsjohn 04b9a0a573 HBASE-11252 Fixing new javadoc warnings in master branch.(Anoop) 2014-05-27 10:11:27 +05:30
Jesse Yates c61cb7fb55 HBASE-11048 Support setting custom priority per client RPC 2014-05-22 23:33:22 -07:00
Andrew Purtell b168b8b2d5 HBASE-11149 Wire encryption is broken (Devaraj Das) 2014-05-22 18:46:29 -07:00
Michael Stack ea0731d60f HBASE-11108 Split ZKTable into interface and implementation (Mikhail Antononv) 2014-05-22 16:15:51 -07:00
Michael Stack c5d5a5d1bc HBASE-11108 Split ZKTable into interface and implementation (Mikhail Antononv) 2014-05-22 16:15:35 -07:00
Andrew Purtell 58818496da HBASE-9857 Blockcache prefetch option 2014-05-22 10:17:39 -07:00
tedyu c45ffa4986 HBASE-11016 Remove Filter#filterRow(List) 2014-05-22 04:32:14 +00:00
Michael Stack 4053868e72 HBASE-11203 Clean up javadoc and findbugs warnings in trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1596383 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 20:12:41 +00:00
nkeywal b6646596c6 HBASE-10573 Use Netty 4
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1596192 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 10:57:11 +00:00
Michael Stack 021bdae697 HBASE-11007 BLOCKCACHE in schema descriptor seems not aptly named
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1595938 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 15:53:06 +00:00
Jonathan Hsieh 675e004cf1 HBASE-6990 pretty print TTL (Esteban Gutierrez)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1595396 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 00:32:26 +00:00
mbertozzi 788b285e11 HBASE-8332 Add truncate as HMaster method
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1593439 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 22:25:01 +00:00
Michael Stack 4325d15edf HBASE-11092 Server interface should have method getConsensusProvider()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1593183 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 05:32:31 +00:00
Zhihong Yu 4b2a4d10de HBASE-10926 Use global procedure to flush table memstore cache (Jerry He)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1592368 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 16:12:32 +00:00
Andrew Kyle Purtell 86464360f8 HBASE-11077 [AccessController] Restore compatible early-out access denial
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1591524 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 01:04:36 +00:00
Andrew Kyle Purtell 071b916775 HBASE-10918 [VisibilityController] System table backed ScanLabelGenerator
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1590180 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 22:44:52 +00:00
jxiang 891b9f6a20 HBASE-11047 Remove TimeoutMontior
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1589439 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 15:37:26 +00:00
ndimiduk 73a0b7ad3c HBASE-10950 Add a configuration point for MaxVersion of Column Family (Enoch Hsu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1589336 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 04:09:14 +00:00
Zhihong Yu 57f8591001 HBASE-11018 ZKUtil.getChildDataAndWatchForNewChildren() will not return null as indicated (Jerry He)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1589015 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 02:30:01 +00:00
Enis Soztutar b1afd6e117 HBASE-10934 Provide Admin interface to abstract HBaseAdmin (Contributed by Carter)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1588528 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 17:40:38 +00:00
Zhihong Yu 0045b86b78 HBASE-11019 incCount() method should be properly stubbed in HConnectionTestingUtility#getMockedConnectionAndDecorate()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1588396 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 01:01:11 +00:00
Jean-Daniel Cryans 94875900c6 HBASE-10967 CatalogTracker.waitForMeta should not wait indefinitely silently
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1587284 13f79535-47bb-0310-9956-ffa450edef68
2014-04-14 19:01:23 +00:00
anoopsamjohn 32ae460190 HBASE-10964 Delete mutation is not consistent with Put wrt timestamp.(Anoop)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1586808 13f79535-47bb-0310-9956-ffa450edef68
2014-04-12 03:16:35 +00:00
nkeywal 8bcb70ddcf HBASE-10931 Enhance logs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1586019 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 16:33:22 +00:00
ramkrishna e17ef0d87b HBASE-10883-Restrict the universe of labels and authorizations(Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1585946 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 11:57:24 +00:00
ramkrishna 2922c5284d HBASE-7319-Extend Cell usage through read path (Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1585945 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 11:46:14 +00:00
nkeywal 4b762ee841 HBASE-10018 Change the location prefetch
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1585518 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 16:55:45 +00:00
Michael Stack b2ef1ce01c HBASE-10886 add htrace-zipkin to the runtime dependencies again -- REVERT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1584935 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 23:19:35 +00:00
Michael Stack 62908378bc HBASE-10886 add htrace-zipkin to the runtime dependencies again (Masatake Iwasaki)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1584455 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 23:04:10 +00:00
Michael Stack 6892ae258d HBASE-10888 Enable distributed log replay as default
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1584346 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 19:39:55 +00:00
Zhihong Yu e124054e4e HBASE-10850 essential column family optimization is broken
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1584335 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 10:13:32 +00:00