Commit Graph

750 Commits

Author SHA1 Message Date
Elliott Clark 295e5cbcf0 HBASE-15460 Fix infer issues in hbase-common
Summary: Fix issues found by static analysis

Test Plan: Unit test pass

Differential Revision: https://reviews.facebook.net/D55551
2016-03-21 11:55:51 -07:00
tedyu 1cb82d9118 HBASE-15439 getMaximumAllowedTimeBetweenRuns in ScheduledChore ignores the TimeUnit (Jingcheng Du) 2016-03-14 07:10:34 -07:00
Andrew Purtell e8063d4f17 Amend HBASE-15322 Operations using Unsafe path broken for platforms not having sun.misc.Unsafe
"Object cannot be cast to boolean" in UnsafeAvailChecker
2016-03-11 17:37:39 -08:00
anoopsjohn 75547a42b9 HBASE-15322 Operations using Unsafe path broken for platforms not having sun.misc.Unsafe. 2016-03-11 09:38:24 +05:30
Matteo Bertozzi 46bf3c3275 HBASE-15113 Procedure v2 - Speedup eviction of sys operation results 2016-03-08 11:08:05 -08:00
Stephen Yuan Jiang 0a025a1aca HBASE-15413 Procedure-V2: print out ProcedureInfo during trace (Stephen Yuan Jiang) 2016-03-07 20:45:43 -08:00
zhangduo 12853268e1 HBASE-15365 Do not write to '/tmp' in TestHBaseConfiguration
Conflicts:
	hbase-common/src/test/java/org/apache/hadoop/hbase/TestHBaseConfiguration.java
2016-03-02 11:26:13 +08:00
Mikhail Antonov 998e339d6e HBASE-15342 create branch-1.3 and update branch-1 poms to 1.4.0-SNAPSHOT 2016-02-28 16:23:29 -08:00
stack 46ffa85982 HBASE-15351 Fix description of hbase.bucketcache.size in hbase-default.xml 2016-02-26 13:53:59 -08:00
Elliott Clark 7c290e922a HBASE-15222 Addendum - Use less contended classes for metrics 2016-02-25 09:34:47 -08:00
Mikhail Antonov 04a3b27330 HBASE-15136 Explore different queuing behaviors while busy 2016-02-24 20:42:23 -08:00
Elliott Clark 3352173ec8 HBASE-15222 Use less contended classes for metrics
Summary:
Use less contended things for metrics.
For histogram which was the largest culprit we use FastLongHistogram
For atomic long where possible we now use counter.

Test Plan: unit tests

Reviewers:

Subscribers:

Differential Revision: https://reviews.facebook.net/D54381
2016-02-24 14:47:00 -08:00
stack b4f747f52e HBASE-12133 Add FastLongHistogram for metric computation (Yi Deng) 2016-02-24 14:35:22 -08:00
stack 5e7fecc15b HBASE-15279 OrderedBytes.isEncodedValue does not check for int8 and int16 types (Robert Yokota) 2016-02-17 22:10:35 -08:00
Jonathan M Hsieh 2e1a3ef644 HBASE-15283 Revert to IOException in TimeRange constructor to maintain API compat in 1.x line
[branch-1 and branch-1.2 only] HBASE-14355 changed the type of exception thrown if an invalid TimeRange is specified.  This reverts to 1.1.x semantics.
2016-02-17 15:57:54 -08:00
Matteo Bertozzi 455e09c325 HBASE-15100 ProcedureInfo constructor should be InterfaceAudience.Private (addendum) 2016-02-17 15:40:39 -08:00
Enis Soztutar 73d6778820 HBASE-15177 Reduce garbage created under high load
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
2016-02-04 13:26:22 -08:00
Enis Soztutar f1e7c06539 HBASE-15129 Set default value for hbase.fs.tmp.dir rather than fully depend on hbase-default.xml (Yu Li)
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/security/SecureBulkLoadUtil.java
2016-02-02 17:06:20 -08:00
Matteo Bertozzi 931e1b03ab HBASE-15100 Master WALProcs are deleted out of order ending up with older wals not removed 2016-01-22 16:15:58 -08:00
stack a9c008344f HBASE-15091 Forward-port to 1.2 HBASE-15031 "Fix merge of MVCC and SequenceID performance regression in branch-1.0" 2016-01-21 10:26:46 -08:00
stack 44dc9d1162 HBASE-15098 Normalizer switch in configuration is not used 2016-01-20 09:36:46 -08:00
Gary Helmling 17130e4d2f HBASE-15111 hbase version should write to stdout
Signed-off-by: Sean Busbey <busbey@cloudera.com>

