Commit Graph

824 Commits

Author SHA1 Message Date
Apekshit(Appy) Sharma 988593857f HBASE-11927 Use Native Hadoop Library for HFile checksum. (Apekshit)
Signed-off-by: stack <stack@apache.org>
2015-05-15 11:40:23 -07:00
Andrey Stepachev f7c3a3dd55 HBASE-13647 Default value for hbase.client.operation.timeout is too high 2015-05-14 13:08:04 +01:00
Enis Soztutar 59a6e031fb HBASE-13661 Correct binary compatibility issues discovered in 1.1.0RC0 2015-05-11 18:28:29 -07:00
Dave Latham bbae9f3826 HBASE-13649 correct javadoc for compareTimestamps
Signed-off-by: stack <stack@apache.org>
2015-05-08 21:32:06 -07:00
ramkrishna 52f635df00 HBASE-13630 - Remove dead code in BufferedDataEncoder (Ram) 2015-05-08 09:15:46 +05:30
tedyu a93ba89b5b HBASE-13625 Use HDFS for HFileOutputFormat2 partitioner's path (Stephen Yuan Jiang) 2015-05-06 07:31:15 -07:00
ramkrishna 977f867439 HBASE-10800 - Use CellComparator instead of KVComparator (Ram) 2015-05-05 11:38:10 +05:30
Andrew Purtell 1c4b47f856 HBASE-12415 Add add(byte[][] arrays) to Bytes (Jean-Marc Spaggiari) 2015-05-01 18:12:36 -07:00
Jonathan M Hsieh 0e20bbf6a3 Merge branch 'apache/master' (4/16/15) into hbase-11339
API conflicts and test fixes
Update LoadTestTool.COLUMN_FAMILY -> DEFAULT_COLUMN_FAMILY due HBASE-11842
Use new 1.0+ api in some tests
Use updated Scanners internal api
Fix to take into account  HBASE-13203 - procedure v2 table delete

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
2015-05-01 08:18:51 -07:00
anoopsjohn d88a4180f7 HBASE-13595 Fix Javadoc warn induced in Bytes.java. 2015-04-30 20:58:25 +05:30
ramkrishna 3a9c2b0c55 HBASE-13579 Avoid isCellTTLExpired() for NO-TAG cases (Ram) 2015-04-30 15:14:41 +05:30
Devaraj Das b27e9e70be HBASE-13351. Annotate internal MasterRpcServices methods with admin priority (Josh Elser) 2015-04-28 23:38:28 -07:00
Usha Kuchibhotla 94a00bea07 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>
2015-04-28 09:20:34 -05:00
stack 2759fd0cdb HBASE-13575 TestChoreService has to make sure that the opened ChoreService is closed for each unit test (Stephen Yuan Jiang) 2015-04-27 14:23:57 -07:00
stack 0415649f3d HBASE-13552 ChoreService shutdown message could be more informative (Jonathan Lawlor) 2015-04-24 13:42:03 -07:00
ramkrishna a4fa930843 HBASE-13450 - Purge RawBytescomparator from the writers and readers for
HBASE-10800 (Ram)
2015-04-24 16:01:38 +05:30
anoopsjohn a4202879ad HBASE-13496 Make Bytes::compareTo inlineable. 2015-04-23 10:36:08 +05:30
ramkrishna 2396020752 HBASE-13502 - Deprecate/remove getRowComparator() in TableName (Ram) 2015-04-22 09:24:00 +05:30
Devaraj Das 14261bc9e5 HBASE-13453. Master should not bind to region server ports (Srikanth Srungarapu) 2015-04-15 11:02:08 -07:00
zhangduo fe9180d79e HBASE-13499 AsyncRpcClient test cases failure in powerpc 2015-04-14 23:00:07 +08:00
Sean Busbey 702aea5b38 HBASE-13498 Add more docs and a basic check for storage policy handling. 2015-04-20 10:45:14 -05:00
Jonathan Lawlor abe3796a99 HBASE-13090 Progress heartbeats for long running scanners
Signed-off-by: stack <stack@apache.org>
2015-04-17 15:42:46 -07:00
stack 92af695ea1 HBASE-13307 Making methods under ScannerV2#next inlineable, faster 2015-04-17 08:15:07 -07:00
anoopsjohn 71536bdcc7 HBASE-13447 Bypass logic in TimeRange.compare. 2015-04-14 11:37:48 +05:30
Matteo Bertozzi b5f1f98a25 HBASE-13203 Procedure v2 - master create/delete table 2015-04-10 18:53:42 +01:00
Matteo Bertozzi 04246c6c3d HBASE-13202 Procedure v2 - core framework 2015-04-10 18:53:37 +01:00
Apekshit(Appy) Sharma d20c08ea58 HBASE-13423 Remove old duplicate entry for hbase.regionserver.regionSplitLimit. 2015-04-10 20:40:15 +10:00
Andrew Purtell ed703762ae HBASE-13275 Setting hbase.security.authorization to false does not disable authorization 2015-04-09 14:47:21 -07:00
anoopsjohn 6eeb5b38e1 HBASE-13429 Remove deprecated seek/reseek methods from HFileScanner. 2015-04-09 22:42:57 +05:30
Lars Hofhansl 80dbf06651 HBASE-13362 Set max result size from client only (like scanner caching). 2015-04-08 21:43:01 -07:00
stack 8cd3001f81 Revert "HBASE-11544 [Ergonomics] hbase.client.scanner.caching is dogged and will try to return batch even if it means OOME"
References the wrong JIRA above so revert; also an addendum is on the
way.

