How to List a Table in HBase

  • Sample code Segment

    Configuration config = HBaseConfiguration.create();
    HBaseAdmin h1 = new HBaseAdmin(config);
    HTableDescriptor[] h2 = h1.listTables();

  • Command

    hbase> list