Commit Graph

3479 Commits

Author SHA1 Message Date
stack 2ff16e532b HBASE-12270 A bug in the bucket cache, with cache blocks on write enabled (Liu Shaohui) 2014-12-30 14:43:54 -08:00
stack ad7d7f5977 HBASE-12740 Improve performance of TestHBaseFsck
Signed-off-by: stack <stack@apache.org>

    Conflicts:

        hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java
2014-12-30 14:32:16 -08:00
stack 1962d39bf6 HBASE-12772 TestPerColumnFamilyFlush failing -- ADDENDUM 2014-12-30 11:38:11 -08:00
tedyu 034b10733d HBASE-12607 TestHBaseFsck#testParallelHbck fails running against hadoop 2.6.0 2014-12-30 09:35:04 -08:00
Lars Hofhansl 6a7c619e1e HBASE-12776 SpliTransaction: Log number of files to be split. 2014-12-29 20:38:33 -08:00
xieliang 619f94f113 HBASE-12767 Fix a StoreFileScanner NPE in reverse scan flow 2014-12-30 11:56:43 +08:00
stack 8ff62d9cee HBASE-12772 TestPerColumnFamilyFlush failing 2014-12-29 15:45:23 -08:00
Elliott Clark 7527227ab9 HBASE-12429 Add port to ClusterManager's actions. 2014-12-29 10:23:01 -08:00
stack 0e39b8b9f7 HBASE-12762 Region with no hfiles will have the highest locality cost in LocalityCostFunction (cuijianwei) 2014-12-29 07:45:39 -08:00
tedyu 882f4c9761 HBASE-12716 A bug in RegionSplitter.UniformSplit algorithm (Weichen Ye) 2014-12-28 07:49:12 -08:00
tedyu 978d90b557 HBASE-12764 TestPerColumnFamilyFlush#testCompareStoreFileCount may fail due to new table not available 2014-12-27 21:11:59 -08:00
stack feb71872a3 HBASE-12763 Make it so there must be WALs for a server to be marked dead 2014-12-27 13:10:13 -08:00
Elliott Clark 3c8ac97c76 HBASE-12697 Don't use RegionLocationFinder if localityCost == 0 2014-12-26 11:13:35 -08:00
Jonathan M Hsieh 5425369327 HBASE-12749 Tighten HFileLink api to enable non-snapshot uses
Conflicts:
	hbase-
server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java