This reverts commit 26ba621e47.
2015-04-08 09:32:09 -07:00
Jonathan Lawlor 26ba621e47 HBASE-11544 [Ergonomics] hbase.client.scanner.caching is dogged and will try to return batch even if it means OOME
Added in some check-style fixes to bring us back under the limit

Signed-off-by: stack <stack@apache.org>
2015-04-08 08:16:54 -07:00
unknown 57f9c82128 HBASE-13410 - Bug in KeyValueUtil.oswrite() for non Keyvalue cases 2015-04-07 10:29:12 +05:30
Apekshit(Appy) Sharma e252c30645 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>
2015-04-03 21:25:37 -05:00
Mikhail Antonov 578df6dfc0 HBASE-13252 Get rid of managed connections and connection caching
Signed-off-by: stack <stack@apache.org>
2015-04-02 12:00:42 -07:00
unknown c8e1177dd2 HBASE-13368 - Hash.java is declared as public Interface - but it should be
Private (Ram)
2015-04-02 10:21:48 +05:30
tedyu 874aa9eb85 HBASE-12954 Ability impaired using HBase on multihomed hosts 2015-04-01 06:49:09 -07:00
Andrew Purtell f1f4b66183 HBASE-12972 Region, a supportable public/evolving subset of HRegion 2015-03-30 18:01:11 -07:00
Elliott Clark 55a5a3be33 HBASE-13364 Make error prone off by default 2015-03-30 16:03:53 -07:00
tedyu bd837d47f7 HBASE-12413 Mismatch in the equals and hashcode methods of KeyValue (Jingcheng Du and Gariel Reid) 2015-03-28 06:31:28 -07:00
zhangduo 6e9ded51fb HBASE-13310 Fix high priority findbugs warnings 2015-03-24 06:50:04 +08:00
Andrew Purtell 8dfed5dc88 HBASE-13303 Fix size calculation of results on the region server 2015-03-20 17:24:50 -07:00
Matteo Bertozzi 0915191167 HBASE-13282 Fix the minor issues of running Canary on kerberized environment (Srikanth Srungarapu) 2015-03-20 21:26:53 +00:00
stack f57dca5e1b HBASE-13198 Remove HConnectionManager (Mikhail Antonov) 2015-03-20 09:41:48 -07:00
Lars Hofhansl 0d76654416 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:15 -07:00
Lars Hofhansl 64589abe99 Revert "HBASE-12976 Set default value for hbase.client.scanner.max.result.size."
This reverts commit 2583e8de57.
2015-03-19 14:19:41 -07:00
Matteo Bertozzi 535ebbfde9 HBASE-13235 Revisit the security auditing semantics (Srikanth Srungarapu) 2015-03-19 07:01:21 +00:00
tedyu 75b627c8ec HBASE-13256 HBaseConfiguration#checkDefaultsVersion(Configuration) has spelling error (Josh Elser) 2015-03-17 07:24:01 -07:00
Josh Elser 72855c584e 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-13 22:35:52 -05:00
stack 29104da013 HBASE-13188 java.lang.ArithmeticException issue in BoundedByteBufferPool.putBuffer 2015-03-10 08:42:32 -07:00
Daisuke 0654d13403 HBASE-13185 Document hbase.regionserver.thrift.framed.max_frame_size_in_mb more clearly
just added 'in MB'

