Commit Graph

3944 Commits

Author SHA1 Message Date
Sean Busbey 4cab6963b0 HBASE-13726 Use commons-io to cleanup Closeables instead of hadoop IOUtils. 2015-05-27 16:04:55 -05:00
Andrew Purtell 4070770243 HBASE-13780 Default to 700 for HDFS root dir permissions for secure deployments (Enis Soztutar) 2015-05-27 13:15:32 -07:00
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
anoopsjohn 6388b3baf6 HBASE-13762 Use the same HFileContext with store files in mob files. (Jingcheng) 2015-05-25 23:27:45 +05:30
anoopsjohn 9ee184b673 HBASE-13760 Cleanup Findbugs keySet iterator warnings. (Gabor Liptak) 2015-05-25 22:11:49 +05:30
anoopsjohn d45e0a7d41 HBASE-13734 Improper timestamp checking with VisibilityScanDeleteTracker. 2015-05-25 13:53:13 +05:30
ramkrishna 5428c9fdd3 HBASE-13720 - Mob files are not encrypting in mob compaction and Sweeper
(Jingcheng du)
2015-05-25 10:05:20 +05:30
anoopsjohn f28e395290 HBASE-13375 Provide HBase superuser higher priority over other users in the RPC handling. (Mikhail Antonov) 2015-05-23 21:12:47 +05:30
tedyu e93e1ea73c HBASE-13671 More classes to add to org.apache.hadoop.hbase.mapreduce.driver (li xiang) 2015-05-22 19:32:51 -07:00
Srikanth Srungarapu 7662980798 HBASE-13658 Improve the test run time for TestAccessController class (Ashish Singhi) 2015-05-22 14:25:16 -07:00
stack c2d73f02eb HBASE-13745 Say why a flush was requested in log message 2015-05-22 11:41:22 -07:00
anoopsjohn 132f65ea1f HBASE-13739 Remove KeyValueUtil.ensureKeyValue(cell) from MOB code.(Jingcheng) 2015-05-22 20:15:22 +05:30
Lars Hofhansl f8893e0012 HBASE-13703 ReplicateContext should not be a member of ReplicationSource. 2015-05-21 21:56:21 -07:00
tedyu b886bac53c HBASE-13733 Failed MiniZooKeeperCluster startup did not shutdown ZK servers (Stephen Jiang) 2015-05-21 14:04:31 -07:00
tedyu a9cf353c75 HBASE-13741 Disable TestRegionObserverInterface#testRecovery and testLegacyRecovery (Stephen Jiang) 2015-05-21 13:59:09 -07:00
stack e1e8434340 HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered 2015-05-21 11:06:27 -07:00
tedyu cb1ef915df HBASE-13731 TestReplicationAdmin should clean up MiniZKCluster resource (Stephen Jiang) 2015-05-21 10:27:21 -07:00
Lars Francke d16f349a63 HBASE-13645: Rename *column methods in MasterObserver to *columnFamily
Signed-off-by: stack <stack@apache.org>
2015-05-21 10:11:56 -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
anoopsjohn 5098f365b4 HBASE-13736 Add delay for the first execution of ExpiredMobFileCleanerChore and MobFileCompactorChore.(Jingcheng) 2015-05-21 13:40:25 +05:30
anoopsjohn d69807663c HBASE-13642 Deprecate RegionObserver#postScannerFilterRow CP hook with byte[],int,int args in favor of taking Cell arg. 2015-05-21 13:36:12 +05:30
anoopsjohn 5e06ede3f7 HBASE-13679 Change ColumnTracker and SQM to deal with Cell instead of byte[], int, int. 2015-05-21 10:24:08 +05:30
Enis Soztutar eddabdd353 HBASE-13709 Updates to meta table server columns may be eclipsed 2015-05-20 17:42:32 -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
stack dc72dad7cd HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered 2015-05-20 11:55:06 -07:00
anoopsjohn 88f19ab697 HBASE-13722 Avoid non static method from BloomFilterUtil. 2015-05-20 22:18:45 +05:30
tedyu 132573792d HBASE-13704 Hbase throws OutOfOrderScannerNextException when MultiRowRangeFilter is used (Aleksandr Maksymenko) 2015-05-19 20:22:53 -07:00
Enis Soztutar 0ef4a10882 HBASE-13717 TestBoundedRegionGroupingProvider#setMembershipDedups need to set HDFS diretory for WAL (Stephen Yuan Jiang) 2015-05-19 19:03:19 -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
Jonathan M Hsieh 8a09d95c46 HBASE-13693 [HBase MOB] Mob files are not encrypting (Ashutosh Jindai) 2015-05-19 16:11:45 -07:00
Jonathan M Hsieh 4da0149ee4 HBASE-13531 Flakey failure of TestAcidGuarantees#testMobScanAtomicity (Jingcheng Du)
rd point was not properly handled in the mob scanner case.
2015-05-19 16:11:37 -07:00
Esteban Gutierrez 74e5b26e57 HBASE-13694 CallQueueSize is incorrectly decremented until the response is sent
Signed-off-by: stack <stack@apache.org>
2015-05-19 09:22:31 -07:00
ramkrishna 5e7e626ef5 HBASE-13510 - Purge ByteBloomFilter (Ram) 2015-05-19 10:22:56 +05:30
Nick Dimiduk 92e66ef522 HBASE-13609 TestFastFail is still failing 2015-05-18 12:46:52 -07:00
Andrew Purtell f49111e5f8 HBASE-13668 TestFlushRegionEntry is flaky 2015-05-16 16:28:10 -07:00
Patrick White 3fa0bf3cb6 HBASE-13684 Allow mlockagent to be used when not starting as root
Fixes for mlockall_agent
changed init_str to options, to match the JVMTI docs
added support for running with no user (allow via adding user to limits.conf)