Also a minor change for TestUpgradeTo96 to replace constructor
2014-12-24 05:07:35 -08:00
Jonathan M Hsieh ac7ebdb179 HBASE-12735 Refactor TestAcidGuarantees so it can live as unit test and as an integration test 2014-12-23 17:32:39 -08:00
Jurriaan Mous 611ee0eb72 HBASE-12736 Let MetaScanner recycle a given Connection (Jurriaan Mous)
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestRestartCluster.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestEndToEndSplitTransaction.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java
2014-12-23 10:59:18 -08:00
Jurriaan Mous 8eed26fc3c HBASE-12742
Signed-off-by: stack <stack@apache.org>
2014-12-23 10:15:00 -08:00
Devaraj Das 949982fc6e HBASE-12012. Improve cancellation for the scan RPCs (patch from master; had to resolve some conflicts) 2014-12-22 16:45:41 -08:00
stack fd232cc3b5 HBASE-12734 TestPerColumnFamilyFlush.testCompareStoreFileCount is flakey (zhangduo) 2014-12-22 08:57:09 -08:00
tedyu 84d4ad76ab HBASE-12741 AccessController contains a javadoc issue (Jurriaan Mous) 2014-12-22 08:33:51 -08:00
tedyu fbc852b680 HBASE-10201 Addendum fixes typo of putIfAbsent (Duo Zhang) 2014-12-21 07:23:41 -08:00
stack dfa22cc922 HBASE-12732 Log messages in FileLink#tryOpen are reversed (Tobi Vollebregt) 2014-12-19 17:48:15 -08:00
Enis Soztutar 85c386cdbb HBASE-12720 Make InternalScan LimitedPrivate (Vladimir Rodionov) 2014-12-19 13:59:19 -08:00
Enis Soztutar ec64415570 HBASE-12511 namespace permissions - add support from table creation privilege in a namespace 'C' (Huaiyu Zhu) 2014-12-19 13:05:12 -08:00
Andrew Purtell 7fff4b6cf9 HBASE-12724 Upgrade the interface audience of RegionScanner from Private to LimitedPrivate 2014-12-19 09:37:27 -08:00
Virag Kothari 29940c286e Revert "HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula)"
This reverts commit f0e27b2f78.
2014-12-19 08:38:15 -08:00
Sean Busbey 2b94aa8c85 HBASE-5699 Adds multiple WALs per Region Server based on groups of regions. 2014-12-19 10:23:12 -06:00
tedyu 14c821781c HBASE-12715 getLastSequenceId always returns -1 (Duo Zhang) 2014-12-19 07:00:17 -08:00
Jonathan M Hsieh 11d72ff2a4 HBASE-12718 Convert TestAcidGuarantees from a unit test to an integration test 2014-12-18 17:34:43 -08:00
Virag Kothari f0e27b2f78 HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula) 2014-12-18 17:02:10 -08:00
tedyu 5d34d2d02a HBASE-10201 Addendum changes TestPerColumnFamilyFlush to LargeTest 2014-12-18 16:01:48 -08:00
zhangduo e55ef7a663 HBASE-10201 Port 'Make flush decisions per column family' to trunk
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
2014-12-18 15:58:55 -08:00
Virag Kothari 9895604e96 Revert "HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula)"
This reverts commit 7fbee896f4.
2014-12-18 11:33:16 -08:00
Virag Kothari 7fbee896f4 HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula) 2014-12-18 11:29:02 -08:00
tedyu effbe85888 HBASE-12223 MultiTableInputFormatBase.getSplits is too slow (Yuanbo Peng) 2014-12-18 05:10:12 -08:00
Enis Soztutar d66ae28c07 Update pom.xml version for 1.1.0-SNAPSHOT for branch-1 2014-12-17 23:16:41 -08:00
Enis Soztutar 9c532a0f9f HBASE-12683 Compilation with hadoop-2.7.0-SNAPSHOT is broken - ADDENDUM 2014-12-17 19:43:47 -08:00
Srikanth Srungarapu 85188d5d9d HBASE-12640 Add Thrift-over-HTTPS and doAs support for Thrift Server 2014-12-17 16:28:13 -08:00
stack 476bd40716 HBASE-12652 Allow unmanaged connections in MetaTableAccessor (Solomon Duskis); REAPPLY 2014-12-17 11:11:35 -08:00
stack 5b51218a56 HBASE-12645 HBaseTestingUtility is using ${$HOME} for rootDir (Varun Saxena) -- ADDENDUM 2014-12-17 10:54:30 -08:00
stack e82f048d7b HBASE-12645 HBaseTestingUtility is using ${$HOME} for rootDir (Varun Saxena) 2014-12-16 21:20:32 -08:00
stack 4587a693b0 Revert "HBASE-12652 Allow unmanaged connections in MetaTableAccessor (Solomon Duskis)"
This reverts commit 1c99261f53.
2014-12-16 17:00:37 -08:00
stack 36269b6403 HBASE-9431 Set 'hbase.bulkload.retries.number' to 10 as HBASE-8450 claims 2014-12-16 11:11:51 -08:00
Rajeshbabu Chintaguntla 0a73d41634 HBASE-12696 Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck in splitPolicy return true(Rajeshbabu) 2014-12-16 08:57:50 +05:30
Ashish Singhi e4ad5581d9 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:28 -08:00
Andrew Purtell 871444cb0a HBASE-12686 Failures in split before PONR not clearing the daughter regions from regions in transition during rollback (Vandana Ayyalasomayajula) 2014-12-15 17:32:05 -08:00
tedyu 677153ad61 HBASE-12651 Backport HBASE-12559 'Provide LoadBalancer with online configuration capability' to branch-1 2014-12-15 12:03:55 -08:00
tedyu 8b85feceb7 HBASE-12685 TestSplitLogManager#testLogFilesAreArchived sometimes times out due to race condition 2014-12-15 11:50:54 -08:00
Jonathan M Hsieh 7cf86b62a7 HBASE-12692 NPE from SnapshotManager#stop (Ashish Singhi) 2014-12-15 11:23:18 -08:00
Enis Soztutar 88d1ddffd7 HBASE-12683 Compilation with hadoop-2.7.0-SNAPSHOT is broken 2014-12-15 11:11:50 -08:00
stack f0afcd2cc2 HBASE-12689 Move version on from 0.99.2 to HBASE-1.0.0-SNAPSHOT 2014-12-14 20:37:59 -08:00
stack b1c95d50cf HBASE-12422 Use ConnectionFactory in HTable constructors Fix method signature in test
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/coprocessor/SecureBulkLoadClient.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java
2014-12-14 19:56:20 -08:00
Enis Soztutar 4f22143dfa HBASE-12679 Add HBaseInterfaceAudience.TOOLS and move some of the Public classes to LimitedPrivate 2014-12-14 17:52:05 -08:00
tedyu b7bb9d9505 HBASE-12659 Replace the method calls to grant and revoke in shell scripts with AccessControlClient (Srikanth Srungarapu) 2014-12-13 10:19:18 -08:00
tedyu 4d218bb2ed HBASE-12644 Visibility Labels: issue with storing super users in labels table (Jerry He) 2014-12-13 09:13:49 -08:00
Enis Soztutar 778f443b06 HBASE-12678 HBCK should print command line arguments 2014-12-12 13:17:47 -08:00
Jurriaan Mous 54381aab11 HBASE-12668 Adapt PayloadCarryingRpcController so it can also be used in an async way
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/TimeLimitedRpcController.java
2014-12-12 07:54:34 -08:00
stack e3e9c96f89 HBASE-12373 Provide a command to list visibility labels (Jerry He)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDefaultVisLabelService.java
2014-12-11 15:20:40 -08:00
Matteo Bertozzi c4aee2e283 HBASE-12674 Add permission check to getNamespaceDescriptor() 2014-12-11 18:00:58 +00:00
Jeffrey Zhong 75cf81aae5 HBASE-12485 Maintain SeqId monotonically increasing 2014-12-10 17:56:49 -08:00
stack 8ec86932b1 HBASE-12671 HBASE-12652 broke branch-1 builds (TestAssignmentManager fails) 2014-12-10 11:58:22 -08:00
Matteo Bertozzi f763b5d2c4 HBASE-12663 unify getTableDescriptors() and listTableDescriptors 2014-12-10 15:30:35 +00:00
stack 51bbbbaf2b HBASE-12665 When aborting, dump metrics
Add some fixup of checkstyle fails

Conflicts:
	hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/http/jmx/JMXJsonServlet.java