Signed-off-by: stack <stack@apache.org>
2015-03-09 21:43:16 -07:00
Andrew Purtell 9aa8f0672e HBASE-13183 Make ZK tickTime configurable in standalone HBase (Alex Araujo) 2015-03-09 18:34:49 -07:00
stack 9159c82fbf HBASE-13142 [PERF] Reuse the IPCUtil#buildCellBlock buffer 2015-03-06 14:35:08 -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
zhangduo ce1b81cdfd HBASE-13146 Race Condition in ScheduledChore and ChoreService
Signed-off-by: stack <stack@apache.org>
2015-03-03 11:31:51 -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
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
Abhishek Kumar 7b045d143a HBASE-13050 Empty Namespace validation
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-02-18 08:33:19 +01:00
Andrew Purtell 9b2e4ed064 HBASE-13044 Configuration option for disabling coprocessor loading 2015-02-15 11:02:40 -08: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 cfc131e437 HBASE-13038 Fix the java doc continuously reported by Hadoop QA 2015-02-13 09:30:29 -06:00
Andrew Purtell fc2e849cd3 HBASE-13008 Better default for hbase.regionserver.regionSplitLimit parameter (Srikanth Srungarapu) 2015-02-12 10:13:38 -08:00
Bhupendra 02759f2d8c 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:25:35 +01:00
stack 8aa4eeb1c8 HBASE-13007 Fix the test timeouts being caused by ChoreService (Jonathan Lawlor); ADDENDUM 2015-02-11 20:46:41 -08:00
stack a8d325eed8 HBASE-13007 Fix the test timeouts being caused by ChoreService (Jonathan Lawlor) 2015-02-10 21:19:14 -08:00
stack 9c66afbae7 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:03:29 -08:00
stack fa852c4ce6 HBASE-12035 Keep table state in META (Andrey Stepachev) 2015-02-10 14:20:47 -08:00
tedyu ede20aa288 HBASE-13004 Addendum fixes timeout value in message (Andrey Stepachev) 2015-02-10 09:43:31 -08:00
tedyu a3f495f20d HBASE-13004 Make possible to explain why HBaseTestingUtility.waitFor fails (Andrey Stepachev) 2015-02-10 07:33:52 -08:00
tedyu 9d6b237ae8 HBASE-12992 TestChoreService doesn't close services, that can break test on slow virtual hosts (Andrey Stepachev) 2015-02-09 12:15:23 -08:00
stack ac175b1bd9 HBASE-12982 Adding timeouts to TestChoreService 2015-02-06 19:45:39 -08:00
stack 1426f85b15 HBASE-12897 Minimum memstore size is a percentage (Churro Morales) 2015-02-06 16:15:29 -08:00
Jonathan M Hsieh 2c4934eda6 HBASE-11861 Native MOB Compaction mechanisms (Jingcheng Du) 2015-02-06 05:37:13 -08:00
Lars Hofhansl 2583e8de57 HBASE-12976 Set default value for hbase.client.scanner.max.result.size. 2015-02-05 13:29:23 -08:00
Aniket Bhatnagar c812d13a47 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:25:07 -08:00
tedyu d3eedb24e1 HBASE-6778 Deprecate Chore; its a thread per task when we should have one thread to do all tasks - add new files 2015-01-29 21:11:33 -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
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
Enis Soztutar 38701ea8ec HBASE-12899 HBase should prefix htrace configuration keys with "hbase.htrace" rather than just "hbase." (Colin Patrick McCabe) 2015-01-22 19:04:35 -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
Misty Stanley-Jones 4d31779dd7 HBASE-11533 AsciiDoctor POC Addendum 2 to fix redirects during site generation 2015-01-19 18:21:09 +10:00
tedyu eafc07a06d HBASE-12848 Utilize Flash storage for WAL 2015-01-15 08:52:30 -08:00
Ramkrishna 71184309e1 HBASE-12845 - ByteBufferOutputStream should grow as direct buffer if the
initial buffer is also direct BB (Ram)
2015-01-15 12:59:38 +05:30
Misty Stanley-Jones 1a21c1684c HBASE-11533 Asciidoc Proof of Concept 2015-01-13 22:32:29 -08:00
Misty Stanley-Jones 20a096d62e HBASE-12777 Redirect multi-page book to single-page book 2015-01-12 22:09:24 -08:00
Andrew Purtell acc284eec6 HBASE-12801 Failed to truncate a table while maintaing binary region boundaries (Liu Shaohui) 2015-01-12 19:09:02 -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
Enis Soztutar 820f629423 HBASE-12028 Abort the RegionServer, when it's handler threads die (Alicia Ying Shu) 2015-01-02 13:07:57 -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
tedyu fbdaf62bf8 HBASE-12716 A bug in RegionSplitter.UniformSplit algorithm (Weichen Ye) 2014-12-28 07:48:24 -08:00
Jurriaan Mous e92a9bf003 HBASE-12742
Signed-off-by: stack <stack@apache.org>
2014-12-23 10:14:16 -08:00
stack d845a92fc8 HBASE-12682 compaction thread throttle value is not correct in hbase-default.xml (Jerry He) 2014-12-16 16:22:04 -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 e5d813c46b HBASE-9431 Set 'hbase.bulkload.retries.number' to 10 as HBASE-8450 claims 2014-12-16 11:11:14 -08:00
Enis Soztutar afb753ecc3 HBASE-12683 Compilation with hadoop-2.7.0-SNAPSHOT is broken 2014-12-15 11:09:20 -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
stack df22270756 HBASE-12665 When aborting, dump metrics
Add some fixup of checkstyle fails
2014-12-09 21:01:15 -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 11864c60c7 HBASE-12650 Move ServerName to hbase-common module 2014-12-08 06:58:41 -08:00
Devaraj Das ca0c1774c9 HBASE-12548. Improve debuggability of IntegrationTestTimeBoundedRequestsWithRegionReplicas 2014-12-06 18:18:03 -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
tedyu 155a644b1c HBASE-12632 ThrottledInputStream/ExportSnapshot does not throttle 2014-12-05 06:52:04 -08:00
Jeffrey Zhong 2c280e6253 HBASE-12600: Remove REPLAY tag dependency in Distributed Replay Mode 2014-12-01 11:19:47 -08:00
Jeffrey Zhong 0733450473 Revert "Remove Replay Tag"
This reverts commit f723ffde7f.
2014-12-01 11:17:24 -08:00
Jeffrey Zhong f723ffde7f Remove Replay Tag 2014-12-01 10:59:47 -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
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
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
Sean Busbey 14dc08c07f HBASE-12517 Ensure HConstants members are final.
Signed-off-by: stack <stack@apache.org>
2014-11-18 13:04:25 -08:00
stack b94e6738d9 HBASE-10378 Refactor write-ahead-log implementation -- ADDEDNUM 2014-11-18 12:12:35 -08:00
Matteo Bertozzi a376c8da9d HBASE-12366 Add login code to HBase Canary tool (Srikanth Srungarapu) 2014-11-12 20:34:55 +00: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
Andrew Purtell 9102547159 HBASE-12419 'Partial cell read caused by EOF' ERRORs on replication source 2014-11-05 18:47:05 -08:00
Enis Soztutar 997c1adc2f HBASE-12390 Change revision style from svn to git 2014-10-31 11:10:38 -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
anoopsjohn cbb334035d HBASE-12297 Support DBB usage in Bloom and HFileIndex area. 2014-10-29 14:39:03 +05:30
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
Andrew Purtell 70a312e53f HBASE-11912 Catch some bad practices at compile time with error-prone 2014-10-27 09:29:23 -07:00
anoopsjohn 34f9962618 HBASE-12202 Support DirectByteBuffer usage in HFileBlock - addendum 2014-10-26 08:07:53 +05:30
anoopsjohn 0fb4c4d5f0 HBASE-11870 Optimization : Avoid copy of key and value for tags addition in AC and VC. 2014-10-25 21:12:15 +05:30
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
Elliott Clark c623b04122 HBASE-12283 Clean up some checkstyle errors 2014-10-22 11:58:23 -07:00
anoopsjohn d70e2b1244 HBASE-12288 Support DirectByteBuffer usage in DataBlock Encoding area. 2014-10-22 22:33:11 +05:30
stack c450298c44 HBASE-12307 Remove unused Imports in hbase-client and hbase-common 2014-10-21 21:53:04 -07:00
Ramkrishna 31ccaa519b HBASE-12281 ClonedPrefixTreeCell should implement HeapSize (Ram) 2014-10-21 19:45:08 +05:30
anoopsjohn c01d9981d8 HBASE-12202 Support DirectByteBuffer usage in HFileBlock. 2014-10-21 17:57:55 +05:30
Ted Yu 7c87f9c6b5 HBASE-12241 The crash of regionServer when taking deadserver's replication queue breaks replication (Shaohui) 2014-10-16 21:38:18 +00:00
Rajeshbabu Chintaguntla 6dea02b260 HBASE-10200 Better error message when HttpServer fails to start due to java.net.BindException(Kiran Kumar M R) 2014-10-14 02:24:21 +00:00
Ramkrishna 3f2e599a99 HBASE-12210 Avoid KeyValue in Prefix Tree (Ram) 2014-10-10 22:45:26 +05:30
stack 06a8bb5bd1 HBASE-12189 Fix new issues found by coverity static analysis 2014-10-09 20:51:04 -07:00
Elliott Clark f75785af51 HBASE-12218 Make HBaseCommonTestingUtil#deleteDir try harder 2014-10-09 11:57:52 -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 2bc28ebb03 HBASE-12133 Add FastLongHistogram for metric computation; ADDENDUM TO FIX BROKE COMPILE 2014-10-02 11:53:53 -07:00
stack 0e1e64b821 HBASE-12133 Add FastLongHistogram for metric computation (Yi Deng) 2014-10-02 10:38:56 -07:00
stack ff847978ad HBASE-12156 TableName cache doesn't used for once of valueOf methods (Andrey Stepachev) 2014-10-02 09:45:57 -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
anoopsjohn 4fac4c1ba6 HBASE-12112 Avoid KeyValueUtil#ensureKeyValue some more simple cases. 2014-10-01 14:05:57 +05:30
Jimmy Xiang 683f3b3d50 HBASE-12034 If I kill single RS in branch-1, all regions end up on Master! 2014-09-29 13:50:59 -07:00
anoopsjohn df2ce0c389 HBASE-12082 Find a way to set timestamp on Cells on the server. 2014-09-29 11:22:12 +05:30
anoopsjohn 8895ee694c HBASE-12079 Deprecate KeyValueUtil#ensureKeyValue(s). 2014-09-29 08:06:23 +05:30
Lars Hofhansl dc5295df8c HBASE-11957 addendum 2; fix TestAssignmentManager 2014-09-27 21:07:14 -07:00
Lars Hofhansl 5aeec324e7 HBASE-12090 Bytes: more Unsafe, more Faster. (Vladimir Rodionov) 2014-09-27 19:41:13 -07:00
anoopsjohn 629042f4ce HBASE-12085 mob status should print human readable numbers.(Jingcheng Du) 2014-09-26 13:29:36 +05:30
stack 31ed817447 HBASE-12069 Finish making HFile.Writer Cell-centric; undo APIs that expect KV serializations 2014-09-25 10:49:09 -07:00
anoopsjohn a2e05b9f8f HBASE-12050 Avoid KeyValueUtil#ensureKeyValue from DefaultMemStore. 2014-09-25 17:41:19 +05:30
Matteo Bertozzi 9152d8677e HBASE-12054 bad state after NamespaceUpgrade with reserved table names 2014-09-24 19:39:52 +01:00
Elliott Clark 46eada6e02 HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 04:10:19 -07:00
Elliott Clark 0a28af366b HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 03:57:55 -07:00
Elliott Clark a5bd931682 HBASE-12059 Create hbase-annotations module 2014-09-23 16:44:14 -07:00
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
Jonathan M Hsieh 84e957c875 HBASE-11644 External MOB compaction tools (Jingcheng Du) 2014-09-19 03:06:33 -07:00
Matteo Bertozzi bd8df9ccd4 HBASE-11598 Add simple rpc throttling 2014-09-18 22:38:30 +01:00
anoopsjohn 6813167423 HBASE-11874 Support Cell to be passed to StoreFile.Writer rather than KeyValue. 2014-09-18 18:32:45 +05:30
stack cf3dab7ee7 HBASE-11984 TestClassFinder failing on occasion FIX ATTEMPT 2014-09-16 11:31:53 -07:00
stack cc6fe16e59 HBASE-11984 TestClassFinder failing on occasion -- Add DEBUGGING 2014-09-15 21:36:00 -07:00
stack 8a7326dd45 HBASE-11873 Hbase Version CLI enhancement (Ashish Singhi) 2014-09-15 21:07:56 -07:00
stack 5554692871 HBASE-11862 Get rid of Writables in HTableDescriptor, HColumnDescriptor (Andrey Stepachev) 2014-09-15 11:08:21 -07:00
Andrew Purtell 8c4baf6a8a HBASE-11972 The doAs user used in the update to hbase:acl table RPC is incorrect (Devaraj Das) 2014-09-14 20:29:24 -07:00
Misty Stanley-Jones 4018e85611 HBASE-11892 Clean up stale config entries in hbase-default.xml 2014-09-15 11:27:48 +10:00
stack 3c9bd7d296 HBASE-11911 Break up tests into more fine grained categories (Alex Newman) 2014-09-12 21:37:06 -07:00
Enis Soztutar d4850f1f17 HBASE-11934 Support KeyValueCodec to encode non KeyValue cells. (Anoop Sam John) 2014-09-10 22:18:51 -07:00
Nick Dimiduk eec15bd172 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:22:13 -07:00
Enis Soztutar f7bcf3df6b HBASE-11921 Minor fixups that come of testing branch-1 (Stack) 2014-09-09 12:05:43 -07:00
anoopsjohn 0a9bfcaf74 HBASE-11805 KeyValue to Cell Convert in WALEdit APIs. 2014-09-07 15:48:21 +05:30
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
Jonathan M Hsieh 5c14f749b3 HBASE-11643 Read and write MOB in HBase (Jingcheng Du) 2014-09-04 05:41:21 -07:00
anoopsjohn 125f5619b9 HBASE-11777 Find a way to set sequenceId on Cells on the server. 2014-09-01 15:04:00 +05:30
stack 3bfbd06291 HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime 2014-08-29 17:14:25 -07:00
Andrew Purtell cdfc96f294 HBASE-11857 Restore ReaderBase.initAfterCompression() and WALCellCodec.create(Configuration, CompressionContext) (Ted Yu) 2014-08-29 16:53:22 -07:00
stack 1abaacffb5 HBASE-11072 Abstract WAL splitting from ZK (Sergey Soldatov) 2014-08-29 16:46:32 -07:00
Andrew Purtell e5a5e968f1 HBASE-11810 Access SSL Passwords through Credential Provider API (Larry McCay) 2014-08-29 07:54:45 -07:00
Andrew Purtell 452b1b7299 HBASE-11856 hbase-common needs a log4j.properties resource for handling unit test logging output 2014-08-28 15:01:56 -07:00
Ramkrishna 4445b30464 HBASE-11440 Make KeyValueCodecWithTags as the default codec for
replication in trunk (Ram)
2014-08-27 10:03:55 +05:30
stack 03687b80bc HBASE-11813 CellScanner#advance may overflow stack 2014-08-25 14:52:36 -07:00
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
stack 50f17935fd HBASE-11735 Document Configurable Bucket Sizes in bucketCache (Misty Stanley-Jones) 2014-08-19 14:47:50 -07:00
Jonathan M Hsieh 25a7b75560 HBASE-11734 Document changed behavior of hbase.hstore.time.to.purge.deletes (Misty Stanley-Jones) 2014-08-18 13:42:03 -07:00
Nick Dimiduk 9936b86f70 HBASE-11748 Cleanup and add pool usage tracing to Compression 2014-08-14 16:53:26 -07:00
Matteo Bertozzi e1e70a7e2f HBASE-11724 Add to RWQueueRpcExecutor the ability to split get and scan handlers 2014-08-14 20:52:11 +01:00
anoopsjohn cabcb6ca23 HBASE-11717 Remove unused config 'hbase.offheapcache.percentage' from hbase-default.xml and book. (Anoop) 2014-08-14 23:47:03 +05:30
anoopsjohn d7011a9dcc HBASE-11527 Cluster free memory limit check should consider L2 block cache size also when L2 cache is onheap. (Anoop) 2014-08-08 23:45:29 +05:30
stack 5e899c68e0 HBASE-11678 BucketCache ramCache fills heap after running a few hours 2014-08-07 14:23:22 -07:00
anoopsjohn 12d9697d93 HBASE-11527 Cluster free memory limit check should consider L2 block cache size also when L2 cache is onheap. (Anoop) 2014-08-07 17:16:16 +05:30
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
stack 8ec64ec0df HBASE-11648 Typo of config: hbase.hstore.compaction.ratio in book.xml (Liu Shaohui) 2014-08-01 09:55:30 -07:00
Jean-Daniel Cryans afae1e2583 HBASE-11316 Expand info about compactions beyond HBASE-11120 (Misty Stanley-Jones) 2014-07-28 18:06:48 -07:00
stack 6a14cf3585 HBASE-11560 hbase.regionserver.global.memstore.size is documented twice (Misty Stanley-Jones) 2014-07-28 12:43:00 -07:00
Nicolas Liochon d8401c8e44 HBASE-11564 Improve cancellation management in the rpc layer 2014-07-24 15:53:32 +02:00
Enis Soztutar 214694467f HBASE-11064 Odd behaviors of TableName for empty namespace (Rekha Joshi) 2014-07-22 14:19:51 -07:00
Jonathan M Hsieh 226672c55f HBASE-11561 deprecate ImmutableBytesWritable.getSize and replace with getLength 2014-07-22 11:41:43 -07:00
Nicolas Liochon d8faab2fff HBASE-11492 Hadoop configuration overrides some ipc parameters including tcpNoDelay 2014-07-22 14:54:52 +02:00
stack 3e82a84ca8 HBASE-11541 Wrong result when scaning meta with startRow (Liu Shaoqui) 2014-07-21 14:19:42 -07:00
Andrew Purtell 33f210fc8c HBASE-7910 Dont use reflection for security (Mike Drob) 2014-07-21 10:04:57 -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
Andrew Purtell 01a7dda255 HBASE-11497 Expose RpcScheduling implementations as LimitedPrivate interfaces (Jesse Yates) 2014-07-13 22:42:29 -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
Andrew Purtell cec30fd8a4 HBASE-11444 Remove use of reflection for User#getShortName 2014-07-08 15:13:52 -07:00
Jeffrey Zhong d07bc87cd6 HBase-11315: Keeping MVCC for configurable longer time 2014-07-06 18:25:18 -07:00
Ramkrishna 62c048660b HBASE-10885 Support visibility expressions on Deletes (Ram) 2014-07-04 23:55:05 +05:30
Andrew Purtell 94d3dbea86 HBASE-11457 Increment HFile block encoding IVs accounting for cipher's internal use 2014-07-04 10:45:32 -07:00
Andrew Purtell 2416d798fa HBASE-11446 Reduce the frequency of RNG calls in SecureWALCellCodec#EncryptedKvEncoder 2014-07-04 10:45:19 -07:00
Devaraj Das 9f8d1876a0 HBASE-11344 Hide row keys and such from the web UIs 2014-07-02 13:07:11 -07:00
Andrew Purtell 7a2527da4b Revert "HBASE-11440 Make KeyValueCodecWithTags as the default codec for replication in trunk"
This reverts commit 1d65d5dfa6.
2014-07-01 17:52:11 -07:00
Ramkrishna 1d65d5dfa6 HBASE-11440 Make KeyValueCodecWithTags as the default codec for
replication in trunk (Ram)
2014-07-01 22:55:39 +05:30
Matteo Bertozzi 0e8e41d0ef HBASE-11355 a couple of callQueue related improvements 2014-07-01 10:31:44 +02: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 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
Enis Soztutar d7d9f8db62 HBASE-10352 Region and RegionServer changes for opening region replicas, and refreshing store files
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1571865 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
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
Ramkrishna 7f2f4e80c4 HBASE-10861 Extend ByteRange to create Mutable and Immutable ByteRange
(Ram)
2014-06-26 13:54:48 +05:30
Ramkrishna b8428a68c3 HBASE-11027-Remove kv.isDeleteXX() and related methods and use CellUtil
apis (Ram)
2014-06-25 17:02:18 +05:30
Ted Yu 1324a3cb18 HBASE-11052 Sending random data crashes thrift service 2014-06-17 16:03:16 +00:00
anoopsjohn 14c2c00296 HBASE-10771 Primitive type put/get APIs in ByteRange (Anoop) 2014-06-15 16:22:11 +05:30
Jimmy Xiang 58549428a6 HBASE-11059 ZK-less region assignment 2014-06-14 08:39:29 -07:00
Michael Stack 26096f363e HBASE-10336 Remove deprecated usage of Hadoop HttpServer in InfoServer (Eric Charles) 2014-06-11 13:55:15 -07:00
Ted Yu 172c93029d HBASE-11260 hbase-default.xml refers to hbase.regionserver.global.memstore.upperLimit which is deprecated 2014-06-08 23:01:09 +00:00
Ted Yu b436d20d5c HBASE-10593 FileInputStream in JenkinsHash#main() is never closed 2014-06-08 22:08:19 +00:00
Michael Stack 43be19794a HBASE-10985 Decouple Split Transaction from Zookeeper (Sergey Soldatov) 2014-06-02 10:22:28 -07:00
Andrew Purtell 8c14c7b5bb HBASE-11259 Compression.java different compressions load system classpath differently causing errors (Enoch Hsu) 2014-05-29 18:39:44 -07:00
Ramkrishna af522d6852 HBASE-11248-KeyOnlyKeyValue#toString() passes wrong offset to
keyToString() (Ram)
2014-05-28 22:45:15 +05:30
Michael Stack bfbc6d48cd HBASE-8817 Enhance The Apache HBase Reference Guide (Misty Stanley-Jones) 2014-05-27 10:13:14 -07:00
Andrew Purtell b85cbbdea9 Amend HBASE-11161 Provide example of POJO encoding with protobuf; Add explicit dependency on protobuf-java to hbase-common for Hadoop 1 2014-05-23 23:30:47 +00:00
Andrew Purtell 8b145419ed HBASE-11161 Provide example of POJO encoding with protobuf (Nick Dimiduk) 2014-05-23 13:53:23 -07:00
Andrew Purtell 30aab8b5ea HBASE-11227 Mention 8- and 16-bit fixed-with encodings in OrderedBytes docstring (Nick Dimiduk) 2014-05-23 13:50:12 -07:00
Nicolas Liochon ca2a11cd3b HBASE-11209 Increase the default value for hbase.hregion.memstore.block.multipler from 2 to 4 2014-05-23 19:32:21 +02:00