Commit Graph

961 Commits

Author SHA1 Message Date
Josh Elser 8cef99e506 HBASE-13892 NPE in ClientScanner on null results array
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Amending-Author: Andrew Purtell <apurtell@apache.org>
2015-06-11 19:03:59 -07:00
tedyu 4713fc6407 HBASE-13875 Clock skew between master and region server may render restored region without server address 2015-06-09 18:52:49 -07:00
tedyu 6cc42c8cd1 HBASE-13829 Add more ThrottleType (Guanghao Zhang) 2015-06-09 06:42:55 -07:00
Enis Soztutar 587b0b4f20 HBASE-13851 RpcClientImpl.close() can hang with cancelled replica RPCs 2015-06-06 14:01:33 -07:00
Changgeng Li dcc711fff2 HBASE-13638 Put copy constructor is shallow
Deep copy the cell list

Signed-off-by: Elliott Clark <eclark@apache.org>
2015-06-01 13:55:29 -07:00
anoopsjohn b5641d8edf HBASE-13805 Use LimitInputStream in hbase-common instead of ProtobufUtil.LimitedInputStream. (Jingcheng) 2015-06-01 09:58:56 +05:30
Matteo Bertozzi 749dda6aca HBASE-13779 Calling table.exists() before table.get() end up with an empty Result (addendum) 2015-05-29 17:41:33 -07:00
stack 62b5e578a8 HBASE-13799 javadoc how Scan gets polluted when used; if you set attributes or ask for scan metrics 2015-05-29 11:31:49 -07:00
Matteo Bertozzi 18fef46901 HBASE-13779 Calling table.exists() before table.get() end up with an empty Result 2015-05-29 16:39:03 +01:00
stack 325614220f HBASE-13616 Move ServerShutdownHandler to Pv2 2015-05-28 20:45:38 -07:00
Geoffrey e61bf1bf25 HBASE 13796 - Fixed ZKUtil's cleaning of the zookeeper quorum setting
Signed-off-by: stack <stack@apache.org>
2015-05-28 20:06:58 -07:00
Nick Dimiduk f0a1ca4a6f HBASE-13761 Optimize FuzzyRowFilter (Vladimir Rodionov) 2015-05-28 10:12:21 -07:00
anoopsjohn b31a6acf4c HBASE-13763 Handle the rename, annotation and typo stuff in MOB. (Jingcheng) 2015-05-28 13:43:12 +05:30
Andrew Purtell 942e09b71e HBASE-13768 ZooKeeper znodes are bootstrapped with insecure ACLs in a secure configuration (Enis Soztutar) 2015-05-27 12:23:14 -07:00
Matteo Bertozzi 19a57f1e7e HBASE-13767 Allow ZKAclReset to set and not just clear ZK ACLs 2015-05-27 18:30:55 +01:00
anoopsjohn 9ee184b673 HBASE-13760 Cleanup Findbugs keySet iterator warnings. (Gabor Liptak) 2015-05-25 22:11:49 +05:30
stack e1e8434340 HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered 2015-05-21 11:06:27 -07:00
anoopsjohn 6c3fd34475 HBASE-13641 Deperecate Filter#filterRowKey(byte[] buffer, int offset, int length) in favor of filterRowKey(Cell firstRowCell). 2015-05-21 16:50:42 +05:30
Enis Soztutar eddabdd353 HBASE-13709 Updates to meta table server columns may be eclipsed 2015-05-20 17:42:32 -07:00
Lars Francke 315f596798 HBASE-13656 Rename getDeadServers to getDeadServersSize in Admin
Replace JIRA

Signed-off-by: stack <stack@apache.org>
2015-05-20 13:32:06 -07:00
stack e2e9ea5bd5 Revert "HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered"
Committed by mistake. Backing out till sure it good.

