Research breakthrough possible @S-Logix

Office Address

  • 2nd Floor, #7a, High School Road, Secretariat Colony Ambattur, Chennai-600053 (Landmark: SRM School) Tamil Nadu, India
  • +91- 81240 01111

Social List

How to display the data in HBase table?

  • Sample code Segment
    Configuration config = HBaseConfiguration.create();
    HTable table=new HTable(config, “tablename”);
    Scan scan =new Scan();
    ResultScanner dispaly=table.getScanner(scan);
    for(Result; r!=null; {
    System.out.println(“row value”+r);
  • Command
    hbase> scan ‘tablename’