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();

Reply via email to