Commit Graph

4158 Commits

Author SHA1 Message Date
Matteo Bertozzi d65210d213 HBASE-15030 Deadlock in master TableNamespaceManager while running IntegrationTestDDLMasterFailover 2015-12-23 09:56:21 -08:00
chenheng f7b67ca763 HBASE-14684 Try to remove all MiniMapReduceCluster in unit tests 2015-12-23 10:35:48 +08:00
tedyu ff069ef97b HBASE-15028 Minor fix on RegionGroupingProvider (Yu Li) 2015-12-22 06:49:14 -08:00
chenheng cf059e54b5 Revert "HBASE-14684 Try to remove all MiniMapReduceCluster in unit tests"
This reverts commit b0965b1805.
2015-12-22 16:10:58 +08:00
Elliott Clark a51dc02ed3 HBASE-15014 Fix filterCellByStore in WALsplitter is awful for performance 2015-12-21 22:50:50 -08:00
chenheng b0965b1805 HBASE-14684 Try to remove all MiniMapReduceCluster in unit tests 2015-12-22 11:25:57 +08:00
Pallavi Adusumilli b82148b705 HBASE-14976 fix tests
Signed-off-by: Mikhail Antonov <antonov@apache.org>
2015-12-21 11:40:08 -08:00
Mikhail Antonov 79baaeb540 HBASE-14976 Add RPC call queues to the web ui (Pallavi Adusumilli) 2015-12-19 12:45:36 -08:00
Lars Hofhansl c27d2c9c3e HBASE-14822 Renewing leases of scanners doesn't work. 2015-12-19 10:15:26 -08:00
anoopsjohn 574774d8b1 HBASE-13158 When client supports CellBlock, return the result Cells as controller payload for get(Get) API also. 2015-12-19 14:58:52 +05:30
Ashu Pachauri b3300602ed HBASE-15001 Fix thread-safety issues with replication
ReplicationSinkManager and HBaseInterClusterReplicationEndpoint
perform certain unsafe operations which might lead to undesirable
behavior with multiwal enabled.

Signed-off-by: Elliott Clark <eclark@apache.org>
2015-12-18 11:49:37 -08:00
Sean Busbey d1c412ae8f HBASE-15003 remove BoundedConcurrentLinkedQueue.
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>

Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestBoundedConcurrentLinkedQueue.java
2015-12-18 12:28:02 -06:00
Elliott Clark 736dd2ed6d HBASE-15005 Use value array in computing block length for 1.2 and 1.3 2015-12-18 00:22:37 -08:00
Elliott Clark 345d008ede HBASE-14978 Don't allow Multi to retain too many blocks -- ADD 2015-12-17 17:56:32 -08:00
Elliott Clark c825a26ad1 HBASE-14978 Don't allow Multi to retain too many blocks 2015-12-17 16:13:33 -08:00
anoopsjohn a93c0e822e HBASE-14999 Remove ref to org.mortbay.log.Log. 2015-12-17 23:33:39 +05:30
anoopsjohn 3919f38e0d HBASE-15000 Fix javadoc warn in LoadIncrementalHFiles. (Ashish) 2015-12-17 22:49:49 +05:30
chenheng 6ec92281ed HBASE-14955 OOME: cannot create native thread is back 2015-12-17 18:33:37 +08:00
tedyu 988ab048ee HBASE-14995 Revert according to Ram's feedback 2015-12-16 21:55:55 -08:00
tedyu b9070b2a45 HBASE-14995 Optimize setting tagsPresent in DefaultMemStore.java (huaxiang sun) 2015-12-16 18:17:28 -08:00
Enis Soztutar 8bd0d9dacd HBASE-14951 Make hbase.regionserver.maxlogs obsolete 2015-12-16 14:58:05 -08:00
Mikhail Antonov 42518fa646 HBASE-14974 Total number of Regions in Transition number on UI incorrect 2015-12-16 14:11:36 -08:00
Josh Elser 00805b399f HBASE-14838 Add clarification docs to SimpleRegionNormalizer.
Signed-off-by: Sean Busbey <busbey@cloudera.com>
2015-12-16 08:59:53 -06:00
Enis Soztutar fbad4d2466 HBASE-14968 ConcurrentModificationException in region close resulting in the region staying in closing state
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
2015-12-15 11:34:40 -08:00
Jonathan M Hsieh 7d3af71db5 HBASE-14929 There is a space missing from table "foo" is not currently available (Carlos A. Morillo) 2015-12-14 16:10:00 -08:00
chenheng 3b9b8cc667 HBASE-14936 CombinedBlockCache should overwrite CacheStats#rollMetricsPeriod() (Jianwei Cui) 2015-12-14 17:34:16 +08:00
Ashu Pachauri 9e6acffca0 HBASE-14953 Replication: retry on RejectedExecutionException
In HBaseInterClusterReplicationEndpoint, we fail the whole batch
in case of a RejectedExecutionException on an individual sub-batch.
We should let the submitted sub-batches finish and retry only for
the remaining ones.

