#5, First Floor, 4th Street , Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to read the data from HBase table?
  • Sample code Segment
    Configuration config = HBaseConfiguration.create();
    HTable table=new HTable(config, “tablename”);
    Get g=new Get(rowname);
    Result res=table.get(g);
    byte[] colvalue=res.getValue(columnfamily,columnname);
  • Command
    hbase< get ‘tablename’, ‘rowname’