hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "Hbase/FAQ" by stack
Date Sat, 24 Nov 2007 00:06:16 GMT
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();

Mime
View raw message