Signed-off-by: Elliott Clark <eclark@apache.org>
2015-12-11 13:21:25 -08:00
Enis Soztutar aeb6ae97d3 HBASE-14960 Fallback to using default RPCControllerFactory if class cannot be loaded
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestRpcControllerFactory.java
2015-12-10 19:13:14 -08:00
Elliott Clark 8508dd07ff HBASE-14946 Don't allow multi's to over run the max result size.
Summary:
* Add VersionInfoUtil to determine if a client has a specified version or better
* Add an exception type to say that the response should be chunked
* Add on client knowledge of retry exceptions
* Add on metrics for how often this happens

Test Plan: Added a unit test

Differential Revision: https://reviews.facebook.net/D51771
2015-12-10 18:31:05 -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
Elliott Clark c6e73f80c5 HBASE-14942 Allow turning off BoundedByteBufferPool 2015-12-09 15:30:58 -08:00
tedyu 07e2496ad1 HBASE-14954 IllegalArgumentException was thrown when doing online configuration change in CompactSplitThread (Victor Xu) 2015-12-09 07:20:55 -08:00
Mikhail Antonov 9f39d356c4 HBASE-7171 Initial web UI for region/memstore/storefiles details 2015-12-08 17:30:00 -08:00
Lars Hofhansl fba9e49dcf HBASE-14869 Better request latency and size histograms. (Vikas Vishwakarma and Lars Hofhansl)
Conflicts:

	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.java
2015-12-08 17:07:45 -08:00
Vrishal Kulkarni 2e5499ed6c HBASE-14719 Add metrics for master WAL count (numMasterWALs). Metric numMasterWALs appears as follows in metrics dump
{
    "name" : "Hadoop:service=HBase,name=Master,sub=Procedure",
    "modelerType" : "Master,sub=Procedure",
    "tag.Context" : "master",
    "tag.Hostname" : "vrishal-mbp",
    "numMasterWALs" : 1
},

Signed-off-by: Elliott Clark <eclark@apache.org>
2015-12-07 11:15:25 -08:00
Andrew Purtell 3dcac2861d HBASE-14923 VerifyReplication should not mask the exception during result comparison (Vishal Khandelwal) 2015-12-04 18:53:01 -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 b001019d9b HBASE-14905 VerifyReplication does not honour versions option (Vishal Khandelwal) 2015-12-03 16:13:59 -08:00
stack 7f2e09f9c9 HBASE-14909 NPE testing for RIT; addendum -- forgot import 2015-12-02 12:02:56 -08:00
stack 96e5f04036 HBASE-14909 NPE testing for RIT 2015-12-02 10:40:51 -08:00
stack 81de832732 HBASE-14908 TestRowCounter flakey especially on branch-1 2015-12-02 10:23:13 -08:00
tedyu 3b6ae17a72 HBASE-14575 Relax region read lock for compactions (Nick and Ted) 2015-12-02 06:25:26 -08:00
stack c4bc1c07bc Revert "HBASE-14223 Meta WALs are not cleared if meta region was closed and RS aborts"
Test TestRegionRebalancing is failing fairly reliably since this went in.

