Commit Graph

749 Commits

Author SHA1 Message Date
Mikhail Antonov 366d7028ec HBASE-13755 Provide single super user check implementation 2015-06-12 23:47:02 -07:00
Dave Latham ae121ee7e9 HBASE-13639 SyncTable - rsync for HBase tables
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Amending-Author: Andrew Purtell <apurtell@apache.org>
2015-06-12 16:00:01 -07:00
stack ccdb26370f HBASE-13729 Old hbase.regionserver.global.memstore.upperLimit and lowerLimit properties are ignored if present (Esteban Guitierrez) 2015-06-05 13:23:05 -07:00
Andrey Stepachev 27697498b6 HBASE-13647 Default value for hbase.client.operation.timeout is too high 2015-06-02 11:01:45 +01:00
Enis Soztutar 518a29140e Revert "HBASE-13647 Default value for hbase.client.operation.timeout is too high"
This reverts commit 5383e476d5.
2015-05-29 12:53:16 -07:00
stack 94f0ee7ee3 HBASE-13616 Move ServerShutdownHandler to Pv2 2015-05-28 15:04:27 -07:00
Nick Dimiduk 2f9851af26 HBASE-13761 Optimize FuzzyRowFilter (Vladimir Rodionov) 2015-05-28 10:17:46 -07:00
anoopsjohn 2133241849 HBASE-13778 BoundedByteBufferPool incorrectly increasing runningAverage buffer length. 2015-05-28 11:53:45 +05:30
Sean Busbey 279dd43570 HBASE-13710 Remove dependency on Hadoop's ReflectionUtil.
* copies ReflectionUtils.logThreadInfo and needed private methods from Hadoop
  branch-2, fixes minor issues specific to our use.
* updates HttpServer's use of RU.newInstance to use the HBase version.
  Side effect: previously, FilterInitializer instances that happened to also
  implement Configurable would have setConfiguration called. Such uses should
  instead rely on the mandatory FilterInitializer.initFilter method call.
2015-05-28 00:25:16 -05:00
ramkrishna 17a75083e8 HBASE-13393 - Optimize memstore flushing to avoid writing tag information
to hfiles when no tags are present. (Ram)
2015-05-28 10:38:18 +05:30
Enis Soztutar 2ba61ee1ab HBASE-13732 TestHBaseFsck#testParallelWithRetriesHbck fails intermittently (Stephen Yuan Jiang) 2015-05-27 17:54:23 -07:00
Andrew Purtell 7df1814f7f HBASE-13780 Default to 700 for HDFS root dir permissions for secure deployments (Enis Soztutar) 2015-05-27 13:15:43 -07:00
Andrey Stepachev 5383e476d5 HBASE-13647 Default value for hbase.client.operation.timeout is too high 2015-05-16 18:59:48 -07:00
Apekshit(Appy) Sharma 1cf85b3f7f HBASE-11927 Use Native Hadoop Library for HFile checksum. (Apekshit)
Signed-off-by: stack <stack@apache.org>
2015-05-15 11:50:07 -07:00
Enis Soztutar 77b155858f HBASE-13661 Correct binary compatibility issues discovered in 1.1.0RC0 2015-05-11 18:33:44 -07:00
stack fdaeb86019 HBASE-13649 CellComparator.compareTimestamps javadoc inconsistent and wrong (Dave Latham) 2015-05-08 21:44:07 -07:00
tedyu ec3d7189ad HBASE-13625 Use HDFS for HFileOutputFormat2 partitioner's path (Stephen Yuan Jiang) 2015-05-06 07:29:57 -07:00
ramkrishna ad8f1d076f HBASE-13632 - Backport HBASE-13368 to branch-1 and 0.98 (Ram) 2015-05-06 13:44:48 +05:30
ramkrishna 426c7eef09 HBASE-13579 - Avoid isCellTTLExpired() for NO-TAG cases (Ram) 2015-05-06 12:12:39 +05:30
tedyu 9a4ea44d1e HBASE-12413 Mismatch in the equals and hashcode methods of KeyValue (Jingcheng Du and Gariel Reid)
Conflicts:
	hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
	hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java