2014-12-09 21:08:10 -08:00
stack beae9887fa HBASE-12666 TestAssignmentManager hanging; add timeouts 2014-12-09 20:45:02 -08:00
Andrew Purtell 7ebeb89c39 HBASE-12454 Setting didPerformCompaction early in HRegion#compact 2014-12-09 17:07:28 -08:00
Nick Dimiduk 4a1d56a4a5 HBASE-12467 Master joins cluster but never completes initialization
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-12-09 16:32:33 -08:00
stack 86c8563209 HBASE-12664 TestDefaultLoadBalancer.testBalanceCluster fails in CachedDNSToSwitchMapping -- ADDENDUM 2014-12-09 13:53:34 -08:00
Andrew Purtell d4c94a409a HBASE-11979 Compaction progress reporting is wrong (Esteban Gutierrez) 2014-12-09 12:46:46 -08:00
Nick Dimiduk 1c99261f53 HBASE-12652 Allow unmanaged connections in MetaTableAccessor (Solomon Duskis) 2014-12-09 11:50:47 -08:00
Nick Dimiduk 84bf8bcd8b HBASE-12664 TestDefaultLoadBalancer.testBalanceCluster fails in CachedDNSToSwitchMapping Addendum 2014-12-09 11:49:08 -08:00
stack d7f2ac796f HBASE-12664 TestDefaultLoadBalancer.testBalanceCluster fails in CachedDNSToSwitchMapping
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestDefaultLoadBalancer.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java
2014-12-09 11:15:01 -08:00
Rajeshbabu Chintaguntla 9a128b94d5 HBASE-12583 Allow creating reference files even the split row not lies in the storefile range if required - Addendum(Rajeshbabu) 2014-12-09 23:44:27 +05:30
Sean Busbey d2d6945e89 HBASE-12655 WALPerformanceEvaluation should only add stat gathering listener once per WAL. 2014-12-09 09:53:25 -06:00
tedyu 553c386c8c HBASE-12653 Move TestRegionServerOnlineConfigChange & TestConfigurationManager to Junit4 tests (Ashish) 2014-12-09 07:31:03 -08:00
Rajeshbabu Chintaguntla 08a2559851 HBASE-12583 Allow creating reference files even the split row not lies in the storefile range if required(Rajeshbabu) 2014-12-09 19:00:37 +05:30
Matteo Bertozzi 09617cc2aa HBASE-12564 consolidate the getTableDescriptors() semantic 2014-12-09 12:06:39 +00:00
Andrew Purtell a731ea6304 HBASE-12575 Sanity check table coprocessor classes are loadable 2014-12-08 18:18:50 -08:00
stack 1d880e3f60 HBASE-12597 Add RpcClient interface and enable changing of RpcClient implementation (Jurriaan Mous) 2014-12-08 15:23:38 -08:00
stack 823656bf83 HBASE-12611 Create autoCommit() method and remove clearBufferOnFail (Solomon Duskis)
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
2014-12-08 11:17:59 -08:00
Elliott Clark cc1a0d7c36 HBASE-12574 Update replication metrics to not do so many map look ups. 2014-12-08 10:58:21 -08:00
Nick Dimiduk 081ce3f8de HBASE-12163 Move test annotation classes to the same package as in master 2014-12-08 10:38:58 -08:00
Enis Soztutar 9ee9a4bd20 HBASE-12647 Truncate table should work with C as well 2014-12-07 20:58:55 -08:00
Andrew Purtell 7b7b398056 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 22:04:26 -08:00
Gary Helmling 6c4863f355 HBASE-12493 Make User and TokenUtil public 2014-12-06 02:10:31 -08:00
tedyu 2306a7fd96 HBASE-12642 LoadIncrementalHFiles does not throw exception after hitting hbase.bulkload.retries.number setting 2014-12-05 18:40:50 -08:00
Andrew Purtell 004e977ba0 HBASE-10560 Per cell TTLs 2014-12-05 11:11:15 -08:00
Keith Winkler 1bd27bfa24 HBASE-12565 Race condition in HRegion.batchMutate() causes partial data to be written when region closes
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
2014-12-05 10:22:01 -08:00
Matteo Bertozzi 398e4f7ccf HBASE-12622 user_permission should require global admin to display global and ns permissions 2014-12-05 10:46:40 +00:00
Enis Soztutar 1615a4da62 HBASE-12637 Compilation with Hadoop-2.4- is broken 2014-12-04 18:20:58 -08:00
Andrew Purtell b4299ef845 HBASE-12635 Delete acl notify znode of table after the table is deleted (Liu Shaohui) 2014-12-04 16:43:42 -08:00
tedyu 2e47c37b71 HBASE-12204 Backport HBASE-12016 'Reduce number of versions in Meta table. Make it configurable' to branch-1 2014-12-04 12:18:58 -08:00
Ashish Singhi ffbfe01bbe HBASE-12634 Fix the AccessController#requireGlobalPermission(ns) with NS
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2014-12-04 15:35:53 +00:00
stack fe9e7483a3 Add timeout on TestDefaultLoadBalancer#testBalancerCluster to see if we can stop it hanging as a zombie in precommit builds 2014-12-03 22:35:02 -08:00
Ramkrishna 806716e65d HBASE-11639 [Visibility controller] Replicate the visibility of Cells as
strings : Addendum adding break (Ram)
2014-12-04 08:52:11 +05:30
stack e73e741b5c HBASE-12617 Running IntegrationTestBigLinkedList against cluster getting not an instance of org.apache.hadoop.hbase.MiniHBaseCluster
(cherry picked from commit d6b1d8cbf7)
2014-12-03 10:38:00 -08:00
Enis Soztutar 5f150e49f9 Update pom.xml version for 0.99.2 2014-12-02 20:28:29 -08:00
Enis Soztutar a25194a3e4 HBASE-12398 Region isn't assigned in an extreme race condition (Jeffrey Zhong) 2014-12-02 19:50:34 -08:00
tedyu b189b25ab3 HBASE-12614 Potentially unclosed StoreFile(s) in DefaultCompactor#compact() 2014-12-02 19:33:08 -08:00
stack 23382fe625 HBASE-12616 We lost the linked list commands in recent usage refactoring 2014-12-02 14:15:26 -08:00
stack 2b976c6bd1 HBASE-12490 Replace uses of setAutoFlush(boolean, boolean) (Solomon Duskis) 2014-12-02 09:34:04 -08:00
Elliott Clark 091142f47a HBASE-12576 Add metrics for rolling the HLog if there are too few DN's in the write pipeline 2014-12-02 09:30:29 -08:00
stack be29fb4c02 HBASE-12610 Close connection in TableInputFormatBase (Solomon Duskis) 2014-12-02 09:28:28 -08:00
Sean Busbey 8959828fb5 HBASE-12522 Backport of write-ahead-log refactoring and follow-ons.
Issues incorporated and incompatible changes called out on the jira.

* Cleaned up references to HLog
* Deprecates HLogKey but maintains it for compatibility
  - Moves all Writeable from WALKey to HLogKey