This reverts commit dc72dad7cd.
2015-05-20 13:25:49 -07:00
eshcar 7f2b33dbbf HBASE-13071 synchronous scanner -- cache size-in-bytes bug fix
Signed-off-by: stack <stack@apache.org>
2015-05-20 12:35:26 -07:00
stack dc72dad7cd HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered 2015-05-20 11:55:06 -07:00
Nick Dimiduk 77d9719e2b HBASE-13711 Provide an API to set min and max versions in HColumnDescriptor (Stephen Yuan Jiang) 2015-05-20 11:40:25 -07:00
tedyu 132573792d HBASE-13704 Hbase throws OutOfOrderScannerNextException when MultiRowRangeFilter is used (Aleksandr Maksymenko) 2015-05-19 20:22:53 -07:00
Lars Francke 1fcee86978 HBASE-13636 Remove deprecation for HBASE-4072 (Reading of zoo.cfg)
Signed-off-by: stack <stack@apache.org>
2015-05-19 16:32:32 -07:00
Jonathan M Hsieh 09a00efc0b Merge remote-tracking branch 'apache/master' (5/19/15) into hbase-11339
Patches that caused deltas:
HBASE-10810 - around HColumnDescriptor 'should' vs 'is' api.
HBASE-11677 - LOG was made private
HBASE-11927 - Checksum constant changed
HBASE-10800 - CellComparator instead of KVComparator

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/DeleteTableHandler.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultStoreEngine.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/DefaultCompactor.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java
2015-05-19 16:30:21 -07:00
ted malaska a1c94c0bdf HBASE-13677 changed RecoverableZooKeeper logs about retries from info and warn to debug
Signed-off-by: Sean Busbey <busbey@cloudera.com>
2015-05-18 10:24:42 -05:00
Andrey Stepachev 9ba7337ac8 HBASE-13646 HRegion#execService should not try to build incomplete messages 2015-05-14 13:21:48 +01:00
eshcar 86b91997d0 HBASE-13071 Hbase Streaming Scan Feature
Signed-off-by: stack <stack@apache.org>
2015-05-13 08:23:39 -07:00
Srikanth Srungarapu 9e131dfa8e HBASE-13571 Procedure v2 - client modify table sync 2015-05-11 23:07:15 -07:00
Enis Soztutar 59a6e031fb HBASE-13661 Correct binary compatibility issues discovered in 1.1.0RC0 2015-05-11 18:28:29 -07:00
Lars Francke ec51d7b2e6 HBASE-1989 Admin (et al.) not accurate with Column vs. Column-Family
usage

Fix check style issues & rename parameter

Incorporate comments

Signed-off-by: stack <stack@apache.org>
2015-05-11 09:46:28 -07:00
stack b03ff8ccca Revert "Rename & deprecate everything in Admin"
Revert because does not cite associated JIRA in commit message (my
fault)

This reverts commit 2ad4114149.
2015-05-11 09:45:33 -07:00
Sean Busbey 9aeafe30b7 HBASE-13611 update clover profile to work with clover 4.x and maven 3.
* change pom to use a maven 3 compat version of clover
* add clover to javadoc plugin deps so that instrumented doclet works
* modify IA annotation test to filter out clover instrumentation
* make splitlog counters check for atomiclong before casting
2015-05-11 01:01:57 -05:00
Lars Francke 8e5a183256 HBASE-13655 Deprecate duplicate getCompression methods in HColumnDescriptor (Lars Francke <lars.francke@gmail.com>)
Recommit after commit missing JIRA
Signed-off-by: stack <stack@apache.org>
2015-05-10 22:52:10 -07:00
stack 17b6f59a98 Revert "Deprecate old methods"
Revert commit of HBASE-13655 Deprecate duplicate getCompression methods in HColumnDescriptor
I committed with bad commit message.

This reverts commit 5732bdb483.
2015-05-10 22:48:09 -07:00
Lars Francke 2ad4114149 Rename & deprecate everything in Admin
Fix check style issues & rename parameter

Incorporate comments

Signed-off-by: stack <stack@apache.org>
2015-05-10 20:47:12 -07:00
Lars Francke 5732bdb483 Deprecate old methods
Add proper JIRA

