Commit Graph

6 Commits

Author SHA1 Message Date
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