2015-05-01 18:31:16 -07:00
Andrew Purtell 30d1fe2195 HBASE-12415 Add add(byte[][] arrays) to Bytes (Jean-Marc Spaggiari) 2015-05-01 18:19:25 -07:00
Devaraj Das 8aae3bfab6 HBASE-13351 Annotate internal MasterRpcServices methods with admin priority (Josh Elser) 2015-04-28 23:45:01 -07:00
Usha Kuchibhotla 0dbbc8b8de HBASE-11677 Making Logger instance modifiers consistent.
* IA.Public accessible logger instances deprecated
* logger instances modified by tests left in place
* all others made private static final

Signed-off-by: Sean Busbey <busbey@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientIdGenerator.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerImpl.java
	hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
	hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestIngestWithEncryption.java
	hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/TestStatusResource.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/TestTableDescriptor.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestRowCounter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/hbck/TestOfflineMetaRebuildHole.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/hbck/TestOfflineMetaRebuildOverlap.java
2015-04-28 10:10:21 -05:00
stack 9e1cea17d0 HBASE-13575 TestChoreService has to make sure that the opened ChoreService is closed for each unit test (Stephen Yuan Jiang) 2015-04-27 14:24:30 -07:00
stack 16f8e7f55f HBASE-13552 ChoreService shutdown message could be more informative (Jonathan Lawlor) 2015-04-24 13:42:55 -07:00
anoopsjohn 4666bf86a2 HBASE-13496 Make Bytes::compareTo inlineable. 2015-04-23 10:40:56 +05:30
ramkrishna 385b5fa1f6 HBASE-13502 - Deprecate/remove getRowComparator() in TableName (Ram) 2015-04-22 09:34:10 +05:30
zhangduo ca7efc183a HBASE-13499 AsyncRpcClient test cases failure in powerpc 2015-04-14 23:00:17 +08:00
Sean Busbey b924c7564f HBASE-13498 Add more docs and a basic check for storage policy handling.
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestFSUtils.java
2015-04-20 10:54:05 -05:00
Jonathan Lawlor a4f77d49a5 HBASE-13090 Progress heartbeats for long running scanners
Signed-off-by: stack <stack@apache.org>
2015-04-17 15:43:13 -07:00
Nick Dimiduk cf45c8d30a Bump pom version to 1.2.0-SNAPSHOT 2015-04-16 17:30:48 -07:00
stack 8166142b2e HBASE-13291 Making methods under ScannerV2#next inlineable and faster 2015-04-16 14:56:08 -07:00
Devaraj Das 65bf10a47f HBASE-13453. Master should not bind to region server ports (Srikanth Srungarapu) 2015-04-15 11:06:43 -07:00
Matteo Bertozzi 58b1598b44 HBASE-13203 Procedure v2 - master create/delete table 2015-04-15 11:01:36 +01:00
Matteo Bertozzi bea57f2377 HBASE-13202 Procedure v2 - core framework 2015-04-15 11:00:44 +01:00
anoopsjohn ba4c14133e HBASE-13447 Bypass logic in TimeRange.compare. 2015-04-14 11:39:06 +05:30
Apekshit(Appy) Sharma 3ecd02cb4a HBASE-13423 Remove old duplicate entry for hbase.regionserver.regionSplitLimit. 2015-04-10 20:41:16 +10:00
Andrew Purtell 356422e1ae HBASE-13275 Setting hbase.security.authorization to false does not disable authorization
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
2015-04-09 14:43:29 -07:00
Lars Hofhansl 562859f4af HBASE-13362 Set max result size from client only (like scanner caching). 2015-04-08 21:43:22 -07:00
tedyu c031d8de23 HBASE-13205 [branch-1] Backport HBASE-11598 Add simple rpc throttling (Ashish Singhi) 2015-04-07 18:29:03 -07:00
unknown f1173f9975 HBASE-13410 - Bug in KeyValueUtil.oswrite() for non Keyvalue cases (Ram) 2015-04-07 10:30:44 +05:30
Apekshit(Appy) Sharma 4d8bcd4629 HBASE-6919 Remove unnecessary throws IOException from Bytes.readVLong.
Added readAsVLong() to deprecate readVLong() which was throwing IOException. Added test for readAsVLong().

