Commit Graph

388 Commits

Author SHA1 Message Date
Stephen Yuan Jiang cd0b85e0a8 Revert HBASE-15406: Split / merge switch left disabled after early termination of hbck (HBASE-16008 will address this issue) 2016-07-22 20:09:03 -07:00
Apekshit Sharma 28802decc8 HBASE-16227 [Shell] Column value formatter not working in scans.
Tested : manually using shell.

Change-Id: I9eef7efa68393a762ec872447f8e36dfc6d6f1bc
2016-07-13 14:14:06 -07:00
tedyu 7227c27fe8 HBASE-16184 Shell test fails due to rLoadSink being nil (Phil Yang) 2016-07-12 00:15:26 -07:00
Apekshit Sharma a396ae773a HBASE-16044 Fix 'hbase shell' output parsing in graceful_stop.sh
Change-Id: I94b2f665105837d31281be66d620b6152c3bc9d1
2016-07-11 11:28:33 -07:00
tedyu ffd3987c54 HBASE-16147 Add ruby wrapper for getting compaction state 2016-06-30 11:01:54 -07:00
chenheng e05f527991 HBASE-16111 Truncate preserve shell command is broken 2016-06-27 15:06:51 +08:00
chenheng 68c1b34dbc HBASE-16040 Remove configuration "hbase.replication" 2016-06-24 10:41:35 +08:00
Matteo Bertozzi d9463bcce0 HBASE-15989 Remove hbase.online.schema.update.enable 2016-06-08 13:09:31 -07:00
Apekshit Sharma 15c03fd1c9 HBASE-15965
- Testing by executing a command will cover the exact path users will trigger, so its better then directly calling library functions in tests. Changing the tests to use @shell.command(:<command>, args) to execute them like it's a command coming from shell.

Norm change:
Commands should print the output user would like to see, but in the end, should also return the relevant value. This way:
- Tests can use returned value to check that functionality works
- Tests can capture stdout to assert particular kind of output user should see.
- We do not print the return value in interactive mode and keep the output clean. See Shell.command() function.

Bugs found due to this change:
- Uncovered bug in major_compact.rb with this approach. It was calling admin.majorCompact() which doesn't exist but our tests didn't catch it since they directly tested admin.major_compact()
- Enabled TestReplicationShell. If it's bad, flaky infra will take care of it.

Change-Id: I5d8af16bf477a79a2f526a5bf11c245b02b7d276
2016-06-06 17:50:22 -07:00
Apekshit Sharma 70762faa98 HBASE-15849 Simplify the way we handle runtime of commands.
Functions format_simple_command and format_and_return_simple_command are used to print runtimes right now. They are called from within every single command and use Ruby's 'yield' magic.  Instead, we can simplify it using 'command_safe' function. Since command_safe wraps all commands, we can simply time before and after we call individual command.
If a command only wants to time a part of its logic, it can set instance variables start_time and end_time accordingly which is far more simpler to understand and work with than 'yield'.

Change-Id: Ibfacf3593175af22fc4f7d80896dd2f6d7c5dde3
2016-06-03 15:50:03 -07:00
Apekshit bdb46f01b9 HBASE-15845 Changes:
- Renaming hbase.rb to hbase_constants.rb because there are two hbase.rb files right now which is confusing.
- Remove omnipresence of formatter object since it is kind of a use-and-throw class. Commands should create
  an instance, use it to format the output and discard it.
- Some refactoring

