Commit Graph

3520 Commits

Author SHA1 Message Date
Nick Dimiduk 9bdb81f0a1 HBASE-12887 Cleanup many checkstyle errors in o.a.h.h.client 2015-01-20 12:44:36 -08:00
Nick Dimiduk 3e777898aa HBASE-12881 TestFastFail is not compatible with surefire.rerunFailingTestsCount 2015-01-20 09:29:42 -08:00
rahulgidwani f71b980d37 HBASE-11195 Potentially improve block locality during major compaction for old regions
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-01-19 17:33:17 -08:00
Andrew Purtell 53815afc10 HBASE-12878 Incorrect HFile path in TestHFilePerformance print output (Vikas Vishwakarma) 2015-01-19 12:46:44 -08:00
Andrew Purtell 03e17168c3 HBASE-12840 Improve unit test coverage of the client pushback mechanism 2015-01-17 11:50:26 -08:00
Enis Soztutar a55bd21340 HBASE-12862 Uppercase wals in RegionServer webUI 2015-01-16 11:12:14 -08:00
zhangduo 7309bb4317 HBASE-12863 Master info port on RS UI is always 0
Signed-off-by: Enis Soztutar <enis@apache.org>
2015-01-16 10:45:38 -08:00
Matteo Bertozzi 621b33f2f9 HBASE-12773 Add warning message when user is trying to bulkload a large HFile (Srikanth Srungarapu) 2015-01-15 23:13:47 +00:00
tedyu eafc07a06d HBASE-12848 Utilize Flash storage for WAL 2015-01-15 08:52:30 -08:00
Enis Soztutar 51575197de HBASE-12844 ServerManager.isServerReacable() should sleep between retries 2015-01-14 15:45:46 -08:00
Rajeshbabu Chintaguntla 7e872a81a9 HBASE-12847 TestZKLessSplitOnCluster frequently times out in 0.98 builds(Rajeshbabu) 2015-01-15 00:00:37 +05:30
Misty Stanley-Jones 1a21c1684c HBASE-11533 Asciidoc Proof of Concept 2015-01-13 22:32:29 -08:00
stack 608025ae67 HBASE-7541 Convert all tests that use HBaseTestingUtility.createMultiRegions to HBA.createTable (Jonathan Lawlor) 2015-01-13 22:10:12 -08:00
Nick Dimiduk 9b7f36b8cf HBASE-11983 HRegion constructors should not create HLog 2015-01-13 15:07:59 -08:00
Virag Kothari 4ac457a7bc HBASE-12480 Regions in FAILED_OPEN/FAILED_CLOSE should be processed on master failover 2015-01-13 11:03:16 -08:00
tedyu 72a6a670ac HBASE-12849 LoadIncrementalHFiles should use unmanaged connection in branch-1 2015-01-13 10:51:56 -08:00
tedyu e5f3dd682f HBASE-11144 Filter to support scanning multiple row key ranges (Jiajia Li) 2015-01-13 07:02:06 -08:00
Andrew Purtell e52d8f85c4 HBASE-12838 After HBASE-5162 RSRpcServices accidentally applies mutations twice 2015-01-12 11:45:36 -08:00
Rajeshbabu Chintaguntla 5b850caa80 HBASE-12791 HBase does not attempt to clean up an aborted split when the regionserver shutting down(Rajeshbabu) 2015-01-12 01:04:26 +05:30
tedyu f6a017ce63 HBASE-12798 Map Reduce jobs should not create Tables in setConf() (Solomon Duskis) 2015-01-10 14:23:03 -08:00
tedyu 988cba762a HBASE-12834 Promote ScanType to LimitedPrivate 2015-01-09 15:35:14 -08:00
Nick Dimiduk 4bfd35aabc HBASE-12825 CallRunner exception messages should include destination host:port 2015-01-08 18:40:01 -08:00
Enis Soztutar 4d7c65ae84 HBASE-12824 CompressionTest fails with org.apache.hadoop.hbase.io.hfile.AbstractHFileReader: Not seeked to a key/value 2015-01-08 15:51:30 -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
tedyu 4ea490b63a HBASE-12811 [AccessController] NPE while scanning a table with user not having READ permission on the namespace (Ashish) 2015-01-08 09:06:12 -08:00
tedyu ee32eebeab HBASE-12819 ExportSnapshot doesn't close FileSystem instances 2015-01-08 08:51:25 -08:00
tedyu 9246af8dac HBASE-12796 Clean up HTable and HBaseAdmin deprecated constructor usage (Jurriaan Mous) 2015-01-08 07:49:28 -08:00
tedyu 645fbd7d87 HBASE-12817 Data missing while scanning using PREFIX_TREE data block encoding (Duo Zhang) 2015-01-07 18:45:09 -08:00
Virag Kothari 7dce0d5c45 HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula) 2015-01-07 10:57:47 -08:00
tedyu 45fc2bdd86 HBASE-10528 DefaultBalancer selects plans to move regions onto draining nodes (Churro Morales) 2015-01-06 12:33:28 -08:00
Sean Busbey 26e3e1b300 HBASE-12339 WALPerformanceEvaluation should have a log roller. 2015-01-06 08:22:48 -06:00
Lars Hofhansl 7774f964e6 HBASE-12779 SplitTransaction: Add metrics. 2015-01-05 17:13:58 -08:00
tedyu 2452d3861f HBASE-12802 Remove unnecessary Table.flushCommits() (Solomon Duskis) 2015-01-05 15:45:52 -08:00
tedyu 5b53a187d2 HBASE-12793 [hbck] closeRegionSilentlyAndWait() should log cause of IOException and retry until hbase.hbck.close.timeout expires (Esteban) 2015-01-05 15:05:35 -08:00
tedyu 37e1bb61f4 HBASE-12785 Use FutureTask to timeout the attempt to get the lock for hbck 2015-01-05 14:09:58 -08:00
Enis Soztutar 24bcebdeeb HBASE-12799 ITAG fails with java.lang.RuntimeException if table does not exist 2015-01-05 11:14:40 -08:00
tedyu 2ba6053163 HBASE-12804 ImportTsv fails to delete partition files created by it (Ashish) 2015-01-05 09:29:00 -08:00
tedyu ac95cc1fbb HBASE-12783 Create efficient RegionLocator implementation (Solomon Duskis) 2015-01-02 19:48:06 -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
Sean Busbey a90e64c637 HBASE-12719 test provider to remove just the hdfs interactions from fshlog.
* Adds a provider that takes a config to determine if we actually do syncs, appends, and file rolls.
  - required relaxing some members of FSHLog from private to protected.
