AnsweredAssumed Answered

How to list all HBase M7 tables from java client

Question asked by rahul on Aug 6, 2014
Latest reply on Aug 13, 2014 by rahul
i am able to list all tables from HbaseM7 using command-

    hbase>list '/mapr/cluster/tables/'

But, when I am trying to list the tables using HBaseManager it doesn't workout.. code snippet

    Configuration conf =//set all m7 cluster;
    HBaseAdmin admin = new HBaseAdmin(conf);
    HTableDescriptor[] tables = admin.listTables()

is there any way to pass the table location to listTables() function or may be some property i have to set?