Signed-off-by: stack <stack@apache.org>
2015-05-10 20:11:12 -07:00
Srikanth Srungarapu 70b5c97903 HBASE-13620 Bring back the removed VisibilityClient methods and mark them as deprecated. 2015-05-08 20:27:36 -07:00
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
stack 2ee5f8f5fd HBASE-13464 Remove deprecations for 2.0.0 - Part 1 (Lars Francke) 2015-05-04 14:42:58 -07:00
Lars Hofhansl a4799acd6b HBASE-13333 Renew Scanner Lease without advancing the RegionScanner. 2015-05-02 17:48:32 -07:00
Andrew Purtell a6027aedb3 HBASE-13312 SmallScannerCallable does not increment scan metrics 2015-05-01 16:33:14 -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
Srikanth Srungarapu 6399cd2c45 HBASE-13358 - Update VisibilityClient to accept Connection objects; ADDENDUM -- remove unused imports 2015-04-30 22:39:26 -07:00
Matt Warhaftig d50d6d967d HBASE-13358 - Update VisibilityClient to accept Connection objects.
Signed-off-by: Srikanth Srungarapu <ssrungarapu@cloudera.com>
2015-04-30 21:28:01 -07:00
tedyu 2e6cd5a47a HBASE-13594 MultiRowRangeFilter shouldn't call HBaseZeroCopyByteString.wrap() directly 2015-04-29 10:38:09 -07:00
Nick Dimiduk 5e3127304d HBASE-13417 batchCoprocessorService() does not handle NULL keys (Abhishek Singh Chouhan) 2015-04-28 16:37:58 -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
Ashish Singhi 84dd84fc58 HBASE-13572 Procedure v2 - client truncate table sync
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-04-28 12:46:06 +01:00
Nick Dimiduk 75bb815d99 HBASE-13518 Typo in hbase.hconnection.meta.lookup.threads.core parameter (Devaraj Das) 2015-04-27 23:01:05 -07:00
Srikanth Srungarapu 807142024f HBASE-13537 Change the admin interface for async operations to return Future. 2015-04-26 16:36:13 -07:00
Nick Dimiduk ba6ba16bc0 HBASE-13466 Document deprecations in 1.x - Part 1 (Lars Francke) 2015-04-26 13:13:02 -07:00
Sean Busbey 9eecd43013 HBASE-13546 handle nulls in MasterAddressTracker when there is no master active. 2015-04-24 13:49:15 -05:00
stack 4c97d4b244 HBASE-13523 API Doumentation formatting is broken (Dylan Jones) 2015-04-24 08:06:20 -07:00
ramkrishna bcb2a279c4 HBASE-13501 - Deprecate/Remove getComparator() in HRegionInfo. (Ram) 2015-04-23 12:12:36 +05:30
Jonathan Lawlor afd7a8f474 HBASE-13527 The default value for hbase.client.scanner.max.result.size is never actually set on Scans
Signed-off-by: stack <stack@apache.org>
2015-04-22 13:29:18 -07:00
ramkrishna 2396020752 HBASE-13502 - Deprecate/remove getRowComparator() in TableName (Ram) 2015-04-22 09:24:00 +05:30
Devaraj Das d314f7d9e0 HBASE-13460. Revise the MetaLookupPool executor-related defaults (introduced in HBASE-13036). 2015-04-15 07:56:25 -07:00
zhangduo fe9180d79e HBASE-13499 AsyncRpcClient test cases failure in powerpc 2015-04-14 23:00:07 +08:00
Enis Soztutar 92e922e11d HBASE-13491 Issue in FuzzyRowFilter#getNextForFuzzyRule (Anoop Sam John) 2015-04-17 21:54:41 -07: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 0dfeba3d78 HBASE-13487 Doc KEEP_DELETED_CELLS 2015-04-17 08:27:45 -07:00
Matteo Bertozzi e9da064ccd HBASE-13457 SnapshotExistsException doesn't honor the DoNotRetry 2015-04-13 23:21:50 +01:00
Matteo Bertozzi f6512065c2 HBASE-13290 Procedure v2 - client enable/disable table sync (Stephen Yuan Jiang) 2015-04-10 18:53:43 +01:00
Matteo Bertozzi 6a6e3f46fd HBASE-13204 Procedure v2 - client create/delete table sync 2015-04-10 18:53:42 +01:00
Matteo Bertozzi b5f1f98a25 HBASE-13203 Procedure v2 - master create/delete table 2015-04-10 18:53:42 +01:00
Mikhail Antonov 1deadb60d1 HBASE-13270 Setter for Result#getStats is #addResults; confusing!
Signed-off-by: stack <stack@apache.org>
2015-04-09 10:44:30 -07:00
Jonathan Lawlor 62d47e175c HBASE-13421 Reduce the number of object creations introduced by HBASE-11544 in scan RPC hot code paths
Signed-off-by: stack <stack@apache.org>
2015-04-08 14:02:49 -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
Ashish Singhi 4d5a11e082 HBASE-13299 Add setReturnResults() to Increment, like Append has
Signed-off-by: stack <stack@apache.org>
2015-04-07 11:46:56 -07:00
Ashish Singhi 8c740f4309 HBASE-13411 Misleading error message when request size quota limit exceeds
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-04-06 22:31:07 +01:00
Andrew Purtell 8c707499ba HBASE-13409 Add categories to uncategorized tests 2015-04-06 11:02:18 -07:00
Jonathan Lawlor 057499474c HBASE-13374 Small scanners (with particular configurations) do not return all rows
Signed-off-by: Enis Soztutar <enis@apache.org>
2015-04-05 14:27:23 -07: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
Josh Elser ffdcc00952 HBASE-13335 Use serverHasMoreResults context in SmallScanner and SmallReversedScanner.
Use the context passed back via ScanResponse that a RegionServer
fills in to denote whether or not more results existing in the
current Region. Add a simple factory to remove a static method
used across both SmallScanner and SmallReverseScanner. Add new
unit tests for both scanner classes to test scans with and
without the new context (as a quick backward-compatibility test).
2015-03-31 21:32:49 -07:00
Elliott Clark 55a5a3be33 HBASE-13364 Make error prone off by default 2015-03-30 16:03:53 -07:00
stack 3815a33e34 HBASE-13361 Remove or undeprecate {get|set}ScannerCaching in HTable (Lars Francke) 2015-03-30 08:16:23 -07:00
Josh Elser ced0e324a1 HBASE-13262 Observe ScanResponse.moreResults in ClientScanner.
The RS already returns to the client whether or not it has additional
results to be returned in a subsequent call to scan(), but the ClientScanner
did not use or adhere to this value. Subsequently, this can lead to
bugs around moving to the next region too early. A new method was added
to ClientScanner in the name of testability.