Signed-off-by: Elliott Clark <eclark@apache.org>
2015-05-16 12:38:20 -07:00
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
Matteo Bertozzi fec091a807 HBASE-13651 Handle StoreFileScanner FileNotFoundException 2015-05-15 18:57:58 +01:00
Andrey Stepachev 9ba7337ac8 HBASE-13646 HRegion#execService should not try to build incomplete messages 2015-05-14 13:21:48 +01:00
stack 94937ddaf2 HBASE-11830 TestReplicationThrottler.testThrottling failed on virtual boxes 2015-05-13 09:43:16 -07:00
eshcar 86b91997d0 HBASE-13071 Hbase Streaming Scan Feature
Signed-off-by: stack <stack@apache.org>
2015-05-13 08:23:39 -07:00
Lars Hofhansl 220ac141bf HBASE-13618 ReplicationSource is too eager to remove sinks. 2015-05-12 21:27:55 -07:00
Matteo Bertozzi befb46c4d5 HBASE-13662 RSRpcService.scan() throws an OutOfOrderScannerNext if the scan has a retriable failure 2015-05-12 17:47:04 +01:00
tedyu 89688d4a43 HBASE-13663 HMaster fails to restart 'HMaster: Failed to become active master' 2015-05-12 09:04:56 -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
Matteo Bertozzi 30ecf990fe HBASE-13606 AssignmentManager.assign() is not sync in both path 2015-05-12 00:13:29 +01:00
Elliott Clark c3f83a9eff HBASE-13635 Regions stuck in transition because master is incorrectly assumed dead
Summary:
Requests to tell master that meta is moved can be blocked behind other requests that are trying to mutate meta.
This causes a dead lock and the master is assumed dead. However the master stays up the whole time.

This patch adds prioritization onto reporting meta moves. It should allow meta to make progress.

Test Plan: unit tests.

Differential Revision: https://reviews.facebook.net/D38109
2015-05-11 15:21:17 -07:00
Jerry He 174632111c HBASE-13217 Procedure fails due to ZK issue 2015-05-11 14:19:13 -07:00
Lars Francke fa6dc9c44e HBASE-13634 Avoid unsafe reference equality checks to EMPTY byte[]
Add comment

