Commit Graph

45 Commits

Author SHA1 Message Date
Michael Stack dc28f778ed HBASE-1977 Add ts and allow setting VERSIONS when scanning in shell; better fix for ts
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@836275 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 22:25:11 +00:00
Michael Stack 947b62178d HBASE-1977 Add ts and allow setting VERSIONS when scanning in shell; back out a piece of this patch... we already had timestamp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@836058 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 23:27:03 +00:00
Michael Stack bbb6ce9d34 HBASE-1977 Add ts and allow setting VERSIONS when scanning in shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@835761 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 07:04:11 +00:00
Jean-Daniel Cryans 400aa9a809 HBASE-1899 Use scanner caching in shell count
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@823712 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 21:55:44 +00:00
Jonathan Gray 3b8bed11a6 HBASE-1481 Add fast row key only scanning
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@822062 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 22:34:16 +00:00
Andrew Kyle Purtell 4f294977d2 HBASE-1848 Fixup shell for HBASE-1822
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@816260 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 16:17:59 +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 eab24df54c HBASE-1761 getclosest doesn't understand delete family; manifests as 'HRegionInfo was null or empty in .META' A.K.A the BS problem
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@805063 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:34:19 +00:00
Michael Stack b3653a6295 HBASE-1743 [debug tool] Add regionsInTransition list to ClusterStatus detailed output
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@800676 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 05:09:27 +00:00
Michael Stack 64e7770cb7 HBASE-1693 NPE close_region .META. in shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@797851 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 23:14:16 +00:00
Michael Stack 732abb77c8 HBASE-1633 Can't delete in TRUNK shell; makes it hard doing admin repairs
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@792793 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 03:25:20 +00:00
Michael Stack 1eb46d4be7 HBASE-1581 Run major compaction on .META. when table is dropped or truncated
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@788545 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 23:14:29 +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
Andrew Kyle Purtell e1bbd8cbc5 HBASE-1552 provide version running on cluster via getClusterStatus
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@786666 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 21:09:22 +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
Ryan Rawson 6af4292630 HBASE-1304 - New client server implementation of how gets and puts are handled. -- Thanks to jgray,holstad,stack,rawson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@782178 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 01:26:21 +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 997ca2a89a HBASE-1235 Add table enabled status to shell and UI
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@767624 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 19:14:15 +00:00
Michael Stack e60cf99672 HBASE-1235 Add table enabled status to shell and UI
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@751331 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 22:12:54 +00:00
Michael Stack c407ff336f HBASE-1217 add new compression and hfile blocksize to HColumnDescriptor
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@749753 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 21:02:31 +00:00
Michael Stack 89bf878a87 HBASE-1210 Allow truncation of output for scan and get commands in shell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@748238 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 17:55:27 +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 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 491991061e HBASE-1105 Remove duplicated code in HCM, add javadoc to RegionState, etc.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@730494 13f79535-47bb-0310-9956-ffa450edef68
2009-01-01 00:36:27 +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 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 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 0a3560ccea HBASE-853 [shell] Cannot describe meta tables
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703024 13f79535-47bb-0310-9956-ffa450edef68
2008-10-08 23:41:17 +00:00
Michael Stack ebe81b974f HBASE-894 [shell] Should be able to copy-paste table description to create new table
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698011 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 21:53:38 +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 99f695beda HBASE-834 'Major' compactions and upper bound on files we compact at any one time
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690423 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 23:36:02 +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 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
Jean-Daniel Cryans 8124fa7f7c Added a check in HBase.rb to make sure table is disabled when drop.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684053 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:53:30 +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 a34a37985f HBASE-756 In HBase shell, the put command doesn't process the timestamp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678454 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 15:47:35 +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 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