* Fixes DisabledWALProvider so it can be used as hbase.wal.provider in the wal perf eval tool.
2014-12-31 16:01:07 -06:00
Aditya Kishore 8514e2b20e HBASE-12775: CompressionTest ate my HFile 2014-12-30 16:14:59 -08:00
stack 305267b8e2 HBASE-12270 A bug in the bucket cache, with cache blocks on write enabled (Liu Shaohui) 2014-12-30 14:43:19 -08:00
Jurriaan Mous baa2d05374 HBASE-12740 Improve performance of TestHBaseFsck
Signed-off-by: stack <stack@apache.org>
2014-12-30 14:29:46 -08:00
stack 734324e80f Revert "HBASE-12740 Improve performance of TestHBaseFsck"
Undo because Jurriaan Mous did update in meantime.

This reverts commit 042743fff0.
2014-12-30 12:19:57 -08:00
stack c6002ccd38 HBASE-12772 TestPerColumnFamilyFlush failing -- ADDENDUM 2014-12-30 11:37:31 -08:00
Jurriaan Mous 042743fff0 HBASE-12740 Improve performance of TestHBaseFsck
Signed-off-by: stack <stack@apache.org>
2014-12-30 10:37:43 -08:00
tedyu 57b1efaabe HBASE-12607 TestHBaseFsck#testParallelHbck fails running against hadoop 2.6.0 2014-12-30 09:33:54 -08:00
Lars Hofhansl 0513a21dc8 HBASE-12776 SpliTransaction: Log number of files to be split. 2014-12-29 20:38:09 -08:00
xieliang c24810eebe HBASE-12767 Fix a StoreFileScanner NPE in reverse scan flow 2014-12-30 11:55:11 +08:00
stack 02b0332650 HBASE-12772 TestPerColumnFamilyFlush failing 2014-12-29 15:47:20 -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
Elliott Clark e5ca773f78 HBASE-12429 Add port to ClusterManager's actions. 2014-12-29 10:22:52 -08:00
stack 8dac7f9e6c HBASE-12762 Region with no hfiles will have the highest locality cost in LocalityCostFunction (cuijianwei) 2014-12-29 07:44:46 -08:00
tedyu fbdaf62bf8 HBASE-12716 A bug in RegionSplitter.UniformSplit algorithm (Weichen Ye) 2014-12-28 07:48:24 -08:00
tedyu 9abab54d8e HBASE-12764 TestPerColumnFamilyFlush#testCompareStoreFileCount may fail due to new table not available 2014-12-27 21:10:47 -08:00
stack 317d137452 HBASE-12763 Make it so there must be WALs for a server to be marked dead 2014-12-27 13:09:40 -08:00
Elliott Clark 8426f1f53a HBASE-12697 Don't use RegionLocationFinder if localityCost == 0 2014-12-26 11:13:28 -08:00
Jonathan M Hsieh 30424ec73f HBASE-12749 Tighten HFileLink api to enable non-snapshot uses 2014-12-24 04:54:47 -08:00
Jonathan M Hsieh a912a56b38 HBASE-12590 A solution for data skew in HBase-Mapreduce jobs (Weichen Ye) 2014-12-24 04:50:42 -08:00
Jonathan M Hsieh 9a829dc458 HBASE-12735 Refactor TestAcidGuarantees so it can live as unit test and as an integration test 2014-12-23 17:18:58 -08:00
Jurriaan Mous 4880e5d83b HBASE-12736
Signed-off-by: stack <stack@apache.org>
2014-12-23 10:30:25 -08:00
Jurriaan Mous e92a9bf003 HBASE-12742
Signed-off-by: stack <stack@apache.org>
2014-12-23 10:14:16 -08:00
Devaraj Das 1c45d1cd9d HBASE-12012. Improve cancellation for the scan RPCs 2014-12-22 16:22:04 -08:00
stack 4d53fe5dcd HBASE-12734 TestPerColumnFamilyFlush.testCompareStoreFileCount is flakey (zhangduo) 2014-12-22 08:56:33 -08:00
tedyu fbf8b30aa6 HBASE-12741 AccessController contains a javadoc issue (Jurriaan Mous) 2014-12-22 08:32:37 -08:00
tedyu 51334fb951 HBASE-10201 Addendum fixes typo of putIfAbsent (Duo Zhang) 2014-12-21 07:22:41 -08:00
Jesse Yates e267db45ac HBASE-12703 Cleanup TestClientPushback for repeatability 2014-12-19 19:16:43 -08:00
stack feede7abd8 HBASE-12732 Log messages in FileLink#tryOpen are reversed (Tobi Vollebregt) 2014-12-19 17:47:11 -08:00
Enis Soztutar 40fb2e9219 HBASE-12720 Make InternalScan LimitedPrivate (Vladimir Rodionov) 2014-12-19 13:57:51 -08:00
Enis Soztutar d3002c6a8e HBASE-12511 namespace permissions - add support from table creation privilege in a namespace 'C' (Huaiyu Zhu) 2014-12-19 13:04:39 -08:00
Andrew Purtell 9a7adafcdb HBASE-12724 Upgrade the interface audience of RegionScanner from Private to LimitedPrivate 2014-12-19 09:37:03 -08:00
Virag Kothari dceaa2589f Revert "HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula)"
This reverts commit b24991d7a0.
2014-12-19 08:39:52 -08:00
Sean Busbey f1c41e307e HBASE-5699 Adds multiple WALs per Region Server based on groups of regions. 2014-12-19 10:31:41 -06:00
stack 0c7d22439d Fix single javadoc warning in VisibilityController -- removed a '@return' 2014-12-19 08:22:00 -08:00
tedyu cfd7584eef HBASE-12715 getLastSequenceId always returns -1 (Duo Zhang) 2014-12-19 06:58:16 -08:00
Jonathan M Hsieh 33c27f4e03 HBASE-12718 Convert TestAcidGuarantees from a unit test to an integration test 2014-12-18 17:21:23 -08:00
Virag Kothari b24991d7a0 HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula) 2014-12-18 17:00:07 -08:00
Virag Kothari 3caae62390 Revert "HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula)"
This reverts commit 9ae615f82b.
2014-12-18 11:29:39 -08:00
Virag Kothari 9ae615f82b HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula) 2014-12-18 11:24:26 -08:00
tedyu 15cf0a6e7b HBASE-12223 MultiTableInputFormatBase.getSplits is too slow (Yuanbo Peng) 2014-12-18 05:09:01 -08:00
Enis Soztutar 00f4ff420e HBASE-12683 Compilation with hadoop-2.7.0-SNAPSHOT is broken - ADDENDUM 2014-12-17 19:41:56 -08:00
Srikanth Srungarapu 072b2d659c HBASE-12640 Add Thrift-over-HTTPS and doAs support for Thrift Server 2014-12-17 16:12:48 -08:00
Jimmy Xiang d918570c80 Revert "Thrift Http implementation"
This reverts commit 1cf8521191.
2014-12-17 16:11:30 -08:00
Srikanth Srungarapu 1cf8521191 Thrift Http implementation 2014-12-17 16:06:19 -08:00
tedyu 6aa8b3727c HBASE-5162 Addendum to stabilize TestClientPushback 2014-12-17 12:37:40 -08:00
stack 422df8a3f4 HBASE-12645 HBaseTestingUtility is using ${$HOME} for rootDir (Varun Saxena) -- ADDENDUM 2014-12-17 10:53:50 -08:00
Andrew Purtell 99a11390b4 Amend HBASE-5162 Basic client pushback mechanism (Jesse Yates)
Applied hbase-5162-trunk-addendum.patch
2014-12-16 22:15:49 -08:00
Andrew Purtell 6a042c381a Revert "HBASE-5162 Basic client pushback mechanism (Jesse Yates); ADDENDUM"
This reverts commit f7154e1ac9.
2014-12-16 22:14:50 -08:00
stack f7154e1ac9 HBASE-5162 Basic client pushback mechanism (Jesse Yates); ADDENDUM 2014-12-16 21:09:52 -08:00
stack 89006f76f7 HBASE-12645 HBaseTestingUtility is using ${$HOME} for rootDir (Varun Saxena) 2014-12-16 16:41:27 -08:00
tedyu 885b065683 HBASE-10201 Addendum changes TestPerColumnFamilyFlush to LargeTest 2014-12-16 16:02:44 -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
Rajeshbabu Chintaguntla 96c6b9815d HBASE-12696 Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck in splitPolicy return true(Rajeshbabu) 2014-12-16 08:38:15 +05:30
Ashish Singhi 110c5f5930 HBASE-12348 preModifyColumn and preDeleteColumn in AC denies user to perform its operation though it has required rights
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-12-15 17:43:19 -08:00
tedyu 065d03b784 HBASE-12685 TestSplitLogManager#testLogFilesAreArchived sometimes times out due to race condition 2014-12-15 11:49:39 -08:00
Jonathan M Hsieh 3a652ba41c HBASE-12692 NPE from SnapshotManager#stop (Ashish Singhi) 2014-12-15 11:17:59 -08:00
Enis Soztutar afb753ecc3 HBASE-12683 Compilation with hadoop-2.7.0-SNAPSHOT is broken 2014-12-15 11:09:20 -08:00
Misty Stanley-Jones db873f0886 HBASE-12677 Update replication docs to clarify terminology 2014-12-15 15:44:26 +10:00
stack 029768287a HBASE-12422 Use ConnectionFactory in HTable constructors Fix method signature in test 2014-12-14 19:42:15 -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
tedyu 65830b096b HBASE-12659 Replace the method calls to grant and revoke in shell scripts with AccessControlClient (Srikanth Srungarapu) 2014-12-13 10:17:43 -08:00
tedyu b24518562a HBASE-12644 Visibility Labels: issue with storing super users in labels table (Jerry He) 2014-12-13 09:10:50 -08:00
Enis Soztutar a0e473730e HBASE-12678 HBCK should print command line arguments 2014-12-12 13:17:06 -08:00
Jurriaan Mous 3275b964c1 HBASE-12668 Adapt PayloadCarryingRpcController so it can also be used in an async way
Signed-off-by: stack <stack@apache.org>
2014-12-12 07:44:04 -08:00
stack da2b5a9627 HBASE-12373 Provide a command to list visibility labels (Jerry He) 2014-12-11 15:18:03 -08:00
Matteo Bertozzi 7030d2187d HBASE-12674 Add permission check to getNamespaceDescriptor() 2014-12-11 17:43:51 +00:00
Jeffrey Zhong f67162547d HBASE-12485 Maintain SeqId monotonically increasing 2014-12-10 17:30:00 -08:00
Matteo Bertozzi 8ab96c40d8 HBASE-12663 unify getTableDescriptors() and listTableDescriptors 2014-12-10 15:15:53 +00:00
stack df22270756 HBASE-12665 When aborting, dump metrics
Add some fixup of checkstyle fails
2014-12-09 21:01:15 -08:00
tedyu 9b808155e3 HBASE-12553 request value is not consistent for restoreSnapshot in audit logs (Ashish) 2014-12-09 20:40:18 -08:00
Andrew Purtell 011442edda HBASE-12454 Setting didPerformCompaction early in HRegion#compact 2014-12-09 17:06:04 -08:00
Nick Dimiduk cc8bdcb498 HBASE-12467 Master joins cluster but never completes initialization
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-12-09 16:32:11 -08:00
stack 1be63539f1 HBASE-12664 TestDefaultLoadBalancer.testBalanceCluster fails in CachedDNSToSwitchMapping -- ADDENDUM 2014-12-09 13:52:46 -08:00
Andrew Purtell 5537fce353 HBASE-11979 Compaction progress reporting is wrong (Esteban Gutierrez) 2014-12-09 12:46:35 -08:00
Nick Dimiduk e720c83557 HBASE-12652 Allow unmanaged connections in MetaTableAccessor (Solomon Duskis) 2014-12-09 11:27:34 -08:00
stack f9df6a2766 HBASE-12664 TestDefaultLoadBalancer.testBalanceCluster fails in CachedDNSToSwitchMapping 2014-12-09 11:06:23 -08:00
Rajeshbabu Chintaguntla 53493ff5db HBASE-12583 Allow creating reference files even the split row not lies in the storefile range if required - Addendum(Rajeshbabu) 2014-12-09 23:36:28 +05:30
Sean Busbey 33d79bb5ec HBASE-12655 WALPerformanceEvaluation should only add stat gathering listener once per WAL. 2014-12-09 09:52:12 -06:00
tedyu c42c36521d HBASE-12653 Move TestRegionServerOnlineConfigChange & TestConfigurationManager to Junit4 tests (Ashish) 2014-12-09 07:25:44 -08:00
Rajeshbabu Chintaguntla 0354128780 HBASE-12583 Allow creating reference files even the split row not lies in the storefile range if required(Rajeshbabu) 2014-12-09 18:59:13 +05:30
Matteo Bertozzi 8a2c84156a HBASE-12564 consolidate the getTableDescriptors() semantic 2014-12-09 12:06:00 +00:00
Andrew Purtell b4371252fe HBASE-12575 Sanity check table coprocessor classes are loadable 2014-12-08 18:18:22 -08:00
Jurriaan Mous a8e6461855 HBASE-12597
Signed-off-by: stack <stack@apache.org>
2014-12-08 15:40:09 -08:00
stack b8ab1b176c Revert "HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG"
Accidental commit. Reverting.