Signed-off-by: stack <stack@apache.org>
2015-05-11 10:55:48 -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
tedyu 7bdacf53f4 HBASE-13653 Uninitialized HRegionServer#walFactory may result in NullPointerException at region server startup​ 2015-05-10 07:37:07 -07:00
Sean Busbey 5a2ca43fa1 HBASE-13612 TestRegionFavoredNodes should guard against setup failure. 2015-05-09 14:13:54 -07:00
tedyu c90da7a81c HBASE-13593 Quota support for namespace should take snapshot restore and clone into account (Ashish Singhi) 2015-05-09 11:11:11 -07:00
Enis Soztutar 11b76732c0 HBASE-13576 HBCK enhancement: Failure in checking one region should not fail the entire HBCK operation. (Stephen Yuan Jiang) 2015-05-06 12:08: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
zhangduo 652929c0ff HBASE-13628 Use AtomicLong as size in BoundedConcurrentLinkedQueue 2015-05-06 14:51:22 +08:00
Josh Elser 2e132db85c HBASE-13591 Attempt to stabilize TestHBaseFsck 2015-05-05 15:37:19 -07:00
ramkrishna 977f867439 HBASE-10800 - Use CellComparator instead of KVComparator (Ram) 2015-05-05 11:38:10 +05:30
stack 25b5098da7 HBASE-13617 TestReplicaWithCluster.testChangeTable timeout (Stephen Yuan Jiang) 2015-05-04 17:15:35 -07:00
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
tedyu 807eba3e1a HBASE-13607 TestSplitLogManager.testGetPreviousRecoveryMode consistently failing (Josh Elser) 2015-05-02 07:14:10 -07:00
Andrew Purtell a6027aedb3 HBASE-13312 SmallScannerCallable does not increment scan metrics 2015-05-01 16:33:14 -07:00
Nick Dimiduk 9925e6df39 HBASE-13604 bin/hbase mapredcp does not include yammer-metrics jar 2015-05-01 09:15:16 -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
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
Lars Hofhansl 235dc9734f HBASE-13601 Connection leak during log splitting. (Abhishek Singh Chouhan) 2015-04-30 17:05:05 -07:00
Lars Hofhansl aabf6ea2f6 HBASE-13497 Remove MVCC stamps from HFile when that is safe. 2015-04-30 16:47:55 -07:00
Andrew Purtell 81e793e582 HBASE-13420 RegionEnvironment.offerExecutionLatency Blocks Threads under Heavy Load 2015-04-30 12:54:28 -07:00
ramkrishna 3a9c2b0c55 HBASE-13579 Avoid isCellTTLExpired() for NO-TAG cases (Ram) 2015-04-30 15:14:41 +05:30
stack 4120f657b9 HBASE-13564 Master MBeans are not published (Ashish Singhi) + Addendum 2015-04-29 11:35:31 -07:00
Nick Dimiduk 167f0f0480 Revert "HBASE-13564 Master MBeans are not published"
This reverts commit a725044644.
2015-04-29 09:14:59 -07:00
Devaraj Das b27e9e70be HBASE-13351. Annotate internal MasterRpcServices methods with admin priority (Josh Elser) 2015-04-28 23:38:28 -07:00
Rajeshbabu Chintaguntla e2f7508afd HBASE-13431 Allow to skip store file range check based on column family while creating reference files in HRegionFileSystem#splitStoreFile(Rajeshbabu) 2015-04-29 08:30:03 +05:30
Enis Soztutar 7348a05e99 HBASE-13585 HRegionFileSystem#splitStoreFile() finishes without closing the file handle in some situation (Stephen Yuan Jiang) 2015-04-28 17:27:46 -07:00
Matteo Bertozzi ee562faeb3 HBASE-13578 Remove Arrays.asList().subList() from FSHLog.offer() 2015-04-28 20:43:08 +01: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
Ashish Singhi a725044644 HBASE-13564 Master MBeans are not published 2015-04-27 21:23:59 -07:00
Josh Elser 01188f0e86 HBASE-13255 Fix grammar in Regions description paragraph 2015-04-27 15:51:15 -07:00
Matteo Bertozzi b96952beef HBASE-13394 Failed to recreate a table when quota is enabled 2015-04-27 21:43:39 +01:00
Andrey Stepachev d5ff2b587c HBASE-13322 Replace explicit HBaseAdmin creation with connection#getAdmin() 2015-04-27 16:28:53 +01:00
Srikanth Srungarapu 75507af9f8 HBASE-13563 Add missing table owner to AC tests. 2015-04-26 16:40:40 -07:00
Nick Dimiduk ba6ba16bc0 HBASE-13466 Document deprecations in 1.x - Part 1 (Lars Francke) 2015-04-26 13:13:02 -07:00
tedyu 8a18cf3c01 HBASE-13555 StackServlet produces 500 error 2015-04-24 16:40:32 -07:00
Srikanth Srungarapu b5fb861f76 HBASE-13536 Cleanup the handlers that are no longer being used. 2015-04-24 12:25:25 -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
ramkrishna 40a80c1fe0 HBASE-13450 - Addendum to remove an Unused import 2015-04-24 16:13:54 +05:30
ramkrishna a4fa930843 HBASE-13450 - Purge RawBytescomparator from the writers and readers for
HBASE-10800 (Ram)
2015-04-24 16:01:38 +05:30
tedyu e1cb405adc HBASE-13528 A bug on selecting compaction pool (Shuaifeng Zhou) 2015-04-24 02:16:41 -07:00
Apekshit(Appy) Sharma 031dd3638c HBASE-13534 Changed Master UI to promptly display if it is a backup master. (Apekshit)
Signed-off-by: Elliott Clark <eclark@apache.org>
2015-04-23 15:06:53 -07:00
ramkrishna bcb2a279c4 HBASE-13501 - Deprecate/Remove getComparator() in HRegionInfo. (Ram) 2015-04-23 12:12:36 +05:30
Jerry He 6c427175b8 HBASE-13526 TestRegionServerReportForDuty can be flaky: hang or timeout 2015-04-22 21:19:10 -07:00
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
tedyu 2bf8cda4f6 HBASE-13437 ThriftServer leaks ZooKeeper connections (Winger Pun) 2015-04-22 07:52:23 -07:00
Elliott Clark 07b8a7b264 HBASE-13524 TestReplicationAdmin fails on JDK 1.8 2015-04-21 17:06:10 -07:00
Matt Warhaftig ddab4726f6 HBASE-13350 Log warnings for sanity check failures when checks disabled.
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-04-16 09:51:47 +01:00
Josh Elser 682a29a57f HBASE-12987 Pare repeated hbck output and increase verbosity in long-running tasks. 2015-04-15 14:35:43 -07:00
Devaraj Das 14261bc9e5 HBASE-13453. Master should not bind to region server ports (Srikanth Srungarapu) 2015-04-15 11:02:08 -07:00
Andrew Purtell 2da1bf10b8 HBASE-12006 [JDK 8] KeyStoreTestUtil#generateCertificate fails due to "subject class type invalid"
This is a port of the fix from HADOOP-10847
2015-04-15 09:47:34 -07:00
Matteo Bertozzi 4788c6d1a8 HBASE-13455 Procedure V2 - master truncate table 2015-04-15 10:35:41 +01:00
zhangduo fe9180d79e HBASE-13499 AsyncRpcClient test cases failure in powerpc 2015-04-14 23:00:07 +08:00
Rajesh Nishtala 0b4e32a206 HBASE-13471 Fix a possible infinite loop in doMiniBatchMutation
Summary: in doMiniBatchMutation it is possible to get into an infinite loop when a query has a row that is not in the region. If the batch had an invalid row, the row lock further down the function would fail to acquire because it was an invalid row. However we'd catch the exception and improperly treat it as if we had not acquired the lock and then try acquiring the lock again. Thus once we got into this state we'd be stuck in an infinite loop. Worse yet, this infiite loop would occur with the readLock held. So any other opertaions such as doClose() would be locked out and stuck. The patch is to check whether the row is valid and short circuit the failure when it doesn't work.