Conflicts:
	hbase-common/src/main/java/org/apache/hadoop/hbase/util/VersionInfo.java
2016-01-19 22:50:37 -06:00
stack d6654ea7ea HBASE-15118 Fix findbugs complaint in hbase-server 2016-01-18 15:37:53 -08:00
stack 546adefcd6 HBASE-15087 Fix hbase-common findbugs complaints 2016-01-14 17:18:16 -08:00
Matteo Bertozzi 3c2229a9a8 HBASE-14837 Procedure v2 - Procedure Queue Improvement 2016-01-14 09:25:06 -08:00
tedyu c2256bd2ae HBASE-15026 The default value of "hbase.regions.slop" in docs is obsolete (Tianyin Xu) 2015-12-25 15:41:52 -08:00
Jonathan M Hsieh 03e1451070 HBASE-15035 bulkloading hfiles with tags that require splits do not preserve tags 2015-12-25 12:24:47 -08:00
anoopsjohn 4a7565af9c HBASE-14940 Make our unsafe based ops more safe. 2015-12-24 07:56:27 +05:30
chenheng f7b67ca763 HBASE-14684 Try to remove all MiniMapReduceCluster in unit tests 2015-12-23 10:35:48 +08:00
Enis Soztutar 1b66f474b5 HBASE-14977 ChoreService.shutdown may result in ConcurrentModificationException - ADDENDUM to fix extra concurrency issues 2015-12-22 02:04:32 -08:00
anoopsjohn a93c0e822e HBASE-14999 Remove ref to org.mortbay.log.Log. 2015-12-17 23:33:39 +05:30
Enis Soztutar 31d73a4bde HBASE-14977 ChoreService.shutdown may result in ConcurrentModificationException (Vladimir Rodionov) 2015-12-15 11:57:33 -08:00
ramkrishna 65117d3d04 HBASE-13153 Bulk Loaded HFile Replication (Ashish Singhi) 2015-12-10 13:10:41 +05:30
Gary Helmling 5dec5ad250 HBASE-14866 VerifyReplication and ReplicationAdmin should use full peer configuration for peer connection 2015-12-09 16:47:25 -08:00
stack d955cb3280 Revert "Revert "HBASE-14922 Delayed flush doesn't work causing flush storms; addendum by Lars Hofhansl""
This reverts commit 693e1dee4c.
2015-12-05 14:29:31 -08:00
stack 693e1dee4c Revert "HBASE-1422 Delayed flush doesn't work causing flush storms; addendum by Lars Hofhansl"
Pushed with wrong JIRA number. Revert to fix.

This reverts commit 7d0c08fbcd.
2015-12-05 14:29:12 -08:00
stack 7d0c08fbcd HBASE-1422 Delayed flush doesn't work causing flush storms; addendum by Lars Hofhansl 2015-12-05 11:39:59 -08:00
Elliott Clark 9cf2d641ff HBASE-14922 Delayed flush doesn't work causing flush storms. -- ADD 2015-12-04 18:37:40 -08:00
Elliott Clark 85167849ab HBASE-14922 Delayed flush doesn't work causing flush storms. 2015-12-04 16:53:56 -08:00
Enis Soztutar edb8edfeb3 HBASE-14904 Mark Base[En|De]coder LimitedPrivate and fix binary compat issue
Conflicts:
	hbase-common/src/main/java/org/apache/hadoop/hbase/codec/BaseDecoder.java
	hbase-common/src/main/java/org/apache/hadoop/hbase/codec/BaseEncoder.java