This reverts commit 2458be08ed.
2014-12-08 15:34:53 -08:00
stack 2458be08ed HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG 2014-12-08 15:04:59 -08:00
stack 4b1983c89d HBASE-12611 Create autoCommit() method and remove clearBufferOnFail (Solomon Duskis) 2014-12-08 11:01:28 -08:00
Elliott Clark da0e807dd3 HBASE-12574 Update replication metrics to not do so many map look ups. 2014-12-08 10:35:57 -08:00
tedyu 9e9be97af7 HBASE-12650 Move ServerName to hbase-common module - check in changed files 2014-12-08 07:08:44 -08:00
Enis Soztutar 87e4414004 HBASE-12647 Truncate table should work with C as well 2014-12-07 20:57:04 -08:00
Devaraj Das 9fd6db3703 HBASE-11903. Directly invoking split & merge of replica regions should be disallowed 2014-12-07 11:56:53 -08:00
Andrew Purtell bb15fd5fe0 HBASE-12606 Sanity check encryption configuration before opening WAL or onlining regions
Also disables IntegrationTestIngestWithEncryption if distributed
cluster configuration is missing prerequisites.
2014-12-06 21:46:43 -08:00
Devaraj Das ca0c1774c9 HBASE-12548. Improve debuggability of IntegrationTestTimeBoundedRequestsWithRegionReplicas 2014-12-06 18:18:03 -08:00
tedyu 415ad6b686 HBASE-12642 LoadIncrementalHFiles does not throw exception after hitting hbase.bulkload.retries.number setting 2014-12-05 18:39:58 -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
Keith Winkler f83e25e180 HBASE-12565 Race condition in HRegion.batchMutate() causes partial data to be written when region closes
Signed-off-by: stack <stack@apache.org>
2014-12-05 10:17:34 -08:00
Matteo Bertozzi c8362a7bb2 HBASE-12622 user_permission should require global admin to display global and ns permissions 2014-12-05 10:45:30 +00:00
Enis Soztutar 08754f2c43 HBASE-12637 Compilation with Hadoop-2.4- is broken 2014-12-04 18:14:59 -08:00
Andrew Purtell e690a83d41 HBASE-12635 Delete acl notify znode of table after the table is deleted (Liu Shaohui) 2014-12-04 16:43:33 -08:00
Ashish Singhi 04444299ab HBASE-12634 Fix the AccessController#requireGlobalPermission(ns) with NS
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2014-12-04 14:12:26 +00:00
stack 52e35b4473 Add timeout on TestDefaultLoadBalancer#testBalancerCluster to see if we can stop it hanging as a zombie in precommit builds 2014-12-03 11:13:36 -08:00
Sean Busbey c5c395b68a HBASE-12623 removes unused code to upgrade from pre-0.96 to 0.96.
Removes both insertion of namespaces and migration of zookeeper data to protobufs.
2014-12-03 13:13:12 -06:00
stack d6b1d8cbf7 HBASE-12617 Running IntegrationTestBigLinkedList against cluster getting not an instance of org.apache.hadoop.hbase.MiniHBaseCluster 2014-12-03 10:37:32 -08:00
Ramkrishna 3db5e20834 HBASE-11639 - [Visibility controller] Replicate the visibility of Cells as
strings- Addendum adding break (Ram)
2014-12-03 10:18:27 +05:30
tedyu a8a134374e HBASE-12614 Potentially unclosed StoreFile(s) in DefaultCompactor#compact() 2014-12-02 19:31:21 -08:00
stack 54f438cee4 HBASE-12616 We lost the linked list commands in recent usage refactoring 2014-12-02 14:15:04 -08:00
stack 7a3396f0e1 HBASE-12490 Replace uses of setAutoFlush(boolean, boolean) (Solomon Duskis) 2014-12-02 10:06:21 -08:00
stack 1a9b556474 Revert "HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG"
This reverts commit 8b8f2026bd.

