You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2007/11/24 01:06:16 UTC

[Lucene-hadoop Wiki] Update of "Hbase/FAQ" by stack

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by stack:
http://wiki.apache.org/lucene-hadoop/Hbase/FAQ

The comment on the change is:
Fix code

------------------------------------------------------------------------------
  // one named 'content, and the other 'anchor'.  The colons
  // are required for column family names.
  HTableDescriptor desc = new HTableDescriptor("test");
- desc.addFamily(new HColumnDescriptor(new Text("content:"));
+ desc.addFamily(new HColumnDescriptor(new Text("content:")));
- desc.addFamily(new HColumnDescriptor(new Text("anchor:"));
+ desc.addFamily(new HColumnDescriptor(new Text("anchor:")));
  HBaseAdmin admin = new HBaseAdmin(conf);
  admin.createTable(desc);
  HTableDescriptor[] tables = admin.listTables();