Signed-off-by: Sean Busbey <busbey@apache.org>

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileReaderV2.java
2015-04-03 21:41:39 -05:00
tedyu 4df24b8e6d HBASE-12954 Ability impaired using HBase on multihomed hosts 2015-04-01 06:47:26 -07:00
Andrew Purtell af1715933e HBASE-12972 Region, a supportable public/evolving subset of HRegion 2015-03-30 18:01:32 -07:00
Andrew Purtell e90ac5f812 HBASE-13303 Fix size calculation of results on the region server 2015-03-20 17:25:17 -07:00
Matteo Bertozzi 4230b1ae2e HBASE-13282 Fix the minor issues of running Canary on kerberized environment (Srikanth Srungarapu) 2015-03-20 21:14:07 +00:00
Lars Hofhansl 676fb753d9 Reapply "HBASE-12976 Set default value for hbase.client.scanner.max.result.size." in 1.1 and 2.0 only
This reverts commit 64589abe99.
2015-03-19 15:07:56 -07:00
Lars Hofhansl aad299faba Revert "HBASE-12976 Set default value for hbase.client.scanner.max.result.size."
This reverts commit 2583e8de57.
2015-03-19 14:20:46 -07:00
Matteo Bertozzi 6b411b5d00 HBASE-13235 Revisit the security auditing semantics (Srikanth Srungarapu) 2015-03-19 07:01:55 +00:00
tedyu e1f972170d HBASE-13256 HBaseConfiguration#checkDefaultsVersion(Configuration) has spelling error (Josh Elser) 2015-03-17 07:24:38 -07:00
Josh Elser c3b47f2251 HBASE-13236 Add addt'l lifecycle-mapping executions.
Adds a number of lifecycle-mapping entries which
prevent errors from showing up in Eclipse on a fresh
import of HBase. For plugins defined in the top-level
pom, the mapping is added there; otherwise, the mapping
is pushed down to the child pom.

Signed-off-by: Sean Busbey <busbey@apache.org>
2015-03-14 00:19:44 -05:00
stack 78d6a3402c HBASE-13188 java.lang.ArithmeticException issue in BoundedByteBufferPool.putBuffer 2015-03-10 08:42:59 -07:00
Andrew Purtell 4afae59cfa HBASE-13183 Make ZK tickTime configurable in standalone HBase (Alex Araujo) 2015-03-09 18:34:48 -07:00
stack 880215b728 HBASE-13142 [PERF] Reuse the IPCUtil#buildCellBlock buffer: ADDENDUM -- Fix build breakage 2015-03-06 16:30:50 -08:00
stack 3e3276d7fa HBASE-13142 [PERF] Reuse the IPCUtil#buildCellBlock buffer 2015-03-06 14:35:49 -08:00
Jonathan Lawlor 0c64a57e52 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 18:04:15 -08:00
Lars Hofhansl f5020e9c1a HBASE-13109 Make better SEEK vs SKIP decisions during scanning. 2015-03-04 14:13:41 -08:00
stack 6b1674b31c HBASE-13017 Backport HBASE-12035 Keep table state in Meta to 1.0 branch; REVERT 2015-03-03 13:26:15 -08:00
Enis Soztutar 9e7ad99593 HBASE-11580 Failover handling for secondary region replicas
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionAdminServiceCallable.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/RegionReplicaReplicationEndpoint.java
2015-03-03 13:21:01 -08:00
zhangduo 0c4c60a99e HBASE-13146 Race Condition in ScheduledChore and ChoreService
Signed-off-by: stack <stack@apache.org>
2015-03-03 11:32:12 -08:00
Ashish Singhi 41d93323f2 HBASE-13002 Make encryption cipher configurable
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
	hbase-common/src/test/java/org/apache/hadoop/hbase/io/crypto/TestEncryption.java