* Adds utility code to CoprocessorHost to help with evolving Coprocessor APIs
* RSRpcServices roll WAL call now requests the non-meta LogRoller roll all logs
  - rolls actually happen asynchronously
  - deprecated old api (and noted incompatible behavior change)
  - modified api in new Admin interface to reflect lack of return values.
* Moved WAL user facing API to "WAL"
  - only 1 sync offered
  - WALTrailer removed from API
* make provider used by the WALFactory configurable.
* Move all WAL requests to use opaque ids instead of paths
* WALProvider provides API details for implementers and handles creation of WALs.
* Refactor WALActionsListener to have a basic implementation.
* turn MetricsWAL into a WALActionsListener.
* tests that needs FSHLog implementation details use them directly, others just reference provider + factory
  - Some tests moved from Large to Medium based on run time.
* pull out wal disabling into its own no-op class
* update region open to delegate to WALFactory
* update performance test tool to allow for multiple regions
* Removed references to meta-specific wals within wal code
  - replaced with generic suffixes
  - WALFactory maintains a dedicated WALProvider for meta (and so knows about the distinction)
* maintain backwards compat on HLogPrettyPrinter and mark it deprecated.
  - made WALPrettyPrinter IA.Private in favor of `bin/hbase wal`
* move WALUtil stuff that's implementation specific to said implementation
  - WALUtil now acts as an integration point between the RegionServer and hte WAL code.

Incorporates contributions from v.himanshu and stack.

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/migration/NamespaceUpgrade.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/protobuf/ReplicationProtbufUtil.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/LogRoller.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionServerServices.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/RegionReplicaReplicationEndpoint.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/HMerge.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/MetaUtils.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/TestIOFencing.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAdmin2.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverScannerOpenHook.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestInvocationRecordFilter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/fs/TestBlockReorder.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportExport.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionMergeTransaction.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransaction.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLog.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRollAbort.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRollingNoCluster.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMultiSlaveReplication.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationSource.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationWALEntryFilters.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpoint.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpointNoMaster.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSourceManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationWALReaderManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestFSVisitor.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestMergeTool.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestSecureWAL.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALFiltering.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALMethods.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALReaderOnSecureWAL.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALSplit.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALSplitCompressed.java
	src/main/docbkx/ops_mgt.xml
2014-12-02 11:05:02 -06:00
Enis Soztutar e2631ce70c HBASE-12537 HBase should log the remote host on replication error (Stack) 2014-12-01 20:10:52 -08:00
stack a5169d422b HBASE-12526 Remove unused imports (Varun Saxena) 2014-12-01 14:30:59 -08:00
Jeffrey Zhong a184620fb3 HBASE-12600: Remove REPLAY tag dependency in Distributed Replay Mode 2014-12-01 11:30:13 -08:00
stack 86dc3cab96 HBASE-12520 Add protected getters on TableInputFormatBase (Solomon Duskis) 2014-12-01 10:20:57 -08:00
stack 53d775f242 HBASE-12514 Cleanup HFileOutputFormat legacy code (Solomon Duskis)
Signed-off-by: stack <stack@apache.org>
2014-12-01 10:16:35 -08:00
Ramkrishna 95de67bd39 HBASE-11639 - [Visibility controller] Replicate the visibility of Cells as
strings (Ram)
2014-12-01 23:24:20 +05:30
stack 84d9f0ec26 HBASE-12491 TableMapReduceUtil.findContainingJar() NPE 2014-11-29 09:34:25 -08:00
stack b12d57783f HBASE-12519 Remove tabs used as whitespace (Varun Saxena) 2014-11-29 09:24:08 -08:00
stack 7eefa36ac2 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:55 -08:00
stack f95728ac7d HBASE-12581 TestCellACLWithMultipleVersions failing since task 5 HBASE-12404 (HBASE-12404 addendum) -- SLEEP ADDENDUM 2014-11-27 05:29:23 -08:00
stack c3b99a5406 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:23:14 -08:00
Jeffrey Zhong 643de2df04 HBASE-12533: staging directories are not deleted after secure bulk load 2014-11-26 16:32:59 -08:00
Jeffrey Zhong def45c2185 HBASE-12053: SecurityBulkLoadEndPoint set 777 permission on input data files 2014-11-26 16:32:51 -08:00
Enis Soztutar 898e78661a HBASE-12072 Standardize retry handling for master operations
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnection.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/RowTooBigException.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/flush/MasterFlushTableProcedureManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestReplicasClient.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionMergeTransactionOnCluster.java
2014-11-26 13:50:24 -08:00
stack 9036c78cf1 HBASE-12587 TestReplicationTrackerZKImpl.testPeerRemovedEvent timedout 2014-11-26 12:54:27 -08:00
stack f376343a17 Revert "HBASE-12563 After Starting up mini hbase cluster, Real Configuration of Cluster never set to HBaseTestingUtility (Talat UYARER)"
Broke the build. TestZooKeeper doesn't pass.

This reverts commit 2e9597ffb7.
2014-11-26 10:35:03 -08:00
stack daff5e8d96 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:12:13 -08:00
stack 2e9597ffb7 HBASE-12563 After Starting up mini hbase cluster, Real Configuration of Cluster never set to HBaseTestingUtility (Talat UYARER) 2014-11-26 08:00:00 -08:00
stack c55d57461c HBASE-12584 Fix branch-1 failing since task 5 HBASE-12404 (HBASE-12404 addendum) 2014-11-26 01:52:41 -08:00
stack c9376e6d37 HBASE-12581 TestCellACLWithMultipleVersions failing since task 5 HBASE-12404 (HBASE-12404 addendum) 2014-11-25 16:30:23 -08:00
stack c0cdaf8400 HBASE-12404 Task 5 from parent: Replace internal HTable constructor use with
HConnection#getTable (0.98, 0.99)

    Backport

    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 12:26:54 -08:00