Overcommit. Added "HBASE-12490 Replace uses of setAutoFlush(boolean,
boolean)" by mistake

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClusterStatusListener.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
2014-12-02 09:51:19 -08:00
Elliott Clark 29ee0cb0e1 HBASE-12576 Add metrics for rolling the HLog if there are too few DN's in the write pipeline 2014-12-02 09:30:52 -08:00
stack 7b10847ec8 HBASE-12610 Close connection in TableInputFormatBase (Solomon Duskis) 2014-12-02 09:28:02 -08:00
tedyu 5cc0714840 HBASE-12559 Addendum fixes findbugs warnings 2014-12-02 04:43:34 -08:00
Enis Soztutar 94d57f81dc HBASE-12537 HBase should log the remote host on replication error (Stack) 2014-12-01 20:10:20 -08:00
tedyu a30cca91e0 HBASE-12559 Provide LoadBalancer with online configuration capability 2014-12-01 14:11:01 -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
tedyu 2fbbdfd9a1 HBASE-12559 Revert for addressing review comments 2014-12-01 10:38:05 -08:00
stack 308db3a5c8 HBASE-12520 Add protected getters on TableInputFormatBase (Solomon Duskis) 2014-12-01 10:20:37 -08:00
stack 69a437ac0d HBASE-12514 Cleanup HFileOutputFormat legacy code (Solomon Duskis)
Signed-off-by: stack <stack@apache.org>
2014-12-01 10:15:51 -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
tedyu 41041e8d6a HBASE-12559 Provide LoadBalancer with online configuration capability 2014-12-01 07:30:17 -08:00
stack b94b0e9ca7 HBASE-12491 TableMapReduceUtil.findContainingJar() NPE 2014-11-29 09:34:00 -08:00
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
stack eb4c194a87 HBASE-10536 ImportTsv should fail fast if any of the column family passed to the job is not present in the table (denny joesph) 2014-11-28 20:42:24 -08:00
stack 0f8894cd64 HBASE-12581 TestCellACLWithMultipleVersions failing since task 5 HBASE-12404 (HBASE-12404 addendum) -- SLEEP ADDENDUM 2014-11-27 05:28:55 -08:00
stack aa0bd50fd4 HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- DISABLING FAILING TEST 2014-11-26 22:22:35 -08:00
Jeffrey Zhong f0d95e7f11 HBASE-12533: staging directories are not deleted after secure bulk load 2014-11-26 16:23:11 -08:00
Jeffrey Zhong b2cdeacc8c HBASE-12053: SecurityBulkLoadEndPoint set 777 permission on input data files 2014-11-26 16:19:22 -08:00
stack 595d2a846c HBASE-12589 Forward-port fix for TestFromClientSideWithCoprocessor.testMaxKeyValueSize 2014-11-26 14:43:32 -08:00
stack 1c0a06193e HBASE-12587 TestReplicationTrackerZKImpl.testPeerRemovedEvent timedout 2014-11-26 12:53:54 -08:00
Enis Soztutar 02963b202a HBASE-12072 Standardize retry handling for master operations 2014-11-26 12:09:44 -08:00
stack d1f39d8246 Revert "HBASE-12563 After Starting up mini hbase cluster, Real Configuration of Cluster never set to HBaseTestingUtility (Talat UYARER)"
Causes TestZooKeeper to fail.  Reverting.