2015-02-18 11:42:22 -08:00
stack f5e2a82328 HBASE-13017 Backport HBASE-12035 Keep table state in Meta to 1.0 branch (Andrey Stepachev) 2015-02-18 09:58:32 -08:00
Abhishek Kumar 0004aeea80 HBASE-13050 Empty Namespace validation
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-02-18 08:32:55 +01:00
Andrew Purtell b33f50e1d4 HBASE-13044 Configuration option for disabling coprocessor loading
Conflicts:
	hbase-common/src/main/resources/hbase-default.xml
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterCoprocessorHost.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorConfiguration.java
2015-02-15 11:21:22 -08:00
stack 1338f0980e HBASE-13030 [1.0.0 polish] Make ScanMetrics public again and align Put 'add' with Get, Delete, etc., addColumn
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java
2015-02-13 15:28:51 -08:00
Enis Soztutar 36e76c4be6 HBASE-11569 Flush / Compaction handling from secondary region replicas
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
2015-02-13 12:49:08 -08:00
Ashish Singhi 74d373c03e HBASE-13038 Fix the java doc continuously reported by Hadoop QA 2015-02-13 10:13:30 -06:00
Andrew Purtell 7841bf73be HBASE-13008 Better default for hbase.regionserver.regionSplitLimit parameter (Srikanth Srungarapu) 2015-02-12 10:17:23 -08:00
Bhupendra 38de2d2276 HBASE-13026: Wrong error message in case incorrect snapshot name OR Incorrect table name
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-02-12 15:30:29 +01:00
stack aca9aacfb4 HBASE-13007 Fix the test timeouts being caused by ChoreService (Jonathan Lawlor); ADDENDUM 2015-02-11 20:47:07 -08:00
stack c3473eb2d7 HBASE-13007 Fix the test timeouts being caused by ChoreService (Jonathan Lawlor) 2015-02-10 21:19:50 -08:00
stack 31b3327184 HBASE-12978 Region goes permanently offline (WAS: hbase:meta has a row missing hregioninfo and it causes my long-running job to fail) 2015-02-10 17:04:01 -08:00
tedyu 968c4574d7 HBASE-13004 Addendum fixes timeout value in message (Andrey Stepachev) 2015-02-10 09:42:28 -08:00
tedyu 8fdc5bdb2a HBASE-13004 Make possible to explain why HBaseTestingUtility.waitFor fails (Andrey Stepachev) 2015-02-10 08:54:43 -08:00
tedyu 4c4eb58ead HBASE-12992 TestChoreService doesn't close services, that can break test on slow virtual hosts (Andrey Stepachev) 2015-02-09 12:17:27 -08:00
stack cd996ea240 HBASE-12982 Adding timeouts to TestChoreService 2015-02-06 19:46:13 -08:00
stack c234b8df96 HBASE-12897 Minimum memstore size is a percentage (Churro Morales) 2015-02-06 16:15:59 -08:00
Devaraj Das 055f5a95e4 HBASE-11568. Async WAL replication for region replicas (Enis Soztutar) 2015-02-06 07:48:32 -08:00
Lars Hofhansl af7b5fa94a HBASE-12976 Set default value for hbase.client.scanner.max.result.size. 2015-02-05 13:29:55 -08:00
Aniket Bhatnagar 0fa6eedcdb HBASE-12108 | Setting classloader so that HBase resources resolve even when HBaseConfiguration is loaded from a different class loader
Signed-off-by: stack <stack@apache.org>
2015-02-03 08:26:02 -08:00
stack af84b746ce HBASE-6778 Deprecate Chore; its a thread per task when we should have one thread to do all tasks (Jonathan Lawlor) 2015-01-30 15:27:08 -08:00
Lars Hofhansl 0b3502f2b1 HBASE-12859 New master API to track major compaction completion. 2015-01-29 13:57:24 -08:00
Devaraj Das c66fdf1e83 HBASE-11574. hbase:meta's regions can be replicated 2015-01-29 00:32:21 -08:00
stack eb9978cc3d HBASE-12684 Add new AsyncRpcClient (Jurriaan Mous) 2015-01-24 18:21:36 -08:00
Enis Soztutar ea566fc1f5 HBASE-12899 HBase should prefix htrace configuration keys with "hbase.htrace" rather than just "hbase." (Colin Patrick McCabe) 2015-01-22 19:06:13 -08:00
Andrew Purtell 7e1f030f2a HBASE-12731 Heap occupancy based client pushback
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionServerServices.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/MockRegionServer.java
2015-01-22 17:47:59 -08:00
Andrew Purtell 04a003d6a2 HBASE-12730 Backport HBASE-5162 (Basic client pushback mechanism) to branch-1 2015-01-22 14:50:40 -08:00
Nick Dimiduk 05f4e0c715 HBASE-12810 Update to htrace-incubating 2015-01-22 14:32:21 -08:00
Sean Busbey 0bec3a7bf4 HBASE-12898 ensure direct dependencies are declared. 2015-01-22 09:30:05 -06:00
Devaraj Das d0e4fb6ae3 HBASE-12548. Improve debuggability of IntegrationTestTimeBoundedRequestsWithRegionReplicas. 2015-01-16 11:49:49 -08:00
tedyu 2e08bb3b47 HBASE-12848 Utilize Flash storage for WAL 2015-01-15 08:53:06 -08:00
Ramkrishna da2a3827fa HBASE-12845 - ByteBufferOutputStream should grow as direct buffer if the
initial buffer is also direct BB (Ram)
2015-01-15 13:01:20 +05:30
Andrew Purtell 40e9c22ea2 HBASE-12801 Failed to truncate a table while maintaing binary region boundaries (Liu Shaohui) 2015-01-12 19:09:08 -08:00
Nick Dimiduk 240ef12358 HBASE-12071 Separate out thread pool for Master <-> RegionServer communication (Stephen Yuan Jiang) 2015-01-08 14:11:32 -08:00
Enis Soztutar ecbdc45d3d HBASE-12028 Abort the RegionServer, when it's handler threads die (Alicia Ying Shu) 2015-01-02 13:27:26 -08:00
tedyu 882f4c9761 HBASE-12716 A bug in RegionSplitter.UniformSplit algorithm (Weichen Ye) 2014-12-28 07:49:12 -08:00
Jurriaan Mous 8eed26fc3c HBASE-12742
Signed-off-by: stack <stack@apache.org>
2014-12-23 10:15:00 -08:00
Enis Soztutar 9b401498f7 HBASE-12744 hbase-default.xml lists hbase.regionserver.global.memstore.size twice (Jerry He) 2014-12-22 18:24:34 -08:00
zhangduo e55ef7a663 HBASE-10201 Port 'Make flush decisions per column family' to trunk
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
2014-12-18 15:58:55 -08:00
Enis Soztutar d66ae28c07 Update pom.xml version for 1.1.0-SNAPSHOT for branch-1 2014-12-17 23:16:41 -08:00
tedyu d92e686520 HBASE-12625 Deprecate certain methods in classes annotated with InterfaceAudience.Public in branch-1 2014-12-17 13:43:34 -08:00
stack 36269b6403 HBASE-9431 Set 'hbase.bulkload.retries.number' to 10 as HBASE-8450 claims 2014-12-16 11:11:51 -08:00
Enis Soztutar 88d1ddffd7 HBASE-12683 Compilation with hadoop-2.7.0-SNAPSHOT is broken 2014-12-15 11:11:50 -08:00
stack f0afcd2cc2 HBASE-12689 Move version on from 0.99.2 to HBASE-1.0.0-SNAPSHOT 2014-12-14 20:37:59 -08:00
Enis Soztutar 4f22143dfa HBASE-12679 Add HBaseInterfaceAudience.TOOLS and move some of the Public classes to LimitedPrivate 2014-12-14 17:52:05 -08:00
stack 51bbbbaf2b HBASE-12665 When aborting, dump metrics
Add some fixup of checkstyle fails