Elliott Clark 524dcd1323 HBASE-12550 ADDENDUM Make HRegion's api not change. 2014-11-24 16:11:41 -08:00
stack 3cd1d7ab0c HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99) under src/main/java 2014-11-24 10:12:27 -08:00
stack f3c5f11718 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.

Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMultiParallel.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMultiSlaveReplication.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java
2014-11-24 10:12:27 -08:00
Elliott Clark 339fd6bdca 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:51:53 -08:00
Andrew Purtell 9904252615 HBASE-12479 Backport HBASE-11689 (Track meta in transition) (Virag Kothari) 2014-11-22 12:13:09 -08:00
stack 7a3e8b55f8 HBASE-12549 Fix TestAssignmentManagerOnCluster#testAssignRacingWithSSH() flaky test (Virag Kothari) --ADDENDUM 2014-11-21 21:32:55 -08:00
tedyu d5bcf338d6 HBASE-12554 TestBaseLoadBalancer may timeout due to lengthy rack lookup 2014-11-21 16:56:31 -08:00
Enis Soztutar aa343ebcfe HBASE-10671 Add missing InterfaceAudience annotations for classes in hbase-common and hbase-client modules 2014-11-21 14:09:28 -08:00
stack 42cbdea76d HBASE-12541 Add misc debug logging to hanging tests in TestHCM and TestBaseLoadBalancer -- ADDENDUM; add waitForNoRegionInTransition from HTU in master branch 2014-11-21 08:15:38 -08:00
anoopsjohn 3c3e9aef81 HBASE-12346 Scan's default auths behavior under Visibility labels. - Addendum 2014-11-21 18:25:41 +05:30
anoopsjohn 04ee2bc812 HBASE-12346 Scan's default auths behavior under Visibility labels.(Jerry He) 2014-11-21 13:47:22 +05:30
stack bfda57d4f2 HBASE-12541 Add misc debug logging to hanging tests in TestHCM and TestBaseLoadBalancer 2014-11-20 17:55:08 -08:00
Enis Soztutar 49422a9ec4 HBASE-12549 Fix TestAssignmentManagerOnCluster#testAssignRacingWithSSH() flaky test 2014-11-20 16:19:20 -08:00
Sean Busbey f1ae3cc56f HBASE-12516 Clean up QA Bot warnings
Signed-off-by: stack <stack@apache.org>
2014-11-20 15:13:03 -08:00
tedyu 3b4688f9ee HBASE-11099 Two situations where we could open a region with smaller sequence number (Stephen Jiang) 2014-11-20 14:44:08 -08:00
tedyu deacb117f6 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 12:01:40 -08:00
Nick Dimiduk f1048a148b HBASE-12539 HFileLinkCleaner logs are uselessly noisy 2014-11-19 23:51:19 +01:00
Matteo Bertozzi 865ffebfc6 HBASE-12529 Use ThreadLocalRandom for RandomQueueBalancer 2014-11-19 16:51:26 +00:00
Matteo Bertozzi 6e376b900e Patch up Jetty to disable SSLv3 (CVE-2014-3566) 2014-11-19 16:51:19 +00:00
stack 3a3a4b7b6b Revert "HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99)"
This reverts commit 4f5cde8a69.
2014-11-18 16:32:18 -08:00
Andrew Purtell eb34c956a1 HBASE-12496 A blockedRequestsCount metric (Yi Deng) 2014-11-18 14:24:18 -08:00
Lars Hofhansl 2ed5ac9ca9 HBASE-12411 Optionally enable p-reads and private readers for compactions. 2014-11-18 12:29:31 -08:00
Enis Soztutar bb0a3ce914 HBASE-12449 Use the max timestamp of current or old cell's timestamp in HRegion.append() 2014-11-18 11:35:47 -08:00
stack 4f5cde8a69 HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99)
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMultiParallel.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
2014-11-18 10:19:55 -08:00
tedyu 463198dcdc HBASE-12337 Import tool fails with NullPointerException if clusterIds is not initialized 2014-11-18 09:19:00 -08:00
Nick Dimiduk f38efa79e6 HBASE-12459 Use a non-managed Table in mapred.TableOutputFormat 2014-11-17 08:39:46 +01:00
stack dcba045526 HBASE-12359 MulticastPublisher should specify IPv4/v6 protocol family when creating multicast channel (Qiang Tian) 2014-11-14 21:55:59 -08:00
tedyu 30ecf5ae78 HBASE-12478 HBASE-10141 and MIN_VERSIONS are not compatible 2014-11-14 16:37:19 -08:00
Lars Hofhansl 1861f9ce25 Revert "HBASE-12457 Regions in transition for a long time when CLOSE interleaves with a slow compaction."
This reverts commit 0e795c1cf8.
2014-11-13 09:19:43 -08:00
Lars Hofhansl 880c7c35fc Revert "Amend HBASE-12457 Regions in transition for a long time when CLOSE interleaves with a slow compaction; Test import fix"
This reverts commit 9d2ad55cfa.
2014-11-13 09:19:32 -08:00
Andrew Purtell 9d2ad55cfa Amend HBASE-12457 Regions in transition for a long time when CLOSE interleaves with a slow compaction; Test import fix 2014-11-13 08:09:51 -08:00
Lars Hofhansl 0e795c1cf8 HBASE-12457 Regions in transition for a long time when CLOSE interleaves with a slow compaction. 2014-11-12 22:49:46 -08:00
Enis Soztutar b25e5bb890 HBASE-12445 hbase is removing all remaining cells immediately after the cell marked with marker = KeyValue.Type.DeleteColumn via PUT (Hani Nadra) 2014-11-12 15:50:48 -08:00
Matteo Bertozzi 1f0d960792 HBASE-12366 Add login code to HBase Canary tool (Srikanth Srungarapu) 2014-11-12 20:33:37 +00:00
Andrew Purtell d0c34fb4a3 Revert "HBASE-12454 Setting didPerformCompaction early in HRegion#compact"
This reverts commit 16decdc19a.
2014-11-12 12:31:10 -08:00
Andrew Purtell 17a816a0f9 HBASE-12461 FSVisitor logging is excessive (Nick Dimiduk) 2014-11-12 10:24:04 -08:00
Andrew Purtell 16decdc19a HBASE-12454 Setting didPerformCompaction early in HRegion#compact 2014-11-12 09:47:33 -08:00
stack f3a38dcf16 HBASE-10483 Provide API for retrieving info port when hbase.master.info.port is set to 0 (Liu Shaohui)
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/MasterAddressTracker.java
	hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ZooKeeperProtos.java