This reverts commit 9be143691c.
2014-11-26 10:23:49 -08:00
stack b719e7a8c6 HBASE-12518 Task 4 polish. Remove CM#{get,delete}Connection
Remove deleteConnection from everywhere except the two tests that ensure
it does the right thing and from HCM and CM themselves.

Undoes deleteConnection from tests and from the web ui
2014-11-26 08:11:41 -08:00
stack 9be143691c HBASE-12563 After Starting up mini hbase cluster, Real Configuration of Cluster never set to HBaseTestingUtility (Talat UYARER) 2014-11-26 07:59:26 -08:00
stack 1350055fcd HBASE-12581 TestCellACLWithMultipleVersions failing since task 5 HBASE-12404 (HBASE-12404 addendum) 2014-11-26 07:53:35 -08:00
Matteo Bertozzi c57bc08082 HBASE-12474 Incorrect handling of default namespace in user_permission command (Srikanth Srungarapu) 2014-11-26 12:29:38 +00:00
stack 8b8f2026bd HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG 2014-11-25 21:21:50 -08:00
stack 24f19328eb HBASE-12581 TestCellACLWithMultipleVersions failing since task 5 HBASE-12404 (HBASE-12404 addendum) 2014-11-25 16:29:53 -08:00
stack e6b4300756 HBASE-12404 Task 5 from parent: Replace internal HTable constructor use with
HConnection#getTable (0.98, 0.99)