Conflicts:
	hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/http/jmx/JMXJsonServlet.java
2014-12-09 21:08:10 -08:00
Nick Dimiduk 081ce3f8de HBASE-12163 Move test annotation classes to the same package as in master 2014-12-08 10:38:58 -08:00
Gary Helmling 6c4863f355 HBASE-12493 Make User and TokenUtil public 2014-12-06 02:10:31 -08:00
Andrew Purtell 004e977ba0 HBASE-10560 Per cell TTLs 2014-12-05 11:11:15 -08:00
tedyu 2560875893 HBASE-12632 ThrottledInputStream/ExportSnapshot does not throttle 2014-12-05 06:52:57 -08:00
tedyu 2e47c37b71 HBASE-12204 Backport HBASE-12016 'Reduce number of versions in Meta table. Make it configurable' to branch-1 2014-12-04 12:18:58 -08:00
Enis Soztutar 5f150e49f9 Update pom.xml version for 0.99.2 2014-12-02 20:28:29 -08:00
Sean Busbey 8959828fb5 HBASE-12522 Backport of write-ahead-log refactoring and follow-ons.
Issues incorporated and incompatible changes called out on the 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 and stack.

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/migration/NamespaceUpgrade.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/protobuf/ReplicationProtbufUtil.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/LogRoller.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionServerServices.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/RegionReplicaReplicationEndpoint.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/HMerge.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/MetaUtils.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/TestIOFencing.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAdmin2.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverScannerOpenHook.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestInvocationRecordFilter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/fs/TestBlockReorder.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportExport.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionMergeTransaction.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransaction.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLog.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRollAbort.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRollingNoCluster.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMultiSlaveReplication.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationSource.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationWALEntryFilters.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpoint.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpointNoMaster.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSourceManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationWALReaderManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestFSVisitor.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestMergeTool.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestSecureWAL.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALFiltering.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALMethods.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALReaderOnSecureWAL.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALSplit.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALSplitCompressed.java
	src/main/docbkx/ops_mgt.xml
