Closed edmund2004 closed 10 years ago
The createTable API you are telling is available in HBaseAdmin. If you want to create table with index , create IndexedHTableDescriptor.
public void createTable(HTableDescriptor desc, byte [] startKey, byte [] endKey, int numRegions)
If your hadoop cluster is Hadoop 2.x then you can build by specifying hadoop profile 2.0 Ex; mvn clean package -DskipTests -Dhadoop.profile=2.0
I think the api is so import to begioning .And another question is What time the second can support Hadoop 2.X. Thank you