Replaced HTable under hbase-*/src/main/java. Skipped tests. Would take
till end of time to do all and some cases are cryptic. Also skipped
some mapreduce where HTable comes through in API. Can do both of
these stragglers in another issue.
Generally, if a utility class or standalone class, tried to pass in a
Connection rather than have the utility or standalone create its own
connection on each invocation; e.g. the Quota stuff. Where not possible,
noted where invocation comes from... if test or hbck, didn't worry about
it.
Some classes are just standalone and nothing to be done to avoid
a Connection setup per invocation (this is probably how it worked
in the new HTable...days anyways). Some classes are not used:
AggregationClient, FavoredNodes... we should just purge this stuff.
Doc on what short circuit connection does (I can just use it...
I thought it was just for short circuit but no, it switches dependent
on where you are connecting).
Changed HConnection to super Interface ClusterConnection where safe (
internal usage by private classes only).
Doc cleanup in example usage so we do new mode rather than the old
fashion.
Used java7 idiom that allows you avoid writing out finally to call close
on implementations of Closeable.
Added a RegistryFactory.. moved it out from being inner class.
Added a utility createGetClosestRowOrBeforeReverseScan method to Scan
to create a Scan that can ...
Renamed getShortCircuitConnection as getConnection – users don't need
to know what implementation does (that it can short-circuit RPC).
The old name gave pause. I was frightened to use it thinking it only
for short-circuit reading – that it would not do remote too.
Squashed commit of the following:
2014-11-25 08:15:20 -08:00
Elliott Clark e83082a888 HBASE-12550 ADDENDUM Make HRegion's api not change. 2014-11-24 16:11:48 -08:00
Elliott Clark 0df5ed2ca6 HBASE-12550 Check all storefiles are referenced before splitting
Summary: If there are bugs in HDFS move and/or create we should protect against them by making sure that all files referenced end up in split daughters.