2014-11-12 09:09:11 -08:00
Jeffrey Zhong 86711846d3 HBASE-12319: Inconsistencies during region recovery due to close/open of a region during recovery 2014-11-11 17:55:48 -08:00
Esteban Gutierrez 61477d06be HBASE-12447 Add support for setTimeRange for RowCounter and CellCounter (addendum)
Signed-off-by: stack <stack@apache.org>
2014-11-11 15:50:06 -08:00
Esteban Gutierrez bebf0181c8 HBASE-12447 Add support for setTimeRange for RowCounter and CellCounter
Signed-off-by: stack <stack@apache.org>
2014-11-11 15:06:56 -08:00
stack 8902fb0c1b HBASE-12455 Add 'description' to bean and attribute output when you do /jmx?description=true 2014-11-11 13:14:50 -08:00
Andrew Purtell b1f7d7cd32 HBASE-12448 Fix rate reporting in compaction progress DEBUG logging 2014-11-07 18:36:44 -08:00
Andrew Purtell 87fb974765 HBASE-12440 Region may remain offline on clean startup under certain race condition (Virag Kothari) 2014-11-07 14:11:56 -08:00
Andrew Purtell 5a16c15d7f Reduce the effective scope of CREATE and ADMIN permissions 2014-11-07 11:53:01 -08:00
Andrew Purtell 3eed03268f HBASE-12424 Finer grained logging and metrics for split transactions
Conflicts:
	hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitRequest.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
2014-11-07 11:44:49 -08:00
Niels Basjes de21812ad5 HBASE-12272 Generate Thrift code using a maven profile
Signed-off-by: stack <stack@apache.org>

Conflicts:
	pom.xml
	src/main/docbkx/developer.xml
2014-11-06 10:32:41 -08:00
stack c99d89fd63 HBASE-12427 Change branch-1 version from 0.99.2-SNAPSHOT to 0.99.3-SNAPSHOT --REVERT 2014-11-05 19:15:24 -08:00
stack 15f96c7a00 HBASE-12329 Table create with duplicate column family names quietly succeeds (Jingcheng Du) 2014-11-05 17:33:54 -08:00
stack 625a1ea065 HBASE-8707 Add LongComparator for filter (Liu Shaohui) 2014-11-05 16:57:21 -08:00
Andrew Purtell 41611547b3 HBASE-12389 Reduce the number of versions configured for the ACL table 2014-11-05 09:28:19 -08:00
Andrew Purtell 2e826a4ad1 HBASE-12420 BucketCache logged startup message is egregiously large 2014-11-05 09:22:04 -08:00
Andrew Purtell 64fd02fcbd HBASE-12344 Split up TestAdmin 2014-11-05 09:18:51 -08:00
Lars Hofhansl 8427d67ff6 HBASE-12363 Improve how KEEP_DELETED_CELLS works with MIN_VERSIONS. 2014-11-04 17:12:39 -08:00
stack e36c59d4f2 HBASE-12423 Use a non-managed Table in TableOutputFormat (Solomon Duskis)
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionServerServices.java
2014-11-04 16:29:18 -08:00
Esteban Gutierrez 431b8a5383 Cache more efficiently getAll() and get() in FSTableDescriptors
Signed-off-by: stack <stack@apache.org>
2014-11-04 15:10:08 -08:00
stack c66a6b02a5 HBASE-12427 Change branch-1 version from 0.99.2-SNAPSHOT to 0.99.3-SNAPSHOT 2014-11-04 12:41:38 -08:00
stack a347d32cc5 HBASE-12319: Inconsistencies during region recovery due to close/open of a region during recovery; REVERT -- UNSTABLE BUILD 2014-11-04 09:26:13 -08:00
Matteo Bertozzi b827b6d02e HBASE-12414 Move HFileLink.exists() to base class 2014-11-04 12:31:21 +00:00
Jeffrey Zhong c84b13514e HBASE-12319: Inconsistencies during region recovery due to close/open of a region during recovery 2014-11-03 21:31:12 -08:00
tedyu 481c6829db HBASE-10780 HFilePrettyPrinter#processFile should return immediately if file does not exist (Ashish Singhi) 2014-11-03 20:30:47 -08:00
Enis Soztutar 65e7de39c7 HBASE-12402 ZKPermissionWatcher race condition in refreshing the cache leaving stale ACLs and causing AccessDenied 2014-11-03 20:12:12 -08:00
stack 0aca51e89c HBASE-12219 Cache more efficiently getAll() and get() in FSTableDescriptors; REVERTgit log! branch-1 patch AND addendum 2014-11-01 16:03:08 -07:00
Nick Dimiduk c3a7f2f3bb HBASE-12399 Master startup race between metrics and RpcServer 2014-11-01 10:47:00 -07:00
Adrian Muraru 0505072c51 Replication gets stuck following a transient zookeeper error to remote peer cluster
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-10-31 17:59:43 -07:00
Nick Dimiduk e15a803b59 HBASE-12401 Add some timestamp signposts in IntegrationTestMTTR 2014-10-31 17:22:47 -07:00
Nick Dimiduk 4a803e79e1 HBASE-12335 IntegrationTestRegionReplicaPerf is flaky 2014-10-31 17:17:05 -07:00
Andrew Purtell 4649646fc8 HBASE-12361 Show data locality of region in table page (Liu Shaohui)
Conflicts:
	hbase-server/src/main/resources/hbase-webapps/master/table.jsp
