Commit Graph

55 Commits

Author SHA1 Message Date
larsh 8f101720a2 HBASE-3924 Improve Shell's CLI help (Harsh J)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1225370 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 22:57:30 +00:00
Todd Lipcon 12855081cc HBASE-2632. Shell should autodetect terminal width
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949803 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 16:49:50 +00:00
Michael Stack 897e903d90 HBASE-2577 Remove 'core' maven module; move core up a level hbase-issues
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946736 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 18:10:57 +00:00
Andrew Kyle Purtell a03976103d added copyright notices
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@928089 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 22:45:48 +00:00
Michael Stack dfc23200bd HBASE-2313 Nit-pick about hbase-2279 shell fixup, if you do get with non-existant column family, throws lots of exceptions
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@923894 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 17:43:09 +00:00
Michael Stack 4770ea178a HBASE-2279 Hbase Shell does not have any tests
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922110 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 01:36:04 +00:00
Michael Stack 73aa65deb3 HBASE-2035 Binary values are formatted wrong in shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@896738 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 02:25:12 +00:00
Jean-Daniel Cryans 1241459503 HBASE-2081 Set the retries higher in shell since client pause is lower
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@894743 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 23:47:41 +00:00
Andrew Kyle Purtell c609d25614 HBASE-2028 Add HTable.incrementColumnValue support to shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@892648 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 19:50:23 +00:00
Jean-Daniel Cryans 04155cac92 HBASE-2044 HBASE-1822 removed not-deprecated APIs
HBASE-2041  Change WAL default configuration values
            changes to the shell and fixing interrupt bug


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@891073 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 23:41:40 +00:00
Michael Stack 5c6931f263 HBASE-2029 Reduce shell exception dump on console
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@888132 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 20:54:58 +00:00
Michael Stack 41558cf59d HBASE-1859 Misc shell fixes patch
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@817947 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 03:10:49 +00:00
Andrew Kyle Purtell a4ee96d5fd HBASE-1827 Add disabling block cache scanner flag to the shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@814093 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 00:11:39 +00:00
Michael Stack e2f5f48014 HBASE-1640 Allow passing arguments to jruby script run when run by bin/hbase shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@792802 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 04:20:48 +00:00
Michael Stack 969b989c63 HBASE-1450 Scripts passed to hbase shell do not have shell context set up for them
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@788550 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 23:53:04 +00:00
Michael Stack 7886526f30 HBASE-1578 Change the name of the in-memory updates from 'memcache' to 'memtable' or....
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@788160 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 19:56:51 +00:00
Michael Stack 624b155cf4 HBASE-1329 Visibility into ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@785470 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 03:46:12 +00:00
Michael Stack d1a678ca83 HBASE-1509 Add explanation to shell help command on how to use binary keys
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@783993 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 06:04:58 +00:00
Michael Stack d3f7947323 HBASE-1478 Remove hbase master options from shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@781263 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 05:11:48 +00:00
Andrew Kyle Purtell f43fba2216 HBASE-1494 HBaseAdmin.getClusterStatus; minor formatting change for shell support
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@779689 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 17:34:51 +00:00
Andrew Kyle Purtell 5e1b305116 HBASE-1454 HBaseAdmin.getClusterStatus
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@779443 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 05:48:52 +00:00
Michael Stack 59c6ce905d HBASE-1383 hbase shell needs to warn on deleting multi-region table
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@772499 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 04:48:44 +00:00
Andrew Kyle Purtell 80eae9d2af HBASE-1178 Add shutdown command to shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@740265 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 10:22:06 +00:00
Jean-Daniel Cryans 86e3267abb HBASE-845 HCM.isTableEnabled doesn't really tell if it is, or not
HBASE-903   [shell] Can't set table descriptor attributes when I alter a table