2015-12-03 18:27:20 -08:00
tedyu 66adeb3048 HBASE-14894 Fix misspellings of threshold in log4j.properties files for tests (Youngjoon Kim) 2015-11-28 10:10:27 -08:00
Gary Helmling 07b07300b8 HBASE-14821 Allow configuration overrides in TableOutputFormat 2015-11-24 12:15:25 -08:00
Enis Soztutar 8a69dd5b08 HBASE-14468 Compaction improvements: FIFO compaction policy (Vladimir Rodionov) 2015-11-18 19:27:15 -08:00
Elliott Clark 4d5ac316b6 HBASE-14708 Use copy on write Map for region location cache
Summary:
Create and use a copy on write map for region location.

  - Create a copy on write map backed by a sorted array.
  - Create a test for both comparing each with a jdk provided map.
  - Change MetaCache to use the new map.

Test Plan:
  - org.apache.hadoop.hbase.client.TestFromClientSide
  - TestHCM

Differential Revision: https://reviews.facebook.net/D49545
2015-11-17 11:01:52 -08:00
zhangduo f8ee447c55 HBASE-14806 Missing sources.jar for several modules when building HBase
Conflicts:
	hbase-common/pom.xml
2015-11-17 08:55:24 +08:00
stack 336eb92016 HBASE-14355 Scan different TimeRange for each column family 2015-11-13 22:44:05 -08:00
Elliott Clark 2b84c40f01 HBASE-14765 Remove snappy profile 2015-11-05 10:21:14 -08:00
Gary Helmling 85f2aee070 HBASE-14700 Support a permissive mode for secure clusters to allow SIMPLE auth clients 2015-10-30 20:06:23 -07:00
anoopsjohn de89172244 HBASE-14557 MapReduce WALPlayer issue with NoTagsKeyValue. 2015-10-30 21:19:12 +05:30
Enis Soztutar 87c97c231a HBASE-14680 Two configs for snapshot timeout and better defaults (Heng Chen)
Conflicts:
	hbase-common/src/main/resources/hbase-default.xml
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/DisabledTableSnapshotHandler.java
2015-10-27 15:06:37 -07:00
Andrew Purtell 53a8ce5fab HBASE-14705 Javadoc for KeyValue constructor is not correct (Jean-Marc Spaggiari) 2015-10-27 14:39:14 -07:00
Ben Lau 288a274052 HBASE-14283 Reverse scan doesn’t work with HFile inline index/bloom blocks
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-10-26 15:13:07 -07:00
stack 4f8387959a HBASE-14266 RegionServers have a lock contention of Configuration.getProps 2015-10-24 15:37:55 -07:00
stack 9e3c381bee HBASE-14657 Remove unneeded API from EncodedSeeker (Heng Chen) 2015-10-22 21:32:51 -07:00
stack 836afcc901 HBASE-14637 Loosen TestChoreService assert AND have TestDataBlockEncoders do less work (and add timeouts) 2015-10-17 16:27:23 -07:00
Elliott Clark f4a4c3a489 HBASE-14597 Fix Groups cache in multi-threaded env 2015-10-16 15:19:19 -07:00
tedyu be04ede5b9 HBASE-14594 Use new DNS API introduced in HADOOP-12437 (Josh Elser) 2015-10-14 14:24:24 -07:00
stack 11066d0459 HBASE-14598 ByteBufferOutputStream grows its HeapByteBuffer beyond JVM limitations (Ian Friedman) 2015-10-14 13:13:35 -07:00
stack 4588620a04 HBASE-14268 Improve KeyLocker; ADDENDUM: FIX JAVADOC WARNING 2015-10-14 09:59:07 -07:00
Nicolas Liochon 56ecbc1a2c HBASE-14268 Improve KeyLocker - add missing files 2015-10-13 08:06:27 -07:00
stack 98f1387f86 HBASE-14268 Improve KeyLocker (Hiroshi Ikeda) 2015-10-12 23:14:16 -07:00
Enis Soztutar bbbb52cfbf HBASE-14501 NPE in replication with TDE
Conflicts:
	hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
	hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueUtil.java