2014-10-31 15:43:01 -07:00
Esteban Gutierrez 1f18d706a8 HBASE-12219 Cache more efficiently getAll() and get() in FSTableDescriptors (addendum)
Signed-off-by: stack <stack@apache.org>
2014-10-31 11:33:33 -07:00
Enis Soztutar a46425b2a9 HBASE-12390 Change revision style from svn to git 2014-10-31 11:11:12 -07:00
Esteban Gutierrez 233fb8bf18 HBASE-12219 Cache more efficiently getAll() and get() in FSTableDescriptors
Signed-off-by: stack <stack@apache.org>
2014-10-31 10:40:57 -07:00
Ashish Singhi ae8462b3a2 HBASE-10870 Deprecate and replace HCD methods that have a 'should' prefix with a 'is' instead
Signed-off-by: stack <stack@apache.org>
2014-10-31 08:34:40 -07:00
Nick Dimiduk b2d1b154bb HBASE-9003 TableMapReduceUtil should not rely on org.apache.hadoop.util.JarFinder#getJar (Esteban Gutierrez)
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestJarFinder.java
2014-10-30 21:07:55 -07:00
stack a1162960c2 HBASE-11819 Unit test for CoprocessorHConnection (Talat Uyarer) -- ADDENDUM testannoations fixup -- REALLY REMOVE IT 2014-10-30 20:08:51 -07:00
Sean Busbey f5e3b30058 HBASE-12388 Document behavior wrt coprocessors when wal gets empty waledits.
Signed-off-by: stack <stack@apache.org>
2014-10-30 19:32:44 -07:00
stack c1ec92adc9 HBASE-11819 Unit test for CoprocessorHConnection (Talat Uyarer) -- REVERT. Failed in a test run here: https://builds.apache.org/job/PreCommit-HBASE-Build/11530//testReport/ 2014-10-30 19:26:23 -07:00
stack 49fb89f151 HBASE-11819 Unit test for CoprocessorHConnection (Talat Uyarer) -- ADDENDUM testannoations fixup 2014-10-30 14:51:15 -07:00
stack d719ea1db7 HBASE-11819 Unit test for CoprocessorHConnection (Talat Uyarer) 2014-10-30 14:34:02 -07:00
stack 29d486ff4e HBASE-11835 Wrong managenement of non expected calls in the client (Nicolas Liochon) 2014-10-30 12:42:26 -07:00
Andrew Purtell f0091a9031 HBASE-12384 TestTags can hang on fast test hosts 2014-10-30 10:45:08 -07:00
Ashish Singhi d8874fbc21 HBASE-12375 LoadIncrementalHFiles fails to load data in table when CF name starts with '_'
Signed-off-by: stack <stack@apache.org>
2014-10-30 09:17:02 -07:00
Matteo Bertozzi c466c61976 HBASE-12378 Add a test to verify that the read-replica is able to read after a compaction 2014-10-30 12:18:52 +00:00
stack 9e0ca78439 HBASE-12336 RegionServer failed to shutdown for NodeFailoverWorker thread (Liu Shaohui) 2014-10-29 22:04:02 -07:00
stack b069c10af4 HBASE-12238 A few ugly exceptions on startup
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/MetaTableLocator.java
2014-10-29 21:53:55 -07:00
stack 6f4ae948ac HBASE-12355 Update maven plugins
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaCache.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java
2014-10-29 13:18:25 -07:00
stack 6c39d36b32 HBASE-12313 Redo the hfile index length optimization so cell-based rather than serialized KV key
Conflicts:
	hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
	hbase-common/src/main/java/org/apache/hadoop/hbase/CellKey.java
	hbase-common/src/test/java/org/apache/hadoop/hbase/TestCellUtil.java
2014-10-29 11:36:47 -07:00
stack 7aed6de9c8 HBASE-12354 Update dependencies in time for 1.0 release 2014-10-29 11:16:44 -07:00
stack 752c546099 HBASE-12285 Builds are failing, possibly because of SUREFIRE-1091 ; ADDENDUM SETTING LOG LEVEL TO DEBUG AGAIN
Conflicts:
	hbase-server/src/test/resources/log4j.properties
2014-10-29 11:01:19 -07:00
anoopsjohn e1d1ba564b HBASE-12297 Support DBB usage in Bloom and HFileIndex area. 2014-10-29 14:40:08 +05:30
manukranthk 69c99da70a Implement Preemptive Fast Fail
Summary: This diff ports the Preemptive Fast Fail feature to OSS. In multi threaded clients, we use a feature developed on 0.89-fb branch called Preemptive Fast Fail. This allows the client threads which would potentially fail, fail fast. The idea behind this feature is that we allow, among the hundreds of client threads, one thread to try and establish connection with the regionserver and if that succeeds, we mark it as a live node again. Meanwhile, other threads which are trying to establish connection to the same server would ideally go into the timeouts which is effectively unfruitful. We can in those cases return appropriate exceptions to those clients instead of letting them retry.