git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@738927 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 16:51:26 +00:00
Michael Stack 14734e4e81 HBASE-5121 Fix shell usage for format.width
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@737312 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 07:11:32 +00:00
Michael Stack 4dde10431e HBASE-1082 Administrative functions for table/region maintenance
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@731801 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 01:12:36 +00:00
Michael Stack d47bdad4fd HBASE-1066 Master should support close/open/reassignment/enable/disable operations on individual regions
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@729168 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 23:10:25 +00:00
Michael Stack e1d9bf64c2 HBASE-782 The DELETE key in the hbase shell deletes the wrong character
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@728733 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 17:50:02 +00:00
Michael Stack 3b803714c5 HBASE-817 Hbase/Shell Truncate
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708966 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 18:01:35 +00:00
Michael Stack 8932609a36 HBASE-844 Can't pass script to hbase shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703027 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09 00:03:50 +00:00
Michael Stack 252e017903 HBASE-852 Cannot scan all families in a row with a LIMIT, STARTROW, etc.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703025 13f79535-47bb-0310-9956-ffa450edef68
2008-10-08 23:45:30 +00:00
Michael Stack b174254d9e HBASE-890 alter table operation and also related changes in REST interface
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698001 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 21:16:21 +00:00
Michael Stack fe19bdd5b2 HBASE-872 Getting exceptions in shell when creating/disabling tables
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@692585 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 23:57:40 +00:00
Michael Stack c17ecdb420 Fix help doc continuation of long lines
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686653 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 22:13:13 +00:00
Michael Stack 8e95cab93c Minor edit fix to hirb help
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686335 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 19:24:14 +00:00
Michael Stack 802571af28 HBASE-813 Add a row counter in the new shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685257 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 18:30:33 +00:00
Michael Stack be3f1a6ea3 HBASE-760 brittle/broken HCD create handling in HBase.rb
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678866 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 19:22:21 +00:00
Michael Stack c04a282e7c HBASE-754 The JRuby shell documentation is wrong in "get" and "put"
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678235 13f79535-47bb-0310-9956-ffa450edef68
2008-07-19 22:25:46 +00:00
Michael Stack 1f13177b07 HBASE-735 hbase shell doesn't trap CTRL-C signal
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675658 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 17:39:43 +00:00
Michael Stack fb8a45ce30 HBASE-734 scan '.META.', {LIMIT => 10} crashes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675378 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 22:56:18 +00:00
Michael Stack 3862e988c6 HBASE-734 scan '.META.', {LIMIT => 10} crashes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675377 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 22:54:44 +00:00
Michael Stack 975af636e8 HBASE-731 delete, deletefc in HBase shell do not work correctly
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675348 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 21:39:45 +00:00
Michael Stack 3d579b7beb HBASE-718 hbase shell help info
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@672988 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 04:15:50 +00:00
Michael Stack ea90a78566 HBASE-704 update new shell docs and commands on help menu
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@671606 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 17:19:17 +00:00
Michael Stack d09a697620 HBASE-702 deleteall doesn't
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@670701 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 18:19:54 +00:00
Michael Stack 1342ed9b5c HBASE-487 New shell....
Add in special handling of .META. table that we used have in HQL
(so it prints out the HRegionInfo pretty).  Also allow making a scanner
without specifying columns.

M  src/java/org/apache/hadoop/hbase/HTableDescriptor.java
   Allow getMetadata work if HTable is set against meta tables.
   Was failing on isLegalTableName if name was one of the catalog table names.
   Needed by shell.
M src/java/org/apache/hadoop/hbase/client/HTable.java
  Comment.
M  bin/hbase
  Remove commented out line.
M  bin/HBase.rb
  Allow passing just a table name to scanner; let it figure out all families
  Added in the special handling of .META. table cells that we used have in HQL
  so we can see start/end row, etc.  Added in extra testing.
M  bin/Formatter.rb
  Allow setting width of emitted table in console formatter
M  bin/hirb.rb
  Allow setting width of emitted table in console formatter
  Improved scanner help.:


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669318 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 22:24:34 +00:00
Michael Stack 00cd1d2ca3 HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@668880 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 23:58:05 +00:00
Michael Stack b58c15a6d7 HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell
This commit finishes up the DDL
M  src/test/org/apache/hadoop/hbase/TestBloomFilters.java
    Changed name of default constants.
M  src/java/org/apache/hadoop/hbase/HColumnDescriptor.java
    Changed name of default constants.
    (getNameAsString): Added.
M  src/java/org/apache/hadoop/hbase/master/ModifyColumn.java
    toString column family byte array name.
M  bin/HBase.rb
    (alter, hcd): Added.
M  bin/hirb.rb
    More help doc.
    (alter, admin): Added.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667684 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 22:42:11 +00:00
Michael Stack 82639a32fd HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell
M  bin/HBase.rb
  Remove Module-level constants.  Move them instead back into
  HColumnDescriptor, etc. and read them from there.
  (describe): Added.
M  bin/hirb.rb
  Fixed up comments.  Added TODOs.
  Add here the constants from HColumnDescriptor and HTableDescriptor
  Use HERE doc. for main help.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667364 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 05:50:00 +00:00
Michael Stack 85f562ebea HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell; First cut at DDL and Admin implementations; create, drop, list, etc.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@666965 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 06:00:35 +00:00