Test Plan: IntegrationTestReplication would consistently fail when trying to disable large tables before the fix. After the test the tests pass consistently.

Reviewers: eclark

Subscribers: asameet

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

Signed-off-by: Elliott Clark <eclark@apache.org>
2015-04-21 15:24:52 -07:00
Enis Soztutar 4e0de088c5 HBASE-13515 Handle FileNotFoundException in region replica replay for flush/compaction events 2015-04-21 11:55:35 -07:00
anoopsjohn 2ba4c4eb9f HBASE-13520 NullPointerException in TagRewriteCell.(Josh Elser) 2015-04-21 17:34:09 +05:30
tedyu eb82b8b309 HBASE-13514 Fix test failures in TestScannerHeartbeatMessages caused by incorrect setting of hbase.rpc.timeout (Jonathan Lawlor) 2015-04-20 14:48:10 -07: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
Devaraj Das 3bf69761e1 HBASE-13482. Phoenix is failing to scan tables on secure environments. (Alicia Shu) 2015-04-19 22:17:38 -07:00
tedyu 3baab26d0b HBASE-13481 Addendum sets MASTER_HOSTNAME_KEY config 2015-04-19 15:16:21 -07:00
Tobi Vollebregt 176261af78 HBASE-13430 HFiles that are in use by a table cloned from a snapshot may be deleted when that snapshot is deleted
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-04-18 09:48:08 +01:00
Enis Soztutar 92e922e11d HBASE-13491 Issue in FuzzyRowFilter#getNextForFuzzyRule (Anoop Sam John) 2015-04-17 21:54:41 -07:00
Enis Soztutar 66e55ff388 HBASE-13481 Master should respect master (old) DNS/bind related configurations 2015-04-17 18:11:26 -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
Elliott Clark 2c5dc53a32 HBASE-13477 Create metrics on failed requests
Summary: Add metrics on how many requests are exceptions and what type.