This reverts commit c719e8c456.
2015-12-01 16:02:31 -08:00
chenheng 2d7db89590 HBASE-14891 Add log for uncaught exception in RegionServerMetricsWrapperRunnable(Yu Li) 2015-12-01 17:16:23 +08:00
Enis Soztutar c719e8c456 HBASE-14223 Meta WALs are not cleared if meta region was closed and RS aborts 2015-11-30 17:07:54 -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
tedyu 9de4691a0a HBASE-14893 Race between mutation on region and region closing operation leads to NotServingRegionException 2015-11-27 15:32:42 -08:00
rahulgidwani 9a11c025f2 HBASE-14355 Scan different TimeRange for each column family - fixing memstore bug
Signed-off-by: stack <stack@apache.org>
2015-11-25 22:04:02 -08:00
Lars Hofhansl dbbdb7b2e8 HBASE-14777 second addendum, better fix using CompletionService. 2015-11-25 21:18:27 -08:00
tedyu 06c233834f HBASE-14885 NullPointerException in HMaster#normalizeRegions() due to missing TableDescriptor 2015-11-25 16:08:49 -08:00
stack 30604761c4 HBASE-14883 TestSplitTransactionOnCluster#testFailedSplit flakey 2015-11-25 09:45:52 -08:00
Enis Soztutar e80face0e9 HBASE-14689 Addendum and unit test for HBASE-13471 2015-11-24 19:15:13 -08:00
tedyu 1917516ffd HBASE-14875 Forward port HBASE-14207 'Region was hijacked and remained in transition when RS failed to open a region and later regionplan changed to new RS on retry' 2015-11-24 14:30:37 -08:00
Gary Helmling 07b07300b8 HBASE-14821 Allow configuration overrides in TableOutputFormat 2015-11-24 12:15:25 -08:00
tedyu 447a0e7b7e HBASE-14737 Clear cachedMaxVersions when HColumnDescriptor#setValue(VERSIONS, value) is called (Pankaj Kumar) 2015-11-23 20:26:18 -08:00
anoopsjohn 81e7eb2805 HBASE-13347 Deprecate FirstKeyValueMatchingQualifiersFilter. (Abhishek) 2015-11-24 09:52:37 +05:30
stack 085bf60b42 HBASE-14807 TestWALLockup is flakey Second attempt at stabilizing this test.
Patch includes loosening of the test so we continue when threads
run in not-expected order. Also includes minor clean ups in
FSHLog -- a formatting change, removal of an unused trace logging,
and a check so we don't create a new exception when not needed --
but it also includes a subtle so we check if we need to get to safe
point EVEN IF an outstanding exception. Previous we could by-pass
the safe point check. This should make us even more robust against
lockup (though this is a change that comes of code reading, not of
any issue seen in test).

Here is some detail on how I loosened the test:

The test can run in an unexpected order. Attempts at dictating the
order in which threads fire only had me deadlocking one latch
against another (the test latch vs the WAL zigzag latch) so I
gave up trying and instead, if we happen to go the unusual route of
rolling WALs and failing flush before the scheduled log roll
latch goes into place, just time out the run after a few seconds
and exit the test (but do not fail it); just log a WARN.

This is less than ideal but allows us keep some coverage of the
tricky scenario that was bringing on deadlock (a broken WAL that
is throwing exceptions getting stuck waiting on a sync to clear
out the ring buffer getting overshadowed by a subsequent append
added in by a concurrent flush).
2015-11-20 12:07:32 -08:00
ramkrishna 11b2131013 HBASE-14840 Sink cluster reports data replication request as success
though the data is not replicated(Ashish Singhi)
2015-11-20 16:00:15 +05:30
Ashu Pachauri f56c605e73 HBASE-14777 ADDENDUM Fix failing TestReplicationEndpoint test
Signed-off-by: stack <stack@apache.org>
2015-11-20 00:21:33 -06:00
Sean Busbey ccee3d8dd5 Revert "Fix failing TestReplicationEndpoint test"
This reverts commit 5b5ff1d8b2.
2015-11-20 00:21:24 -06:00
Ashu Pachauri 5b5ff1d8b2 Fix failing TestReplicationEndpoint test
Signed-off-by: stack <stack@apache.org>
2015-11-19 13:26:37 -08:00
ramkrishna b06acfbf0b HBASE-14761 Deletes with and without visibility expression do not delete
the matching mutation (Ram)
2015-11-19 11:24:35 +05:30
chenheng 40e01512cf HBASE-14782 FuzzyRowFilter skips valid rows (Vladimir Rodionov) 2015-11-19 11:41:05 +08:00
Enis Soztutar 8a69dd5b08 HBASE-14468 Compaction improvements: FIFO compaction policy (Vladimir Rodionov) 2015-11-18 19:27:15 -08:00
Ashu Pachauri de4f235bf4 HBASE-14777 Fix Inter Cluster Replication Future ordering issues
Signed-off-by: Elliott Clark <eclark@apache.org>
2015-11-18 16:41:52 -08:00
tedyu a6e0ad636a HBASE-14824 HBaseAdmin.mergeRegions should recognize both full region names and encoded region names (Eungsop Yoo) 2015-11-18 14:26:31 -08:00
Enis Soztutar d4d3b1954c Revert "HBASE-14689 Addendum and unit test for HBASE-13471"
This reverts commit ec021a7b25.
2015-11-17 20:37:16 -08:00
tedyu 5362ac0311 HBASE-14771 RpcServer#getRemoteAddress always returns null (Abhishek Kumar) 2015-11-17 18:49:05 -08:00
Elliott Clark 604c9b2cca HBASE-14793 Allow limiting size of block into L1 block cache. 2015-11-17 10:38:02 -08:00
tedyu 47d59288a7 HBASE-14809 Grant / revoke Namespace admin permission to group 2015-11-16 09:32:11 -08:00
stack b7a4c5f5dc HBASE-14802 Replaying server crash recovery procedure after a failover causes incorrect handling of deadservers; ADDENDUM 2015-11-15 15:00:15 -08:00
stack aaa2294126 HBASE-14798 NPE reporting server load causes regionserver abort; causes TestAcidGuarantee to fail 2015-11-14 09:08:07 -08:00
stack 336eb92016 HBASE-14355 Scan different TimeRange for each column family 2015-11-13 22:44:05 -08:00
stack 72fbfb589e HBASE-14807 TestWALLockup is flakey 2015-11-13 22:40:07 -08:00
stack bb9fbdb2d2 HBASE-14802 Replaying server crash recovery procedure after a failover causes incorrect handling of deadservers 2015-11-13 22:10:07 -08:00
Jerry He c725356e4a HBASE-13982 Add info for visibility labels/cell TTLs to ImportTsv (NIDHI GAMBHIR) 2015-11-10 22:11:14 -08:00
stack 7280ec09df HBASE-14794 Cleanup TestAtomicOperation
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMetaWithReplicas.java
      Fix a few missing table closes (This suite seems to leave loads of threads
      when test is done but have not figured the how yet).

    hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportExport.java
      Fix some missing table closes. We were leaving around client
      resources.

    hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java
      Close up WALs when done.
