Commit Graph

135 Commits

Author SHA1 Message Date
tedyu c031d8de23 HBASE-13205 [branch-1] Backport HBASE-11598 Add simple rpc throttling (Ashish Singhi) 2015-04-07 18:29:03 -07:00
Ashish Singhi 3c0e3981aa HBASE-11386 Backport HBASE-12601 to all active branches other than master
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-04-02 14:13:12 -07:00
Srikanth Srungarapu 1dfcbdf5e3 HBASE-13058 Hbase shell command 'scan' for non existent table shows unnecessary info for one unrelated existent table. (Abhishek Kumar) 2015-04-01 23:33:20 -07:00
Lars George 26f4c32d54 HBASE-10728 get_counter value is never used. 2015-03-30 10:32:26 +02:00
Josh Elser b9a615e739 HBASE-13222 Add isBalancerEnabled method to Master and Admin.
Include some basic tests for the method on a testing cluster.
Also update master page to show an alert when balancer is disabled.

Signed-off-by: Enis Soztutar <enis@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/RequestConverter.java
	hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterProtos.java
2015-03-27 14:47:24 -07:00
anoopsjohn 78a55ac71a HBASE-13006 Document visibility label support for groups. (Jerry He) 2015-03-19 09:19:44 +05:30
Josh Elser c3b47f2251 HBASE-13236 Add addt'l lifecycle-mapping executions.
Adds a number of lifecycle-mapping entries which
prevent errors from showing up in Eclipse on a fresh
import of HBase. For plugins defined in the top-level
pom, the mapping is added there; otherwise, the mapping
is pushed down to the child pom.

Signed-off-by: Sean Busbey <busbey@apache.org>
2015-03-14 00:19:44 -05:00
tedyu da9c5ac18c HBASE-13171 Change AccessControlClient methods to accept connection object to reduce setup time (Srikanth Srungarapu) 2015-03-11 21:41:24 -07:00
Ashish Singhi 39c897e3fc HBASE-13100 Shell command to retrieve table splits 2015-02-28 10:24:31 -06:00
zhangduo 3862b30a47 HBASE-13084 addendum disable info server in shell test
Signed-off-by: stack <stack@apache.org>
2015-02-27 19:59:33 -08:00
zhangduo 6331bc2afb HBASE-13084 addendum move replication_admin_test.rb to individual test
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-shell/src/test/java/org/apache/hadoop/hbase/client/TestShell.java
2015-02-27 08:18:51 -08:00
tedyu 0ff1418b32 HBASE-13112 quota.rb, security.rb and visibility_labels.rb leak connection (Ashish Singhi) 2015-02-26 21:59:20 -08:00
tedyu ac7faf3ef7 HBASE-13111 truncate_preserve command is failing with undefined method error (Ashish Singhi) 2015-02-26 07:07:49 -08:00
zhangduo a2123144ff HBASE-13084 Add labels to VisibilityLabelsCache asynchronously causes TestShell flakey
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
2015-02-24 17:06:34 -08:00
stack f938999ef4 Revert "HBASE-13058-shell unknown table message update"
Wrong patch!

This reverts commit 6f81a0982a.
2015-02-24 08:16:00 -08:00
Abhishek Kumar 6f81a0982a HBASE-13058-shell unknown table message update
Signed-off-by: stack <stack@apache.org>
2015-02-23 22:46:08 -08:00
Abhishek Kumar f67301403d HBASE-13080 hbase shell message containing extra quote at the end of error message
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-02-23 10:30:34 +01:00
tedyu 9d29f3c4f1 HBASE-13057 Provide client utility to easily enable and disable table replication (Ashish Singhi) 2015-02-20 10:27:20 -08:00
Bhupendra b131b15ae4 HBASE-13049 wal_roll ruby command doesn't work
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-02-16 15:47:22 +01:00
Kevin Risden 4797b025fb HBASE-12867 Add ability to specify custom replication endpoint to add_peer
Conflicts:
	hbase-shell/src/main/ruby/hbase.rb