2015-10-12 20:44:35 -07:00
anoopsjohn 5dba2c71f7 HBASE-13819 Make RPC layer CellBlock buffer a DirectByteBuffer. 2015-10-13 07:59:11 +05:30
Stephen Yuan Jiang a6d90bcc97 HBASE-14432 Procedure V2 - enforce ACL on procedure admin tasks (Stephen Yuan Jiang) 2015-10-06 09:11:38 -07:00
Matteo Bertozzi 12e8076fba HBASE-14347 Add a switch to DynamicClassLoader to disable it (huaxiang sun) 2015-10-05 16:17:30 -07:00
smaddineni 373c75dde6 HBASE-13770 Programmatic JAAS configuration option for secure zookeeper may be broken
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java
2015-10-02 18:00:47 -07:00
Elliott Clark cca2ba4d93 HBASE-14512 Cache UGI groups
Summary:
Don't create a user for every call. Instead create one user per connection.
Then inside of SecureHadoopUser cache the groupNames. This allows HBase to cache
empty groups.  This is needed since it's much more likely that HBase will be accessed
by a user that's not present on the posix /etc/group file.

Test Plan: Unit Tests

Differential Revision: https://reviews.facebook.net/D47751
2015-09-30 12:52:50 -07:00
stack 4812d9a178 HBASE-14465 Backport 'Allow rowlock to be reader/write' to branch-1 2015-09-30 11:48:46 -07:00
Apekshit(Appy) Sharma efc51bced6 HBASE-14469 Fix comment, validation and logging in HeapMemorySizeUtil.getGlobalMemStoreLowerMark 2015-09-24 19:15:33 -07:00
Stephen Yuan Jiang e38fd84d3f HBASE-14107 Administrative Task: Provide an API to List all procedures (Stephen Yuan Jiang) 2015-09-24 07:17:23 -07:00
Nick Dimiduk 364b977269 HBASE-14382 TestInterfaceAudienceAnnotations should hadoop-compt module resources 2015-09-09 11:11:08 -07:00
Lars Hofhansl 16d4ed6337 HBASE-12988 [Replication]Parallel apply edits across regions. 2015-09-04 13:23:36 -07:00
stack 5dcb3d85a1 HBASE-14224 Fix coprocessor handling of duplicate classes 2015-08-24 14:12:57 -07:00
stack 95682e7b7d HBASE-13127 Add timeouts on all tests so less zombie sightings 2015-08-24 13:38:03 -07:00
Andrew Purtell 234a4632a4 HBASE-13996 Add write sniffing in canary (Liu Shaohui)
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java

Amending-Author: Andrew Purtell <apurtell@apache.org>
2015-08-21 22:57:28 -07:00
Sean Busbey 71fbd4ac63 HBASE-14251 ensure javadoc jars have LICENSE/NOTICE that match content. 2015-08-20 11:20:47 -05:00
Jerry He d322ebadf5 HBASE-13706 CoprocessorClassLoader should not exempt Hive classes 2015-08-08 22:06:41 -07:00
Gábor Lipták 51061f08a3 HBASE-13865 Increase the default value for hbase.hregion.memstore.block.multipler from 2 to 4 (part 2) 2015-08-06 10:04:41 -07:00
tedyu 6a2b618d97 HBASE-13965 Stochastic Load Balancer JMX Metrics (Lei Chen) 2015-08-05 19:22:44 -07:00
Sean Busbey a45651c2cf HBASE-14085 Update LICENSE and NOTICE files.
* corrects license/notice for source distribution
* adds inception year to correct copyright in generated NOTICE files for jars
* updates project names in poms to use "Apache HBase" instead of "HBase" so jar NOTICE files will be correct
* uses append-resources to include supplemental info on jars with 3rd party works in source
* adds an hbase specific resource bundle for jars that include 3rd party works for binaries
** uses supplemental-model to fill in license gaps
** uses the above and a shade plugin transformation to build proper files for shaded jars.
** uses the above and the assembly plugin to build the proper files for bin assembly
* adds a NOTICE item for things copied out of Hadoop (TODO legal-discuss)

Conflicts:
	NOTICE.txt
	hbase-checkstyle/pom.xml
	hbase-resource-bundle/pom.xml
	hbase-server/pom.xml
	hbase-thrift/pom.xml
	pom.xml