Test Plan: Unit tests cover splits pretty well

Subscribers: matteobertozzi

Differential Revision: https://reviews.facebook.net/D29373
2014-11-24 09:58:43 -08:00
stack 336c22d581 HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99) under src/main/java
Move from HConnection to ClusterConnection or Connection
Use unmanaged connections where we use managed previous
(used the jdk7 https://docs.oracle.com/javase/7/docs/technotes/guides/language/try-with-resources.html idiom).

In ZKConfig, synchronize on Configuration rather than make a copy.
Making a copy we were dropping hbase configs in certain test context
(could not find the zk ensemble because default port).

In tests, some move to the new style connection setup but mostly
fixes for premature connection close or adding cleanup where it
was lacking.
2014-11-24 09:46:28 -08:00
tedyu 7ee4df600b HBASE-12554 TestBaseLoadBalancer may timeout due to lengthy rack lookup 2014-11-21 16:52:11 -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
tedyu 890c067b66 HBASE-12552 listSnapshots should list only owned snapshots for non-super user 2014-11-21 10:54:05 -08:00
Matteo Bertozzi 325cdc0987 HBASE-12073 Shell command user_permission fails on the table created by user if he is not global admin (Srikanth Srungarapu) 2014-11-21 10:55:48 +00:00
anoopsjohn 83f9f39e2a HBASE-12346 Scan's default auths behavior under Visibility labels.(Jerry He) 2014-11-21 13:29:42 +05:30
stack c5690b1be3 HBASE-12541 Add misc debug logging to hanging tests in TestHCM and TestBaseLoadBalancer 2014-11-20 17:54:39 -08:00
Enis Soztutar a16b4e0fd5 HBASE-12549 Fix TestAssignmentManagerOnCluster#testAssignRacingWithSSH() flaky test 2014-11-20 16:17:06 -08:00
Sean Busbey cd08f8b2be HBASE-12516 Clean up QA Bot warnings
Signed-off-by: stack <stack@apache.org>
2014-11-20 15:12:30 -08:00
tedyu d2ff1269f9 HBASE-11099 Two situations where we could open a region with smaller sequence number (Stephen Jiang) 2014-11-20 14:43:16 -08:00
tedyu 7eefd0cbed HBASE-12464 meta table region assignment stuck in the FAILED_OPEN state due to region server not fully ready to serve (Stephen Jiang) 2014-11-20 09:58:42 -08:00
Nick Dimiduk b6dd9b441f HBASE-12539 HFileLinkCleaner logs are uselessly noisy 2014-11-19 23:49:48 +01:00
Sean Busbey db2b6421ff HBASE-12535 NPE in WALFactory under contention for getInstance()
Signed-off-by: stack <stack@apache.org>
2014-11-19 14:39:46 -08:00
Matteo Bertozzi 05ced20a34 HBASE-12529 Use ThreadLocalRandom for RandomQueueBalancer 2014-11-19 16:50:29 +00:00
Matteo Bertozzi 3f95fe22e0 Patch up Jetty to disable SSLv3 (CVE-2014-3566) 2014-11-19 16:40:18 +00:00