Encapsulate server-state into RegionServerCallable to avoid
modifying parameterization of callable impls.

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-03-28 18:56:52 -07:00
Josh Elser 98b1e72d1c HBASE-13222 Add isBalancerEnabled method to Master and Admin.
Include some basic tests for the method on a testing cluster.
Also update master page to show an alert when balancer is disabled.

Signed-off-by: Enis Soztutar <enis@apache.org>
2015-03-27 14:28:03 -07:00
Sameet Agarwal ba6345f7d1 HBASE-13316 Reduce the downtime on planned moves of regions
Summary:
The current behavior of a region move shuts down a region and then starts is up in another regionserver. This causes increased latency and possibly timeouts till the new region's cache is fully warmed up. We can make a region move less disruptive by warming the cache in the destination region server before shutting dow the old region.

See https://issues.apache.org/jira/browse/HBASE-13316

Test Plan:
1. Unit Tests
2. Added test for concurrent moves and warmups
3. Manually tested reads/writes happening with concurrent moves

Subscribers: tedyu

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

Signed-off-by: Elliott Clark <eclark@apache.org>
2015-03-27 11:48:01 -07:00
Andrey Stepachev e26c4e4e67 HBASE-5238 Add a log4j category for all edits to META/ROOT 2015-03-25 23:03:18 +00:00
Elliott Clark 134b95579c HBASE-13325 Protocol Buffers 2.5 no longer available for download on code.google.com 2015-03-25 14:05:34 -07:00
stack 50daed268e HBASE-13298 Clarify if Table.{set|get}WriteBufferSize() is deprecated or not 2015-03-25 13:10:04 -07:00
stack 04740703e9 HBASE-13248 Make HConnectionImplementation top-level class; ADDENDUM -- missing file 2015-03-25 11:11:38 -07:00
Ashish Singhi b5c4d9a04f HBASE-13305 Get(Get get) is not copying the row key
Signed-off-by: stack <stack@apache.org>
2015-03-25 07:39:05 -07:00
stack 8579c6dd49 HBASE-13248 Make HConnectionImplementation top-level class 2015-03-25 07:25:44 -07:00
Mikhail Antonov 8cb4f89c01 HBASE-13273 Make Result.EMPTY_RESULT read-only; currently it can be modified
Signed-off-by: Sean Busbey <busbey@cloudera.com>
2015-03-24 12:33:02 -07:00
Matteo Bertozzi 80d230e1fb HBASE-13314 Fix NPE in HMaster.getClusterStatus() 2015-03-24 09:28:06 +00:00
Nick Dimiduk 5459008ccd HBASE-13315 BufferedMutator should be @InterfaceAudience.Public (addendum) 2015-03-23 16:38:32 -07:00
zhangduo 6e9ded51fb HBASE-13310 Fix high priority findbugs warnings 2015-03-24 06:50:04 +08:00
Nick Dimiduk 1428a59caf HBASE-13315 BufferedMutator should be @InterfaceAudience.Public (Solomon Duskis) 2015-03-23 12:16:29 -07:00
Nicolas Liochon 6d4460341e HBASE-13286 Minimum timeout for a rpc call could be 1 ms instead of 2 seconds 2015-03-20 19:09:43 +01:00
stack 34347a3639 HBASE-13274 Fix misplaced deprecation in Delete#addXYZ (Mikhail Antonov) 2015-03-20 09:43:56 -07:00
stack f57dca5e1b HBASE-13198 Remove HConnectionManager (Mikhail Antonov) 2015-03-20 09:41:48 -07:00
Liu Shaohui 602e11cc74 HBASE-13216 Add version info in RPC connection header (Shaohui Liu) 2015-03-19 10:30:55 +08:00
Andrey Stepachev 7a08ad9df8 HBASE-13093 Local mode HBase instance doesn't shut down. 2015-03-17 14:46:30 +00:00