Test Plan: behold unit tests.

Differential Revision: https://reviews.facebook.net/D37167
2015-04-17 15:37:31 -07:00
Jerry He 3ccae37866 HBASE-13456 Improve HFilePrettyPrinter first hbase:meta region processing (Samir Ahmic) 2015-04-17 11:29:33 -07:00
stack 92af695ea1 HBASE-13307 Making methods under ScannerV2#next inlineable, faster 2015-04-17 08:15:07 -07:00
tedyu e08ef99e30 HBASE-13473 deleted cells come back alive after the stripe compaction (jeongmin kim) 2015-04-16 11:36:25 -07:00
zhangduo 4f151444b5 HBASE-13301 Possible memory leak in BucketCache 2015-04-14 17:41:46 +08:00
Matteo Bertozzi e9da064ccd HBASE-13457 SnapshotExistsException doesn't honor the DoNotRetry 2015-04-13 23:21:50 +01:00
Matteo Bertozzi e994b491ac HBASE-13209 Procedure V2 - master Add/Modify/Delete Column Family (addendum) 2015-04-10 23:11:40 +01:00
Srikanth Srungarapu 1890bffce3 HBASE-13436 Include user name in ADE for scans 2015-04-10 13:44:19 -07: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 57c70f0af8 HBASE-13211 Procedure V2 - master Enable/Disable table (Stephen Yuan Jiang) 2015-04-10 18:53:43 +01:00
Matteo Bertozzi 4ae8b8cc52 HBASE-13209 Procedure V2 - master Add/Modify/Delete Column Family (Stephen Yuan Jiang) 2015-04-10 18:53:43 +01:00
Matteo Bertozzi 7f5383368b HBASE-13210 Procedure V2 - master Modify table (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
anoopsjohn eba8a708a5 HBASE-13313 Skip the disabled table in mob compaction chore and MasterRpcServices.(Jingcheng) 2015-04-10 13:26:47 +05:30
tedyu 3cd929eea2 HBASE-13381 Expand TestSizeFailures to include small scans (Josh Elser) 2015-04-09 17:57:57 -07:00
stack 66f7bf4615 HBASE-13118 [PE] Add being able to write many columns
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
2015-04-09 16:52:11 -07: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
Jonathan M Hsieh e2a90a7114 HBASE-13412 ADDENDUM Region split decisions should have jitter
This corrects the jitter threshold constant in the unit test so that it will pass regularly.
2015-04-08 14:51:25 -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
Sean Busbey cbc53a0ba5 HBASE-13414 Removes now-obselete checks for JRE 6 in TestHCM. 2015-04-08 14:21:28 -05: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
tedyu a9d7c49a59 HBASE-11864 Enhance HLogPrettyPrinter to print information from WAL Header (Chuhan Yang) 2015-04-08 06:15:55 -07:00
Jonathan M Hsieh fe389d1f19 HBASE-13302 fix new javadoc introduced by mob 2015-04-08 06:01:34 -07:00
Elliott Clark b6756b39c2 HBASE-13412 Region split decisions should have jitter 2015-04-07 17:20:19 -07:00
stack 9ac3c5f16d HBASE-13377 Canary may generate false alarm on the first region when there are many delete markers (He Liangliang) 2015-04-07 17:07:39 -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
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
Matteo Bertozzi fef8ae9c70 HBASE-13406 TestAccessController is flaky when create is slow 2015-04-04 10:17:11 +01:00
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
stack 6c22333599 HBASE-13397 Purge duplicate rpc request thread local 2015-04-03 15:37:30 -07:00
stack 3a2a29616c HBASE-13373 Squash HFileReaderV3 together with HFileReaderV2 and AbstractHFileReader; ditto for Scanners and BlockReader, etc.
Reapply after adding in the missing JIRA number
2015-04-03 15:25:19 -07:00
stack 319666ca53 Revert "HBASE-Squash HFileReaderV3 together with HFileReaderV2 and AbstractHFileReader; ditto for Scanners and BlockReader, etc."
This reverts commit 5b25a48e7f.
2015-04-03 15:16:38 -07:00
stack 5b25a48e7f HBASE-Squash HFileReaderV3 together with HFileReaderV2 and AbstractHFileReader; ditto for Scanners and BlockReader, etc. 2015-04-03 14:14:00 -07:00
zhangduo 5789779aff HBASE-13385 TestGenerateDelegationToken is broken with hadoop 2.8.0 2015-04-03 07:47:00 +08:00
Andrew Purtell 2365932d78 HBASE-13388 Handling NullPointer in ZKProcedureMemberRpcs while getting ZNode data (Vikas Vishwakarma) 2015-04-02 14:17:26 -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
Dave Latham 61f4ce6880 HBASE-12891 Parallel execution for Hbck checkRegionConsistency
Signed-off-by: Enis Soztutar <enis@apache.org>
2015-04-02 11:21:43 -07:00
Andrew Purtell 1e6ea5aab7 Amend HBASE-12975 Supportable SplitTransaction and RegionMergeTransaction interfaces
Remove accidentally committed junk file RegionMergeTransactionImpl.java.rej
2015-04-02 10:33:04 -07:00
unknown f210c2ebba HBASE-13370 - PE tool could give option for using Explicit Column Tracker
which leads to seeks (Ram)
2015-04-02 16:13:23 +05:30
Srikanth Srungarapu 22d9766aa7 HBASE-13091 Split ZK Quorum on Master WebUI (Jean-Marc Spaggiari) 2015-04-01 23:20:42 -07:00
Andrew Purtell d3ed23ecf4 HBASE-13384 Fix Javadoc warnings introduced by HBASE-12972 2015-04-01 22:06:38 -07:00
Andrew Purtell 2688e831e5 HBASE-13383 TestRegionServerObserver.testCoprocessorHooksInRegionsMerge zombie after HBASE-12975 2015-04-01 21:46:08 -07:00
Liu Shaohui a609e5e107 HBASE-13366 Throw DoNotRetryIOException instead of read only IOException (Shaohui Liu) 2015-04-02 11:52:54 +08:00
Srikanth Srungarapu 485800830a HBASE-13296 Fix the deletion of acl notify nodes for namespace. 2015-04-01 11:22:01 -07:00
tedyu 64449e2ae7 HBASE-12954 Addendum uses invalid TLD in test 2015-04-01 11:21:12 -07:00
tedyu 874aa9eb85 HBASE-12954 Ability impaired using HBase on multihomed hosts 2015-04-01 06:49:09 -07:00
Enis Soztutar 6415742c37 HBASE-13317 Region server reportForDuty stuck looping if there is a master change (Jerry He) 2015-03-31 22:59:08 -07:00
zhangduo 35ddea75c4 HBASE-13371 Fix typo in TestAsyncIPC 2015-04-01 12:14:23 +08:00
Liu Shaohui 9b2b0abccd HBASE-13348 Separate the thread number configs for meta server and server operations (Shaohui Liu) 2015-04-01 09:54:26 +08:00
Andrew Purtell e156ed619c HBASE-12975 Supportable SplitTransaction and RegionMergeTransaction interfaces 2015-03-31 16:02:38 -07:00
tedyu 452ce33ef5 HBASE-13369 Addendum deletes the table at the end of test 2015-03-31 15:42:38 -07:00
tedyu 64941c6151 HBASE-13369 Expose scanNext stats to region server level 2015-03-31 15:25:36 -07:00
tedyu 619d34487e HBASE-13213 Split out locality metrics among primary and secondary region 2015-03-31 15:16:08 -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
stack 3815a33e34 HBASE-13361 Remove or undeprecate {get|set}ScannerCaching in HTable (Lars Francke) 2015-03-30 08:16:23 -07:00
tedyu bfb04d26a7 HBASE-12993 Use HBase 1.0 interfaces in hbase-thrift (Solomon Duskis) 2015-03-29 06:45:49 -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
tedyu a6ff17b958 HBASE-13357 If maxTables/maxRegions exceeds quota in a namespace, throw QuotaExceededException (Ashish Singhi) 2015-03-28 14:01:06 -07:00
Jonathan Lawlor 5038fc76c9 Amend HBASE-13303 Fix size calculation of results on the region server
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-03-27 22:11:30 -07:00
Enis Soztutar 0a500e5d30 HBASE-13328 LoadIncrementalHFile.doBulkLoad(Path,HTable) should handle managed connections 2015-03-27 14:49:58 -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
Elliott Clark a4a235b8d1 HBASE-13170 Allow block cache to be external
Summary: Add MemcachedBlockCache

Test Plan: Tested locally with PE and running memcached.

Subscribers: rajesh.nishtala, ndimiduk

Differential Revision: https://reviews.facebook.net/D34635
2015-03-27 13:15:27 -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
Elliott Clark 5d2c33158c HBASE-13342 Fix incorrect interface annotations 2015-03-27 00:19:15 -07:00
Andrew Purtell b6b1e3b86e HBASE-13332 Fix the usage of doAs/runAs in Visibility Controller tests (Srikanth Srungarapu) 2015-03-26 21:54:29 -07:00
zhangduo a78effcdc6 HBASE-13295 TestInfoServers hung 2015-03-27 11:58:17 +08:00
nke 18256fc954 HBASE-8725 Add total time RPC call metrics
Signed-off-by: Elliott Clark <eclark@apache.org>
2015-03-26 11:11:53 -07:00
Andrew Purtell 5a58116bb5 HBASE-13294 Fix the critical ancient loopholes in security testing infrastructure (Srikanth Srungarapu) 2015-03-25 11:21:28 -07:00
Matteo Bertozzi 5e1fc2587c HBASE-13311 TestQuotaThrottle flaky on slow machine 2015-03-25 18:19:53 +00:00
stack 8579c6dd49 HBASE-13248 Make HConnectionImplementation top-level class 2015-03-25 07:25:44 -07:00
Elliott Clark e78aeb24e0 HBASE-13331 Exceptions from DFS client can cause CatalogJanitor to delete referenced files
Summary:
CatalogJanitor#checkDaughterInFs assumes that there are no references
whenever HRegionFileSystem.openRegionFromFileSystem throws IOException.
Well Hadoop and HBase throw IOExceptions whenever someone looks in their general direction.

This patch explicitly checks if the directory exists. If it doesn't then it allows references to be
deleted. All other exceptions cause CatalogJanitor to assume there are references

Test Plan: Unit tests.

Differential Revision: https://reviews.facebook.net/D35829
2015-03-24 19:52:10 -07:00
tedyu 227ace9100 HBASE-13327 Use Admin in ConnectionCache (Solomon Duskis) 2015-03-24 18:13:51 -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