2015-02-12 15:05:21 -08:00
Ashish Singhi f5b40200db HBASE-9531 a command line (hbase shell) interface to retreive the replication metrics and show replication lag
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.java
2015-02-12 14:16:28 -08:00
Andrew Purtell bfae8d541c HBASE-12885 Unit test for RAW / VERSIONS scanner specifications (Amit Kabra) 2015-01-25 17:32:35 -08:00
Nick Dimiduk 05f4e0c715 HBASE-12810 Update to htrace-incubating 2015-01-22 14:32:21 -08:00
Enis Soztutar e64c400835 HBASE-12833 [shell] table.rb leaks connections (Solomon Duskis)
Conflicts:
	hbase-shell/src/main/ruby/hbase/hbase.rb
2015-01-16 11:40:08 -08:00
Andrew Purtell c339e181ae HBASE-8026 HBase Shell docs for scan command does not reference VERSIONS (Amit Kabra) 2015-01-16 09:43:40 -08:00
Andrew Purtell 40e9c22ea2 HBASE-12801 Failed to truncate a table while maintaing binary region boundaries (Liu Shaohui) 2015-01-12 19:09:08 -08:00
Enis Soztutar 54f5129da8 HBASE-12832 Describe table from shell no longer shows Table's attributes, only CF attributes (Srikanth Srungarapu) 2015-01-12 14:01:10 -08:00
tedyu 06b386f254 HBASE-12268 Add support for Scan.setRowPrefixFilter to shell (Niels Basjes) 2015-01-06 11:17:52 -08:00
Ramkrishna 141b33a630 HBASE-12768 - Support enable cache_data_on_write in Shell while creating
table
2015-01-06 11:13:38 -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
tedyu bb1b2f4eeb HBASE-12699 Addendum modifies shell help (Stephen Jiang) 2014-12-16 14:54:37 -08:00
tedyu a9645e3e97 HBASE-12699 undefined method 'setAsyncLogFlush' exception thrown when setting DEFERRED_LOG_FLUSH=>true (Stephen Jiang) 2014-12-16 09:35:24 -08:00
stack ee4d9b5315 HBASE-12675 Use interface methods in shell scripts (solomon duskis) 2014-12-15 11:44:40 -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
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 d4853f0379 HBASE-12681 truncate_preserve command fails with undefined method 'getTable' error (Ashish) 2014-12-13 09:01:53 -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 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
Nick Dimiduk 081ce3f8de HBASE-12163 Move test annotation classes to the same package as in master 2014-12-08 10:38:58 -08:00
Andrew Purtell 004e977ba0 HBASE-10560 Per cell TTLs 2014-12-05 11:11:15 -08:00
Jonathan M Hsieh ff337f1cb9 HBASE-12624 Remove rename_snapshot.rb from code as there is no equivalent renameSnapshot api in Admin class (Ashish Singhi) 2014-12-03 18:53:25 -08:00
Matteo Bertozzi 6b8a725191 HBASE-12618 Add 'Namespace' to headers while displaying user permissions (Ashish Singhi) 2014-12-03 08:26:52 +00:00
Enis Soztutar 5f150e49f9 Update pom.xml version for 0.99.2 2014-12-02 20:28:29 -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
stack c750ada8d6 HBASE-12595 Use Connection.getTable() in table.rb (Solomon Duskis) 2014-11-29 12:53:16 -08:00
stack c0988a3b9a HBASE-12580 Zookeeper instantiated even though we might not need it in the shell (Alex Newman) 2014-11-26 13:01:03 -08:00
stack a4a3ffd560 HBASE-12495 Use interfaces in the shell scripts (solomon duskis)
Conflicts:
	hbase-shell/src/main/ruby/hbase/quotas.rb
2014-11-24 12:19:32 -08:00
tedyu 84ed9f6ba4 HBASE-8572 Enhance delete_snapshot.rb to call snapshot deletion API with regex (Ashish Singhi) 2014-11-20 08:59:42 -08:00
stack bfe5f2442c Revert "HBASE-12495 Use interfaces in the shell scripts (Solomon Duskis)"
This reverts commit 5accf48362.
2014-11-18 18:14:15 -08:00