Change-Id: If9ea9873904e0a39d199a6aa10e23864b86a2f09
2016-06-03 13:37:38 -07:00
tedyu 72d3f2a868 HBASE-15939 Two shell test failures on master (Talat and Ted) 2016-06-02 15:44:18 -07:00
tedyu a0f49c9884 HBASE-15858 Some region server group shell commands don't work 2016-06-01 21:13:33 -07:00
tedyu cbb95cd3a9 HBASE-15932 Shell test fails due to uninitialized constant 2016-06-01 10:35:00 -07:00
tedyu 015f2ef629 HBASE-15923 Shell rows counter test fails 2016-05-31 14:21:32 -07:00
Daniel Vimont e6d613de70 HBASE-15835 - Prevent HBaseTestingUtility#startMiniCluster from throwing _HMasterAddress already in use_ RuntimeException when another HBase thread is running
Signed-off-by: stack <stack@apache.org>
2016-05-30 20:05:19 -07:00
Enis Soztutar b89d88a193 HBASE-10358 Shell changes for setting consistency per request (yi liang) 2016-05-26 17:01:03 -07:00
stack 2515b0974d HBASE-4368 Expose processlist in shell (per regionserver and perhaps by cluster) (Talat Uyarer) 2016-05-23 15:49:17 -07:00
Jerry He 56e4b85d06 HBASE-14818 user_permission does not list namespace permissions (li xiang) 2016-05-21 20:06:05 -07:00
eshcar a27504c701 HBASE-14920: Compacting memstore
Signed-off-by: stack <stack@apache.org>
2016-05-20 03:41:43 -07:00
Matteo Bertozzi 5ac54e6abb HBASE-15843 Replace RegionState.getRegionInTransition() Map with a Set 2016-05-18 12:48:26 -07:00
tedyu 838c306c0a HBASE-15769 Perform validation on cluster key for add_peer (Matt Warhaftig) 2016-05-17 11:01:26 -07:00
tedyu 3b74b6f329 HBASE-15799 Two Shell 'close_region' Example Syntaxes Don't Work (Matt Warhaftig) 2016-05-09 20:58:55 -07:00
tedyu 387c7e6b08 HBASE-15782 TestShell fails due to some moved types 2016-05-06 06:11:12 -07:00
Li Fanxi e512c40ad5 HBASE-15680 Examples in shell help message for TIMERANGE scanner specifications should use milliseconds instead of seconds
Signed-off-by: stack <stack@apache.org>
2016-04-26 12:00:06 -07:00
tedyu ef47e1b68c HBASE-15641 Shell "alter" should do a single modifyTable operation (Matt Warhaftig) 2016-04-21 08:20:06 -07:00
chenheng a9f1c4a871 HBASE-15406 Split / merge switch left disabled after early termination of hbck 2016-04-15 14:09:52 +08:00
tedyu e0f31ba6e6 HBASE-15507 Online modification of enabled ReplicationPeerConfig (Geoffrey Jacoby) 2016-04-08 21:26:31 -07:00
Enis Soztutar bcc4444420 HBASE-15567 TestReplicationShell broken by recent replication changes (Geoffrey Jacoby) 2016-03-31 11:37:09 -07:00
chenheng 7f39baf0f4 HBASE-11393 Replication TableCfs should be a PB object rather than a string 2016-03-29 10:25:29 +08:00
tedyu 448ac5b37c HBASE-12940 Expose listPeerConfigs and getPeerConfig to the HBase shell (Geoffrey Jacoby) 2016-03-16 18:42:52 -07:00
Enis Soztutar ca816f0780 HBASE-6721 RegionServer Group based Assignment (Francis Liu) 2016-03-14 18:28:50 -07:00
chenheng 99955a3240 HBASE-15128 Disable region splits and merges switch in master 2016-02-27 08:36:59 +08:00
chenheng bf4fcc30c6 Revert "HBASE-15128 Disable region splits and merges switch in master"
This reverts commit 24d481c580.
2016-02-26 08:52:12 +08:00
chenheng 24d481c580 HBASE-15128 Disable region splits and merges switch in master 2016-02-26 08:11:16 +08:00
Phil Yang 30cec72f9a HBASE-15302 Reenable the other tests disabled by HBASE-14678
Signed-off-by: stack <stack@apache.org>
2016-02-24 07:14:01 -08:00
Enis Soztutar 110274b335 HBASE-15147 Shell should use Admin.listTableNames() instead of Admin.listTables() 2016-01-21 11:09:02 -08:00
tedyu eb17f74b9e HBASE-15073 Revert due to different opinion on usefulness 2016-01-18 17:51:21 -08:00
tedyu d65978fceb HBASE-15073 Finer grained control over normalization actions for RegionNormalizer 2016-01-06 17:25:41 -08:00
stack 2fba25b66a HBASE-15023 Reenable TestShell and TestStochasticLoadBalancer 2015-12-28 13:27:17 -08:00
tedyu e15c48ed2c HBASE-15032 hbase shell scan filter string assumes UTF-8 encoding (huaxiang sun) 2015-12-24 07:00:22 -08:00
Matteo Bertozzi 9a297ef0a5 HBASE-15022 replication_admin.rb throws undefined method `getZooKeeperClusterKey' for ZKUtil 2015-12-21 13:20:26 -08:00
Mikhail Antonov abe30b52a8 HBASE-14534 Bump yammer/coda/dropwizard metrics dependency version 2015-12-15 12:11:27 -08:00
stack bebcc09fb3 HBASE-14769 Remove unused functions and duplicate javadocs from HBaseAdmin 2015-12-10 15:02:21 -08:00
Matteo Bertozzi 6f8d5e86ce HBASE-14941 locate_region shell command 2015-12-10 13:22:48 -08:00
Enis Soztutar 63f2ebca13 HBASE-14804 HBase shell's create table command ignores 'NORMALIZATION_ENABLED' attribute (Jean-Marc Spaggiari) 2015-12-08 11:13:39 -08:00
stack 92e178df28 Revert "HBASE-14769 Removing unused functions from HBaseAdmin. Removing redundant javadocs from HBaseAdmin as they will be automatically inhertited from Admin.java. (Apekshit)"
Reverting. The conversation on issues to do with this patch was not done (Appy brought it to my attention).

This reverts commit 6adce67572.
2015-12-01 11:30:39 -08:00
Apekshit(Appy) Sharma 6adce67572 HBASE-14769 Removing unused functions from HBaseAdmin. Removing redundant javadocs from HBaseAdmin as they will be automatically inhertited from Admin.java. (Apekshit)
Signed-off-by: stack <stack@apache.org>
2015-11-30 20:44:11 -08:00
tedyu 2317ec583d HBASE-14894 Fix misspellings of threshold in log4j.properties files for tests (Youngjoon Kim) 2015-11-28 10:08:38 -08:00
Matteo Bertozzi 55087ce888 HBASE-14863 Add missing test/resources/log4j files in hbase modules 2015-11-22 07:31:16 -08:00
Enis Soztutar b2c20cebb0 HBASE-14805 status should show the master in shell 2015-11-18 15:25:48 -08:00
Apekshit(Appy) Sharma 08963189a2 HBASE-14767 - Remove deprecated functions from HBaseAdmin Deprecated in HBASE-12083 (1.0.0, 2.0.0, 0.99.2) - HBaseAdmin(Configuration)
Deprecated in HBASE-10479 (0.99.0, hbase-10070)
  - HBaseAdmin(Connection)

  Deprecated in HBASE-11826 (0.99.0, 1.0.0, 2.0.0)
  - flush()
  - compact()
  - majorCompact()
  - split()
  - getCompactionState()

- Changes many declarations from HBaseAdmin to Admin
(Apekshit)

Signed-off-by: stack <stack@apache.org>
2015-11-06 16:23:55 -10:00
Elliott Clark 68b94886a5 HBASE-14773 Fix HBase shell tests are skipped when skipping server tests. 2015-11-05 16:27:14 -08:00
Elliott Clark 86da57f498 HBASE-14765 Remove snappy profile 2015-11-05 10:20:40 -08:00
Enis Soztutar 4534f8ed0c HBASE-14733 Minor typo in alter_namespace.rb 2015-10-30 17:52:28 -07:00
Jonathan M Hsieh 094d65e6f5 HBASE-14673 Exorcise deprecated Delete#delete* api 2015-10-29 11:15:34 -07:00
Jonathan M Hsieh de9555cec4 HBASE-14675 Exorcise deprecated Put#add(...) and replace with Put#addColumn(...) 2015-10-29 11:15:31 -07:00
stack 93023f544b HBASE-14678 Experiment: Temporarily disable balancer and a few others to see if root of crashed/timedout JVMs 2015-10-22 12:31:04 -07:00
Dima Spivak 04bdf97311 HBASE-14577 HBase shell help for scan and returning a column family has a typo
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-10-12 13:34:48 -07:00
stack fd6acbbf51 HBASE-14561 Disable zombie TestReplicationShell 2015-10-06 12:57:49 -07:00
Mikhail Antonov 19045a5ea7 HBASE-14367 Add normalization support to shell 2015-10-04 00:29:39 -07:00
Josh Elser 4da3c935d4 HBASE-14494 Add missing commas on shell command usages
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-10-01 12:04:36 -07:00
stack e0929bbc5a HBASE-14510 Fix coprocessor handling of duplicate classes (Yerui Sun) 2015-09-29 15:01:10 -07:00
Stephen Yuan Jiang f6be2f9bf3 HBASE-14488 Procedure V2 - shell command to abort a procedure (Stephen Yuan Jiang) 2015-09-28 18:01:36 -07:00
Esteban Gutierrez 54b86b3394 HBASE-14500 Remove load of deprecated MOB ruby scripts after HBASE-14227 2015-09-28 10:49:08 -07:00
chenheng 02699fe967 HBASE-14227 Fold special cased MOB APIs into existing APIs
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-09-25 18:28:13 -07:00
Stephen Yuan Jiang 23506454cf HBASE-14487 Procedure V2 - shell command to list all procedures (Stephen Yuan Jiang) 2015-09-24 20:39:17 -07:00
tedyu df341c4299 HBASE-14309 Allow load balancer to operate when there is region in transition by adding force flag 2015-08-29 13:15:53 -07:00
stack d0873f5a8c HBASE-14224 Fix coprocessor handling of duplicate classes 2015-08-24 13:47:19 -07:00
anoopsjohn 9c69bf766f HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined. 2015-08-13 14:32:59 +05:30
Andrew Purtell 5e5bcceb53 HBASE-14122 Client API for determining if server side supports cell level security 2015-08-12 13:26:55 -07:00
Ashish Singhi 9ea7ab849c HBASE-14105 Add shell tests for Snapshot
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-08-07 11:14:38 -07:00
anoopsjohn 18c9bb8b54 HBASE-14183 Scanning hbase meta table is failing in master branch.(Ashish) 2015-08-05 10:08:24 +05:30
Sean Busbey 1b0b67fb7c HBASE-14085 Update LICENSE and NOTICE files.
* corrects license/notice for source distribution
* adds inception year to correct copyright in generated NOTICE files for jars
* updates project names in poms to use "Apache HBase" instead of "HBase" so jar NOTICE files will be correct
* uses append-resources to include supplemental info on jars with 3rd party works in source
* adds an hbase specific resource bundle for jars that include 3rd party works for binaries
** uses supplemental-model to fill in license gaps
** uses the above and a shade plugin transformation to build proper files for shaded jars.
** uses the above and the assembly plugin to build the proper files for bin assembly
* adds a NOTICE item for things copied out of Hadoop (TODO legal-discuss)
2015-08-04 17:16:56 -05:00
tedyu 4b6598e394 HBASE-13864 HColumnDescriptor should parse the output from master and from describe for TTL (Ashu Pachauri) 2015-08-01 02:15:02 -07:00
Ashish Singhi f504e4b4ed HBASE-14154 DFS Replication should be configurable at column family level
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-07-31 19:15:48 -07:00
Sean Busbey 4ce6f486d0 HBASE-14087 Ensure correct ASF headers for docs/code
* adds missing headers
* corrects some old-form headers to current
* restores proper header for guava copied LimitInputStream
* adds proper header for protobuf copied read/writeRawVarint
2015-07-29 14:25:43 -05:00
Jonathan M Hsieh 493f36c899 HBASE-11339 Merge remote-tracking branch 'apache/hbase-11339' (Jingcheng Du) 2015-07-22 12:51:11 -07:00
Apekshit(Appy) Sharma 7ce318dd3b HBASE-14119 Show error message instead of stack traces in hbase shell commands. (Apekshit) 2015-07-20 15:45:49 -07:00
Ashish Singhi e6bd0c8c15 HBASE-8642 [Snapshot] List and delete snapshot by table
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-07-15 15:56:07 -07:00
ramkrishna a3d30892b4 HBASE-14047 - Cleanup deprecated APIs from Cell class (Ashish Singhi) 2015-07-13 22:06:16 +05:30
tedyu 6cc42c8cd1 HBASE-13829 Add more ThrottleType (Guanghao Zhang) 2015-06-09 06:42:55 -07:00
Lars George e9afc9a267 HBASE-13723 In table.rb scanners are never closed. 2015-05-28 10:14:15 +02:00
anoopsjohn b31a6acf4c HBASE-13763 Handle the rename, annotation and typo stuff in MOB. (Jingcheng) 2015-05-28 13:43:12 +05:30
Abhishek Kumar c8c23cc318 HBASE-13746 list_replicated_tables command is not listing table in hbase shell
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-05-25 12:52:39 -07:00
stack e1e8434340 HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered 2015-05-21 11:06:27 -07:00
Lars Francke 315f596798 HBASE-13656 Rename getDeadServers to getDeadServersSize in Admin
Replace JIRA

Signed-off-by: stack <stack@apache.org>
2015-05-20 13:32:06 -07:00
stack e2e9ea5bd5 Revert "HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered"
Committed by mistake. Backing out till sure it good.

This reverts commit dc72dad7cd.
2015-05-20 13:25:49 -07:00
stack dc72dad7cd HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered 2015-05-20 11:55:06 -07:00
ramkrishna 1fbde3abd3 HBASE-13721 - Improve shell scan performances when using LIMIT(JMS) 2015-05-20 22:13:27 +05:30
Lars Francke 1fcee86978 HBASE-13636 Remove deprecation for HBASE-4072 (Reading of zoo.cfg)
Signed-off-by: stack <stack@apache.org>
2015-05-19 16:32:32 -07:00
Jonathan M Hsieh 09a00efc0b Merge remote-tracking branch 'apache/master' (5/19/15) into hbase-11339
Patches that caused deltas:
HBASE-10810 - around HColumnDescriptor 'should' vs 'is' api.
HBASE-11677 - LOG was made private
HBASE-11927 - Checksum constant changed
HBASE-10800 - CellComparator instead of KVComparator

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/DeleteTableHandler.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultStoreEngine.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/DefaultCompactor.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java
2015-05-19 16:30:21 -07:00
Srikanth Srungarapu 58689b4a00 HBASE-13358 Upgrade VisibilityClient API to accept Connection object. ANOTHER ADDENDUM - fix visibility label shell admin 2015-05-01 15:46:11 -07:00
Jonathan M Hsieh 0e20bbf6a3 Merge branch 'apache/master' (4/16/15) into hbase-11339
API conflicts and test fixes
Update LoadTestTool.COLUMN_FAMILY -> DEFAULT_COLUMN_FAMILY due HBASE-11842
Use new 1.0+ api in some tests
Use updated Scanners internal api
Fix to take into account  HBASE-13203 - procedure v2 table delete

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
2015-05-01 08:18:51 -07:00
Andrew Purtell cd83d39fb4 HBASE-13550 [Shell] Support unset of a list of table attributes 2015-04-24 17:51:19 -07:00
stack 0dfeba3d78 HBASE-13487 Doc KEEP_DELETED_CELLS 2015-04-17 08:27:45 -07:00
Srikanth Srungarapu 2392a3e437 HBASE-13058 Hbase shell command 'scan' for non existent table shows unnecessary info for one unrelated existent table. (Abhishek Kumar) 2015-04-01 23:29:55 -07:00
Elliott Clark 55a5a3be33 HBASE-13364 Make error prone off by default 2015-03-30 16:03:53 -07:00
Lars George 7f8745453e HBASE-10728 get_counter value is never used. 2015-03-30 10:21:53 +02:00
Josh Elser 98b1e72d1c HBASE-13222 Add isBalancerEnabled method to Master and Admin.
Include some basic tests for the method on a testing cluster.
Also update master page to show an alert when balancer is disabled.

Signed-off-by: Enis Soztutar <enis@apache.org>
2015-03-27 14:28:03 -07:00
anoopsjohn 014b812103 HBASE-13006 Document visibility label support for groups. (Jerry He) 2015-03-19 09:18:21 +05:30
Josh Elser 72855c584e 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-13 22:35:52 -05:00
tedyu 7a3ea23704 HBASE-13171 Change AccessControlClient methods to accept connection object to reduce setup time (Srikanth Srungarapu) 2015-03-11 18:24:12 -07:00
Jonathan M Hsieh 47ed5cd7ed HBASE-13012 Add shell commands to trigger the mob file compactor (Jingcheng Du and Jiajia Li) 2015-03-04 23:47:05 -08:00
Misty Stanley-Jones 39425a8558 HBASE-11670 Generate PDF of Reference Guide 2015-03-05 09:31:11 +10:00
Ashish Singhi c80d64c3fe HBASE-13100 Shell command to retrieve table splits 2015-02-28 09:51:25 -06:00
zhangduo fdb48a7bbe HBASE-13084 addendum disable info server in shell test
Signed-off-by: stack <stack@apache.org>
2015-02-27 19:59:04 -08:00
zhangduo f670649f0e HBASE-13084 addendum move replication_admin_test.rb to individual test
Signed-off-by: stack <stack@apache.org>
2015-02-27 08:05:42 -08:00
tedyu 458846ef7b HBASE-13112 quota.rb, security.rb and visibility_labels.rb leak connection (Ashish Singhi) 2015-02-26 18:44:19 -08:00
tedyu 49b4f3737e HBASE-13111 truncate_preserve command is failing with undefined method error (Ashish Singhi) 2015-02-26 07:07:19 -08:00
zhangduo d34620b8b6 HBASE-13084 Add labels to VisibilityLabelsCache asynchronously causes TestShell flakey
Signed-off-by: stack <stack@apache.org>
2015-02-24 17:01:05 -08:00
stack af848f8a71 Revert "HBASE-13058-shell unknown table message update"
Wrong patch!

This reverts commit 977d65a81c.
2015-02-24 08:16:49 -08:00
Abhishek Kumar 977d65a81c HBASE-13058-shell unknown table message update
Signed-off-by: stack <stack@apache.org>
2015-02-23 22:45:43 -08:00
Abhishek Kumar 6a4bca86e2 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:29:43 +01:00
Jonathan M Hsieh fe335b683c Merge branch 'master' (2/11/15) into hbase-11339
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
	hbase-client/src/test/java/org/apache/hadoop/hbase/TestHColumnDescriptor.java
	hbase-common/src/main/java/org/apache/hadoop/hbase/TagType.java
	hbase-common/src/main/resources/hbase-default.xml
	hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
	hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSourceImpl.java
	hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/io/HFileLink.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/DeleteTableHandler.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/DisabledTableSnapshotHandler.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultStoreEngine.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/Compactor.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/DefaultCompactor.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/StripeCompactor.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/RestoreSnapshotHelper.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotReferenceUtil.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperStub.java
	pom.xml
	src/main/docbkx/book.xml
	src/main/docbkx/ops_mgt.xml
	src/main/docbkx/schema_design.xml
2015-02-22 12:54:45 -08:00
tedyu 9a311303a8 HBASE-13057 Provide client utility to easily enable and disable table replication (Ashish Singhi) 2015-02-20 10:18:47 -08:00
Bhupendra 6d72a993ee HBASE-13049 wal_roll ruby command doesn't work
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-02-16 15:47:00 +01:00
Kevin Risden 7561ae6d12 HBASE-12867 Add ability to specify custom replication endpoint to add_peer 2015-02-12 15:04:17 -08:00
Ashish Singhi 16ed345191 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>
2015-02-12 14:50:01 -08:00
Andrew Purtell 1c1a306b2e HBASE-12885 Unit test for RAW / VERSIONS scanner specifications (Amit Kabra) 2015-01-25 17:32:49 -08:00
Nick Dimiduk 9824eb7840 HBASE-12810 Update to htrace-incubating 2015-01-22 14:28:20 -08:00
Enis Soztutar af725a0357 HBASE-12833 [shell] table.rb leaks connections (Solomon Duskis) 2015-01-16 11:35:27 -08:00
Andrew Purtell f1d1dbfaa4 HBASE-8026 HBase Shell docs for scan command does not reference VERSIONS (Amit Kabra) 2015-01-16 09:43:32 -08:00
Misty Stanley-Jones 1a21c1684c HBASE-11533 Asciidoc Proof of Concept 2015-01-13 22:32:29 -08:00
Andrew Purtell acc284eec6 HBASE-12801 Failed to truncate a table while maintaing binary region boundaries (Liu Shaohui) 2015-01-12 19:09:02 -08:00
Enis Soztutar 8816fa05c2 HBASE-12832 Describe table from shell no longer shows Table's attributes, only CF attributes (Srikanth Srungarapu) 2015-01-12 14:00:22 -08:00
tedyu f57a9f5bd5 HBASE-12268 Add support for Scan.setRowPrefixFilter to shell (Niels Basjes) 2015-01-06 11:16:39 -08:00
Ramkrishna 0d094d877b HBASE-12768 - Support enable cache_data_on_write in Shell while creating
table
2014-12-30 09:51:44 +05:30
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
tedyu 9e7f7211b9 HBASE-12699 Addendum modifies shell help (Stephen Jiang) 2014-12-16 14:53:27 -08:00
tedyu 92bc36b762 HBASE-12690 list_quotas command is failing with not able to load Java class (Ashish) 2014-12-16 13:55:35 -08:00
tedyu 1359e87b17 HBASE-12699 undefined method 'setAsyncLogFlush' exception thrown when setting DEFERRED_LOG_FLUSH=>true (Stephen Jiang) 2014-12-16 09:33:27 -08:00
stack 2cab24ab9a HBASE-12675 Use interface methods in shell scripts (solomon duskis) 2014-12-15 11:44:05 -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 29c233e6e8 HBASE-12681 truncate_preserve command fails with undefined method 'getTable' error (Ashish) 2014-12-13 08:59:56 -08:00
stack da2b5a9627 HBASE-12373 Provide a command to list visibility labels (Jerry He) 2014-12-11 15:18:03 -08:00
Misty Stanley-Jones a4318aa8aa HBASE-12601 Explain how to grant/revoke permission to a group/namespace in grant/revoke command usage (Ashish Singhi) 2014-12-10 15:06:07 +10:00
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
Andrew Purtell 09cd3d7bfb HBASE-10560 Per cell TTLs 2014-12-05 11:10:26 -08:00
Jonathan M Hsieh 8182e88297 HBASE-12624 Remove rename_snapshot.rb from code as there is no equivalent renameSnapshot api in Admin class (Ashish Singhi) 2014-12-03 18:50:40 -08:00
Matteo Bertozzi 13a1eaec09 HBASE-12618 Add 'Namespace' to headers while displaying user permissions (Ashish Singhi) 2014-12-03 08:26:37 +00:00
stack 5985b48594 HBASE-12595 Use Connection.getTable() in table.rb (Solomon Duskis) 2014-11-29 12:52:44 -08:00
stack 57b38339db HBASE-12580 Zookeeper instantiated even though we might not need it in the shell (Alex Newman) 2014-11-26 13:00:29 -08:00
stack 7893c013bc HBASE-12495 Use interfaces in the shell scripts (solomon duskis) 2014-11-24 12:18:25 -08:00
tedyu e4a68606f5 HBASE-8572 Enhance delete_snapshot.rb to call snapshot deletion API with regex (Ashish Singhi) 2014-11-20 08:57:42 -08:00
stack 6f0138d695 Revert "HBASE-12495 Use interfaces in the shell scripts (Solomon Duskis)"
This reverts commit 929bb34181.
2014-11-18 18:14:52 -08:00
stack 929bb34181 HBASE-12495 Use interfaces in the shell scripts (Solomon Duskis) 2014-11-18 12:56:01 -08:00
stack b94e6738d9 HBASE-10378 Refactor write-ahead-log implementation -- ADDEDNUM 2014-11-18 12:12:35 -08:00
Sean Busbey f5e05eb836 HBASE-10378 Refactor write-ahead-log implementation
Incompatible changes called out in release notes on 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.

Signed-off-by: stack <stack@apache.org>
2014-11-18 12:04:41 -08:00
Andrew Purtell 1ba615657b HBASE-12382 Restore incremental compilation 2014-11-11 17:45:37 -08:00
stack e287741388 HBASE-12434 Add a command to compact all the regions in a regionserver (Liu Shaohui) 2014-11-11 09:32:55 -08:00
stack c71244c02d HBASE-12329 Table create with duplicate column family names quietly succeeds (Jingcheng Du) 2014-11-05 17:32:21 -08:00
stack 14f4a296b0 HBASE-8572 Enhance delete_snapshot.rb to call snapshot deletion API with regex REVERT TILL TESTED 2014-11-05 07:44:51 -08:00
Lars Hofhansl ecd708671c HBASE-12363 Improve how KEEP_DELETED_CELLS works with MIN_VERSIONS. 2014-11-04 17:08:39 -08:00
Ashish Singhi a5d1832a30 HBASE-8572 Enhance delete_snapshot.rb to call snapshot deletion API with regex
Signed-off-by: stack <stack@apache.org>
2014-11-04 16:49:43 -08:00
Andrew Purtell 70a312e53f HBASE-11912 Catch some bad practices at compile time with error-prone 2014-10-27 09:29:23 -07:00
Andrew Purtell ff5bc351b2 Revert "HBASE-11912 Catch some bad practices at compile time with error-prone"
This reverts commit 7ed0260eff.
2014-10-25 08:33:43 -07:00
Andrew Purtell 7ed0260eff HBASE-11912 Catch some bad practices at compile time with error-prone 2014-10-24 18:15:12 -07:00
Matteo Bertozzi 2908c11371 HBASE-12301 user_permission command does not show global permissions 2014-10-22 10:08:31 +01:00
stack f61df33988 HBASE-12286 [shell] Add server/cluster online load of configuration changes Add doc to the refguide, change command names to drop the _rs_
Signed-off-by: stack <stack@apache.org>
2014-10-21 11:15:09 -07:00
stack 3e073924be HBASE-10082 Describe 'table' output is all on one line, could use better formatting (Srikanth Srungarapu) 2014-10-20 20:18:07 -07:00
Matteo Bertozzi 49056295ef HBASE-12161 Add support for grant/revoke on namespaces in AccessControlClient (Srikanth Srungarapu) 2014-10-18 21:18:42 +01:00
Andrew Purtell 963bd07f68 HBASE-12265 HBase shell 'show_filters' points to internal Facebook URL 2014-10-16 09:01:11 -04:00
stack a47fe89d95 HBASE-12248 broken link in hbase shell help (André Kelpe) 2014-10-13 20:11:43 -07:00
Ted Yu 3d84ccbf9c HBASE-12109 user_permission command for namespace does not return correct result (Vandana Ayyalasomayajula) 2014-10-09 17:45:02 +00:00
Andrew Purtell 3557a32352 HBASE-12106 Move test annotations to test artifact (Enis Soztutar) 2014-10-06 23:16:22 -07:00
Matteo Bertozzi 79b11ae8fe HBASE-12120 HBase shell doesn't allow deleting of a cell by user with W-only permissions to it (Srikanth Srungarapu) 2014-10-02 02:31:02 +01:00
Misty Stanley-Jones 231bc98761 HBASE-12049 Help for alter command is a bit confusing (Ashish Singhi) 2014-10-01 16:24:02 +10:00
stack 02cdcefe4f HBASE-12118 Explain how to grant permission to a namespace in grant command usage 2014-09-30 08:05:18 -07:00
Ramkrishna 7da41643ee HBASE-12093 Support the mob attributes in hbase shell when create/alter
table
2014-09-26 18:13:29 +05:30
anoopsjohn 375fc1efe3 HBASE-12084 Remove deprecated APIs from Result - shell addendum 2014-09-26 10:04:58 +05:30
Elliott Clark a5bd931682 HBASE-12059 Create hbase-annotations module 2014-09-23 16:44:14 -07:00
Matteo Bertozzi bd8df9ccd4 HBASE-11598 Add simple rpc throttling 2014-09-18 22:38:30 +01:00
stack 3c9bd7d296 HBASE-11911 Break up tests into more fine grained categories (Alex Newman) 2014-09-12 21:37:06 -07:00
stack c0d4b26872 HBASE-11897 Add append and remove peer table-cfs cmds for replication (Liu Shaoqui) 2014-09-12 09:28:52 -07:00
Enis Soztutar 34a5019b42 HBASE-10841 Scan,Get,Put,Delete,etc setters should consistently return this 2014-09-05 18:48:38 -07:00
Sean Busbey f69a1945c6 HBASE-8298 In shell, provide alias of 'desc' for 'describe'.
* Adds ability to alias commands
* map 'desc' alias to 'describe'

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-08-23 10:39:42 -07:00
Enis Soztutar aeecd20373 HBASE-11572 Add support for doing get/scans against a particular replica_id (Jeffrey Zhong) 2014-08-19 18:23:09 -07:00
Andrew Purtell c55ecba071 HBASE-11754 [Shell] Record table property SPLITS_FILE in descriptor (chendihao) 2014-08-18 14:50:52 -07:00
Andrew Purtell 680a6f32f2 HBASE-11713 Adding hbase shell unit test coverage for visibility labels (Srikanth Srungarapu) 2014-08-15 15:20:35 -07:00
Andrew Purtell 865fae8a80 HBASE-11731 Add option to only run a subset of the shell tests (Sean Busbey) 2014-08-14 11:49:59 -07:00
Jonathan M Hsieh 4b8a38ebb5 HBASE-11658 Piped commands to hbase shell should return non-zero if shell command failed (Sean Busbey) 2014-08-08 13:54:53 -07:00
Nicolas Liochon d8faab2fff HBASE-11492 Hadoop configuration overrides some ipc parameters including tcpNoDelay 2014-07-22 14:54:52 +02:00
Nick Dimiduk a32331c02b HBASE-11505 'snapshot' shell command shadows 'snapshot' shell when 'help' is invoked 2014-07-14 09:42:24 -07:00
Andrew Purtell dba294576e HBASE-11057 Improve TestShell coverage of grant and revoke comamnds (Srikanth Srungarapu) 2014-07-11 17:28:17 -07:00
Ramkrishna eafa9f6c1f HBASE-11088 Support Visibility Expression Deletes in Shell (Ram) 2014-07-09 11:43:26 +05:30
stack c6db308977 HBASE-11452 add getUserPermission feature in AccessControlClient as client API (Demai Ni) 2014-07-04 19:47:57 -07:00
Ted Yu 6c102e22f0 HBASE-11422 Specification of scope is missing for certain Hadoop dependencies (Konstantin Boudnik) 2014-07-04 12:40:13 +00:00
Enis Soztutar 92c52a727a Updated version in master to 2.0.0-SNAPSHOT after 'branch-1' is created for 1.x line of releases 2014-06-30 20:26:47 -07:00
Devaraj Das 72355a920a HBASE-10361. Enable/AlterTable support for region replicas (ddas)
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1570008 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:37 -07:00
Devaraj Das 481a116e26 HBASE-10348. HTableDescriptor changes for region replicas
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1565658 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:36 -07:00
Enis Soztutar d8ea476bf1 HBASE-10354 Add an API for defining consistency per request
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1565062 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 16:39:36 -07:00
Matteo Bertozzi 86e5db5099 HBASE-10935 support snapshot policy where flush memstore can be skipped to prevent production cluster freeze (Tianying Chang) 2014-06-02 08:03:19 +01:00
Andrew Purtell 58818496da HBASE-9857 Blockcache prefetch option 2014-05-22 10:17:39 -07:00
Michael Stack 6c7af961fa HBASE-6506 Setting CACHE_BLOCKS to false in an hbase shell scan doesn't work
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1595937 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 15:50:35 +00:00
mbertozzi 788b285e11 HBASE-8332 Add truncate as HMaster method
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1593439 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 22:25:01 +00:00
Andrew Kyle Purtell 4d1fc21500 HBASE-10892 [Shell] Add support for globs in user_permission (Esteban Gutierrez)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1590172 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 22:34:16 +00:00
Andrew Kyle Purtell 8ac8a0e56f HBASE-11002 Shell support for changing cell visibility for testing
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1589890 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 21:41:29 +00:00
Andrew Kyle Purtell 639ca70f9c Amend HBASE-11001 Shell support for granting cell permissions for testing; Fix global grants
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1589492 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 18:55:10 +00:00