2014-12-02 11:05:02 -06:00
stack a5169d422b HBASE-12526 Remove unused imports (Varun Saxena) 2014-12-01 14:30:59 -08:00
Enis Soztutar 5610732173 HBASE-12577 Disable distributed log replay by default (Jeffrey Zhong) 2014-12-01 14:17:30 -08:00
Jeffrey Zhong a184620fb3 HBASE-12600: Remove REPLAY tag dependency in Distributed Replay Mode 2014-12-01 11:30:13 -08:00
Ramkrishna 95de67bd39 HBASE-11639 - [Visibility controller] Replicate the visibility of Cells as
strings (Ram)
2014-12-01 23:24:20 +05:30
stack b12d57783f HBASE-12519 Remove tabs used as whitespace (Varun Saxena) 2014-11-29 09:24:08 -08:00
Enis Soztutar aa343ebcfe HBASE-10671 Add missing InterfaceAudience annotations for classes in hbase-common and hbase-client modules 2014-11-21 14:09:28 -08:00
Sean Busbey 7418bdb623 HBASE-12517 Ensure HConstants members are final.
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
2014-11-18 13:07:38 -08:00
Matteo Bertozzi 1f0d960792 HBASE-12366 Add login code to HBase Canary tool (Srikanth Srungarapu) 2014-11-12 20:33:37 +00:00
tedyu 17e2de3494 HBASE-12442 Bring KeyValue#createFirstOnRow() back to branch-1 as deprecated methods 2014-11-12 11:21:20 -08:00
Srikanth Srungarapu 133c79a391 HBASE-12460 Moving Chore to hbase-common module
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2014-11-11 23:18:37 +00:00
stack c99d89fd63 HBASE-12427 Change branch-1 version from 0.99.2-SNAPSHOT to 0.99.3-SNAPSHOT --REVERT 2014-11-05 19:15:24 -08:00
Andrew Purtell bd42fbca6d HBASE-12419 'Partial cell read caused by EOF' ERRORs on replication source 2014-11-05 18:47:04 -08:00
stack c66a6b02a5 HBASE-12427 Change branch-1 version from 0.99.2-SNAPSHOT to 0.99.3-SNAPSHOT 2014-11-04 12:41:38 -08:00
Enis Soztutar a46425b2a9 HBASE-12390 Change revision style from svn to git 2014-10-31 11:11:12 -07:00
stack 6c39d36b32 HBASE-12313 Redo the hfile index length optimization so cell-based rather than serialized KV key
Conflicts:
	hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
	hbase-common/src/main/java/org/apache/hadoop/hbase/CellKey.java
	hbase-common/src/test/java/org/apache/hadoop/hbase/TestCellUtil.java