2015-08-05 14:52:33 -07:00
tedyu 24dbe25e95 HBASE-13965 Revert due to test failure in TestAssignmentManager 2015-08-03 15:32:43 -07:00
tedyu c215b900f4 HBASE-13965 Stochastic Load Balancer JMX Metrics (Lei Chen) 2015-08-03 12:50:44 -07:00
Sean Busbey 9091409800 HBASE-14087 Ensure correct ASF headers for docs/code
* adds missing headers
* corrects some old-form headers to current
* restores proper header for guava copied LimitInputStream
* adds proper header for protobuf copied read/writeRawVarint

Conflicts:
	bin/considerAsDead.sh
	dev-support/rebase_all_git_branches.sh
2015-07-31 11:22:50 -07:00
Andrew Purtell 67f4a077b9 HBASE-14155 StackOverflowError in reverse scan (Ramkrishna S. Vasudevan and Ted Yu) 2015-07-29 18:22:55 -07:00
Srikanth Srungarapu da811332cf HBASE-14057 HBase shell user_permission should list super users defined on hbase-site.xml 2015-07-28 11:43:24 -07:00
Matteo Bertozzi b62f134545 HBASE-13415 Procedure v2 - Use nonces for double submits from client (Stephen Yuan Jiang)
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-07-13 11:19:02 -05:00
Sean Busbey 88ff206c57 Revert "Procedure v2 - Use nonces for double submits from client (Stephen Yuan Jiang)"
This reverts commit 4eb84651a2.
2015-07-13 11:16:21 -05:00
stack a81b3c5afe HBASE-14052 Mark a few methods in CellUtil audience private since only make sense internally to hbase 2015-07-10 10:44:08 -07:00
stack 8da1214099 HBASE-14053 Disable DLR in branch-1+ 2015-07-09 16:38:04 -07:00
Matteo Bertozzi 4eb84651a2 Procedure v2 - Use nonces for double submits from client (Stephen Yuan Jiang) 2015-07-09 08:13:32 -07:00
Lars Hofhansl 29969dcf5c HBASE-13329 ArrayIndexOutOfBoundsException in CellComparator#getMinimumMidpointArray. 2015-07-05 12:18:59 -07:00
Sean Busbey a58848507a HBASE-13990 make maven site generation work with jdk8
* includes additiona branch-1 specific fixes to javadocs
* includes rollback of 2 changes from HBASE-13898 that didn't apply to branch-1

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java
2015-07-01 08:00:15 -05:00
Lars Hofhansl 163ddbf03c HBASE-13959 Region splitting uses a single thread in most common cases. (Hari Krishna Dara) 2015-06-29 18:09:17 -07:00
Gábor Lipták 8e6fb569c5 HBASE-13963 Do not leak jdk.tools dependency from hbase-annotations
Signed-off-by: Sean Busbey <busbey@apache.org>

Conflicts:
	hbase-common/pom.xml
2015-06-26 08:56:14 -05:00
ramkrishna 92f4e30f45 HBASE-13945 - Prefix_Tree seekBefore() does not work correctly (Ram) 2015-06-24 09:15:56 +05:30
Misty Stanley-Jones 9ac6539f6a HBASE-13898 correct additional javadoc failures under java 8 <Gabor Liptak>
Ammending-Author: Sean Busbey <busbey@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
	hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
	hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufMagic.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionObserver.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/http/jmx/JMXJsonServlet.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/BloomFilterChunk.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java
2015-06-23 01:14:15 -05:00
Mikhail Antonov 84675ef615 HBASE-13103 [ergonomics] add region size balancing as a feature of master 2015-06-22 22:48:19 -07:00
Nick Dimiduk 34cd3377f8 HBASE-13933 DBE's seekBefore with tags corrupts the tag's offset information thus leading to incorrect results (ramkrishna.s.vasudevan) 2015-06-19 14:26:02 -07:00
Sean Busbey f2f19ddb5c HBASE-13909 update branch-1 poms to 1.3.0-SNAPSHOT 2015-06-15 22:30:56 -05:00
Matteo Bertozzi ceba0659f0 HBASE-13894 Avoid visitor alloc each call of ByteBufferArray get/putMultiple() 2015-06-15 09:20:24 -07:00