2015-11-10 18:57:35 -10:00
tedyu 37815cac9e HBASE-14788 Splitting a region does not support the hbase.rs.evictblocksonclose config when closing source region 2015-11-10 18:38:32 -08:00
Matteo Bertozzi 1d29d8c004 HBASE-14786 TestProcedureAdmin hangs 2015-11-10 13:17:58 -08:00
Elliott Clark e8e0e86b49 HBASE-14778 Make block cache hit percentages not integer in the metrics system 2015-11-10 12:28:24 -08:00
Enis Soztutar 3de347f6e0 HBASE-14387 Compaction improvements: Maximum off-peak compaction size (Vladimir Rodionov) 2015-11-09 19:54:35 -08:00
chenheng 7330e11aa4 HBASE-14693 Add client-side metrics for received pushback signals
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestClientPushback.java
2015-11-09 15:32:28 -08:00
tedyu d3e653a261 HBASE-14784 Port conflict is not resolved in HBaseTestingUtility.randomFreePort() (Youngjoon Kim) 2015-11-08 08:51:44 -08:00
tedyu 61e2566c1c HBASE-14463 Severe performance downgrade when parallel reading a single key from BucketCache (Yu Li) 2015-11-06 17:34:14 -08:00
zhangduo 234f31bd4a HBASE-14759 Avoid using Math.abs when selecting SyncRunner in FSHLog 2015-11-07 08:47:56 +08:00
tedyu c1a19dece0 HBASE-14632 Region server aborts due to unguarded dereference of Reader 2015-11-06 13:40:14 -08:00
tedyu c69c74fcbf HBASE-14632 Revert due to over commit 2015-11-06 13:39:24 -08:00
tedyu 0e2e5d3280 HBASE-14632 Region server aborts due to unguarded dereference of Reader 2015-11-06 12:06:58 -08:00
Elliott Clark 2b84c40f01 HBASE-14765 Remove snappy profile 2015-11-05 10:21:14 -08:00
tedyu 6c239f1816 HBASE-14706 RegionLocationFinder should return multiple servernames by top host (Guanghao Zhang) 2015-11-04 14:25:53 -08:00
chenheng fa2d0859f7 HBASE-12986 Compaction pressure based client pushback
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClientProtos.java
2015-11-03 18:40:59 -08:00
Elliott Clark b24324cc23 HBASE-14742 Fix TestHeapMemoryManager being flakey 2015-11-02 17:02:41 -08:00
Andrew Purtell 2e1711f209 HBASE-14631 Addendum restores a method in RegionMergeTransactionImpl 2015-11-02 15:54:28 -08:00
Andrew Purtell bd4addcedf HBASE-14605 Addendum restores two methods in SplitTransactionImpl 2015-11-02 15:50:03 -08:00
stack 51f5412a92 Revert "HBASE-14725 Vet categorization of tests so they for sure go into the right small/medium/large buckets"
Reverting. It seems to have destabilized the build.

This reverts commit aaaa813225.
2015-11-02 08:16:59 -08:00
stack aaaa813225 HBASE-14725 Vet categorization of tests so they for sure go into the right small/medium/large buckets 2015-11-01 22:55:59 -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