Test Plan: Unit tests

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

Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClusterConnection.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionManager.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
2014-10-28 22:59:20 -07:00
Dima Spivak a973fd514f HBASE-12312 Another couple of createTable race conditions
Signed-off-by: stack <stack@apache.org>
2014-10-28 22:36:41 -07:00
stack a26bcdd4d9 HBASE-11562 CopyTable should provide an option to shuffle the mapper tasks (Jean-Marc Spaggiari) 2014-10-28 11:29:22 -07:00
Andrew Purtell 81c4caf1f1 HBASE-12142 Truncate command does not preserve ACLs table (Vandana Ayyalasomayajula)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
2014-10-28 09:59:45 -07:00
anoopsjohn f9fce4caf0 HBASE-12304 CellCounter will throw AIOBE when output directory is not specified. (Ashish Singhi) 2014-10-28 17:56:09 +05:30
stack bf8c34734b HBASE-12353 Turn down logging on some spewing unit tests (Dima Spivak) 2014-10-27 15:13:04 -07:00
stack 862faca7a4 HBASE-12285 Builds are failing, possibly because of SUREFIRE-1091 -- Setting log level back to DEBUG TO WARN -- second time 2014-10-26 20:49:03 -07:00
stack 65c60ce873 HBASE-12285 Builds are failing, possibly because of SUREFIRE-1091 -- Setting log level back to DEBUG from WARN 2014-10-26 16:19:23 -07:00
anoopsjohn 4d385d1509 HBASE-11870 Optimization : Avoid copy of key and value for tags addition in AC and VC. 2014-10-25 21:13:49 +05:30
Andrew Purtell 54fdd96516 HBASE-11964 Improve spreading replication load from failed regionservers 2014-10-24 14:17:55 -07:00
stack b8ed37b88e HBASE-12285 Builds are failing, possibly because of SUREFIRE-1091 -- trying WARN level to see if it makes any difference 2014-10-24 09:24:25 -07:00
stack ceffa3c48d HBASE-12277 Refactor bulkLoad methods in AccessController to its own interface (Madhan Neethiraj)
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
2014-10-24 08:48:15 -07:00
stack bca92603e0 HBASE-12328 Need to separate JvmMetrics for Master and RegionServer (Sanghyun Yun) 2014-10-23 21:50:09 -07:00
stack 46e4bffc2c HBASE-11915 Document and test 0.94 -> 1.0.0 update -- ADDENDUM 2014-10-22 22:11:43 -07:00
Ted Yu d0c1019963 HBASE-12306 CellCounter output's wrong value for Total Families Across all Rows in output file (Ashish Singhi) 2014-10-22 14:30:22 +00:00
Matteo Bertozzi 4f32987de7 HBASE-12301 user_permission command does not show global permissions 2014-10-22 10:13:46 +01:00
Dima Spivak a5bb441d45 HBASE-12285 Builds are failing, possibly because of SUREFIRE-1091
* Reduce the logging level to WARN

Signed-off-by: stack <stack@apache.org>
2014-10-21 22:02:40 -07:00
Yi Deng 58e9d89c44 HBASE-12243 HBaseFsck should auto set ignorePreCheckPermission to true if no fix option is set (Yi Deng)
Signed-off-by: Jonathan M Hsieh <jmhsieh@apache.org>
2014-10-21 13:35:49 -07:00
Ted Yu 89191230ea HBASE-12302 VisibilityClient getAuths does not propagate remote service exception correctly (Jerry He) 2014-10-21 20:09:14 +00:00
anoopsjohn 67d1cee2d8 HBASE-12202 Support DirectByteBuffer usage in HFileBlock. 2014-10-21 17:59:10 +05:30
stack b416b5988b HBASE-12226 TestAccessController#testPermissionList failing on master (Srikranth Srungarapu) 2014-10-20 20:35:52 -07:00
stack 4485ba1eae HBASE-12278 Race condition in TestSecureLoadIncrementalHFilesSplitRecovery (Dima Spivak) 2014-10-20 11:09:23 -04:00
manukranthk c9f506a297 Add admin endpoint for updating the configuration on the regionserver
Summary: This is a follow up diff for the jira to add the functionality to update configs in an online fashion.

Test Plan: Unit test. This adds an end point on the regionserver. It just tries to call the end point and make sure the call succeeds.

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

Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerOnlineConfigChange.java
2014-10-18 16:25:03 -04:00
Matteo Bertozzi 0dee72466d HBASE-12161 Add support for grant/revoke on namespaces in AccessControlClient (Srikanth Srungarapu) 2014-10-18 21:16:58 +01:00
Dima Spivak 5e9360d80c HBASE-12229 NullPointerException in SnapshotTestingUtils
* Implemented the waitUntilAllRegionsOnline in HBaseTestingUtility#createTable
* Add waitFor around #isTableAvailable call that previously didn't do anything
* Remove unused byte[] hex

Signed-off-by: stack <stack@apache.org>
2014-10-17 22:51:34 -04:00
Ted Yu cad86cca00 HBASE-12263 RegionServer listens on localhost in distributed cluster when DNS is unavailable 2014-10-17 20:52:15 +00:00
Ted Yu 3feec77421 HBASE-12264 ImportTsv should fail fast if output is not specified and table does not exist (Ashish) 2014-10-17 20:45:05 +00:00
Enis Soztutar 10ebc49130 Update pom.xml version to 0.99.2-SNAPSHOT 2014-10-17 11:32:59 -07:00
Ted Yu be820f3b9b HBASE-12274 Race between RegionScannerImpl#nextInternal() and RegionScannerImpl#close() may produce null pointer exception 2014-10-17 16:04:02 +00:00
Patrick White c68c17ffec HBASE-12271 Add counters for files skipped during snapshot export
Add counters for skipped files

Signed-off-by: Elliott Clark <eclark@apache.org>
2014-10-15 10:42:42 -07:00
manukranthk 5ca2e4c716 HBASE-12258 TestHbaseFsck is flaky and has some multithreading issues
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-10-14 17:44:00 -07:00
stack dc998bf787 HBASE-12247 Replace setHTable() with initializeTable() in TableInputFormat. (Solomon Duskis) 2014-10-14 14:12:23 -07:00
Matteo Bertozzi 711302e18b HBASE-12257 TestAssignmentManager unsynchronized access to regionPlans 2014-10-14 22:07:34 +01:00
stack dbd0ba36f5 HBASE-12147 Porting Online Config Change from 89-fb -- REAPPLY 2014-10-14 12:51:49 -07:00
Nicolas Liochon 921d331fa3 HBASE-4955 Use the official versions of surefire (Alex Newman)
Conflicts:
	pom.xml
2014-10-14 11:40:41 -07:00
stack 2822a289f9 HBASE-12147 Porting Online Config Change from 89-fb -- REVERT 2014-10-14 08:51:37 -07:00
manukranthk 0057cd8ca7 Online config change
Summary: This diff is intended to forward port HBASE-8805 and HBASE-8544 implemented by Gaurav Menghani in 89-fb. This improves operational efficiency in managing clusters that are serving production traffic. The idea is to have a central configuration which can manage notifying the configuration observers. The observers in turn should update their local state from the latest config. Minor caveats where configuration variables are corelated should be taken care of with additional care.

Test Plan: Unit tests

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

Signed-off-by: stack <stack@apache.org>
2014-10-13 21:27:39 -07:00