2014-10-29 11:36:47 -07:00
anoopsjohn e1d1ba564b HBASE-12297 Support DBB usage in Bloom and HFileIndex area. 2014-10-29 14:40:08 +05:30
manukranthk 69c99da70a 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>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClusterConnection.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionManager.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
2014-10-28 22:59:20 -07:00
anoopsjohn 37ac17f626 HBASE-12202 Support DirectByteBuffer usage in HFileBlock - addendum 2014-10-26 08:09:21 +05:30
anoopsjohn 4d385d1509 HBASE-11870 Optimization : Avoid copy of key and value for tags addition in AC and VC. 2014-10-25 21:13:49 +05:30
anoopsjohn f0cf56f6f7 HBASE-12288 Support DirectByteBuffer usage in DataBlock Encoding area. 2014-10-22 22:38:59 +05:30
Ramkrishna a4169e7b04 HBASE-12281 ClonedPrefixTreeCell should implement HeapSize (Ram) 2014-10-21 19:46:31 +05:30
anoopsjohn 67d1cee2d8 HBASE-12202 Support DirectByteBuffer usage in HFileBlock. 2014-10-21 17:59:10 +05:30
Enis Soztutar 10ebc49130 Update pom.xml version to 0.99.2-SNAPSHOT 2014-10-17 11:32:59 -07:00
Ted Yu 5b3f6fb1a7 HBASE-12241 The crash of regionServer when taking deadserver's replication queue breaks replication (Shaohui) 2014-10-16 21:37:30 +00:00
Rajeshbabu Chintaguntla a6dbddacfb HBASE-10200 Better error message when HttpServer fails to start due to java.net.BindException(Kiran Kumar M R) 2014-10-14 02:26:13 +00:00
Enis Soztutar 7d0be32b1d Update pom.xml version for 0.99.1 2014-10-11 21:56:30 -07:00
Ramkrishna a5b3864121 HBASE-12210 Avoid KeyValue in Prefix Tree 2014-10-10 22:47:37 +05:30
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
Elliott Clark 8b167e4c94 HBASE-12218 Make HBaseCommonTestingUtil#deleteDir try harder 2014-10-09 11:57:33 -07:00
Andrew Purtell 695261c4a9 HBASE-12106 Move test annotations to test artifact (Enis Soztutar) 2014-10-06 23:16:58 -07:00
stack 0dfe556f31 HBASE-12156 TableName cache doesn't used for once of valueOf methods (Andrey Stepachev) 2014-10-02 09:46:30 -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
anoopsjohn ebe74abda9 HBASE-12112 Avoid KeyValueUtil#ensureKeyValue some more simple cases. 2014-10-01 14:15:51 +05:30
Jimmy Xiang e7c610b94c HBASE-12034 If I kill single RS in branch-1, all regions end up on Master! 2014-09-29 17:12:43 -07:00
anoopsjohn 97a458010d HBASE-12082 Find a way to set timestamp on Cells on the server. 2014-09-29 11:23:14 +05:30
anoopsjohn 4488dad561 HBASE-12079 Deprecate KeyValueUtil#ensureKeyValue(s). 2014-09-29 08:07:55 +05:30
Lars Hofhansl ae65975426 HBASE-11957 addendum 2; fix TestAssignmentManager 2014-09-27 21:07:46 -07:00
Lars Hofhansl b58c66d596 HBASE-12090 Bytes: more Unsafe, more Faster. (Vladimir Rodionov) 2014-09-27 19:43:05 -07:00
stack be6d354300 HBASE-12069 Finish making HFile.Writer Cell-centric; undo APIs that expect KV serializations
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileInlineToRootChunkConversion.java
2014-09-25 11:12:16 -07:00
anoopsjohn 50e5f13ec1 HBASE-12050 Avoid KeyValueUtil#ensureKeyValue from DefaultMemStore. 2014-09-25 17:45:15 +05:30
Matteo Bertozzi 5e096c5dea HBASE-12054 bad state after NamespaceUpgrade with reserved table names 2014-09-24 19:42:13 +01:00
Elliott Clark eca856bad6 HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 04:12:52 -07:00
Elliott Clark 91642eed82 HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 04:01:58 -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
anoopsjohn 01cabe1c05 HBASE-11874 Support Cell to be passed to StoreFile.Writer rather than KeyValue. 2014-09-18 18:34:02 +05:30
stack 8c16d2ce0d HBASE-11984 TestClassFinder failing on occasion 2014-09-16 11:31:29 -07:00
stack 8b4da86dcb HBASE-11873 Hbase Version CLI enhancement (Ashish Singhi) 2014-09-15 21:08:32 -07:00
Andrew Purtell 435530b4d6 HBASE-11972 The doAs user used in the update to hbase:acl table RPC is incorrect (Devaraj Das) 2014-09-14 20:29:22 -07:00
Misty Stanley-Jones 49e2741880 HBASE-11892 Stale config entries 2014-09-15 11:30:12 +10:00
Enis Soztutar 113e7790af HBASE-11934 Support KeyValueCodec to encode non KeyValue cells. (Anoop Sam John) 2014-09-10 22:19:32 -07:00
Nick Dimiduk 4d51cf0ee7 HBASE-11331 [blockcache] lazy block decompression
When hbase.block.data.cachecompressed=true, DATA (and ENCODED_DATA) blocks are
cached in the BlockCache in their on-disk format. This is different from the
default behavior, which decompresses and decrypts a block before caching.
2014-09-10 15:39:12 -07:00
Enis Soztutar 6337705f26 Update pom.xml version for 0.99.0 2014-09-09 18:56:44 -07:00
Enis Soztutar f2898985ad HBASE-11921 Minor fixups that come of testing branch-1 (Stack) 2014-09-09 12:08:15 -07:00
anoopsjohn ecb015d9a3 HBASE-11805 KeyValue to Cell Convert in WALEdit APIs. 2014-09-07 15:50:24 +05:30
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
Ramkrishna 0eddf0c984 HBASE-11440 Make KeyValueCodecWithTags as the default codec for
replication in trunk (Ram)
2014-09-05 10:35:05 +05:30
stack 66220e4929 HBASE-11072 Abstract WAL splitting from ZK (Sergey Soldatov) 2014-09-04 21:35:27 -07:00
anoopsjohn 58b5bce172 HBASE-11777 Find a way to set sequenceId on Cells on the server. 2014-09-01 15:10:03 +05:30
stack f149c26e9a HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime 2014-08-29 17:21:48 -07:00
Andrew Purtell 2668cc4672 HBASE-11857 Restore ReaderBase.initAfterCompression() and WALCellCodec.create(Configuration, CompressionContext) (Ted Yu) 2014-08-29 16:53:19 -07:00
Andrew Purtell 51cf5c359b HBASE-11810 Access SSL Passwords through Credential Provider API (Larry McCay) 2014-08-29 07:54:52 -07:00
Andrew Purtell 82c97342aa HBASE-11856 hbase-common needs a log4j.properties resource for handling unit test logging output 2014-08-28 15:38:14 -07:00
stack 2c5a2e854b HBASE-11813 CellScanner#advance may overflow stack 2014-08-25 14:53:27 -07:00
anoopsjohn 98067274d9 HBASE-11553 Abstract visibility label related services into an interface. 2014-08-20 14:48:53 +05:30
Jonathan M Hsieh 5b2069b7c9 HBASE-11734 Document changed behavior of hbase.hstore.time.to.purge.deletes (Misty Stanley-Jones) 2014-08-18 13:41:50 -07:00
Nick Dimiduk fe7f1320a0 HBASE-11748 Cleanup and add pool usage tracing to Compression 2014-08-14 16:53:43 -07:00
Matteo Bertozzi 7df6f58001 HBASE-11724 Add to RWQueueRpcExecutor the ability to split get and scan handlers 2014-08-14 20:52:40 +01:00
anoopsjohn 2eb0757301 HBASE-11717 Remove unused config 'hbase.offheapcache.percentage' from hbase-default.xml and book. (Anoop) 2014-08-15 00:01:27 +05:30
anoopsjohn 886ae4691f HBASE-11527 Cluster free memory limit check should consider L2 block cache size also when L2 cache is onheap. (Anoop) 2014-08-11 13:38:59 +05:30
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
Nicolas Liochon d8562052a4 HBASE-11564 Improve cancellation management in the rpc layer 2014-07-24 17:49:01 +02:00
Enis Soztutar 0f2647d05b HBASE-11064 Odd behaviors of TableName for empty namespace (Rekha Joshi) 2014-07-22 14:21:26 -07:00
Jonathan M Hsieh 962cbd188a HBASE-11561 deprecate ImmutableBytesWritable.getSize and replace with getLength 2014-07-22 11:45:07 -07:00
Nicolas Liochon af141f2b08 HBASE-11492 Hadoop configuration overrides some ipc parameters including tcpNoDelay 2014-07-22 14:56:53 +02:00
stack c2af53be7d HBASE-11541 Wrong result when scaning meta with startRow (Liu Shaoqui) 2014-07-21 14:21:49 -07:00
Andrew Purtell e3ac25d4f9 HBASE-7910 Dont use reflection for security (Mike Drob) 2014-07-21 10:04:57 -07:00
Enis Soztutar c76b528b6d HBASE-11367 Pluggable replication endpoint 2014-07-14 16:24:28 -07:00
Andrew Purtell 39100cb1d1 HBASE-11497 Expose RpcScheduling implementations as LimitedPrivate interfaces (Jesse Yates) 2014-07-13 22:42:44 -07:00
anoopsjohn 42a7be1032 HBASE-11437 Modify cell tag handling code to treat the length as unsigned. (Anoop) 2014-07-13 12:12:34 +05:30
Andrew Purtell bf39840582 HBASE-11444 Remove use of reflection for User#getShortName 2014-07-08 15:14:00 -07:00
Jeffrey Zhong cc4f54770b HBase-11315: Keeping MVCC for configurable longer time 2014-07-06 18:51:48 -07:00
Ramkrishna c7efcd0fb3 HBASE-10885 Support visibility expressions on Deletes (Ram) 2014-07-05 00:00:05 +05:30