Research breakthrough possible @S-Logix pro@slogix.in

Office Address

Social List

How to delete the data from HBase table?

  • Sample code Segment
    Configuration config = HBaseConfiguration.create();HTable table=new HTable(config, “tablename”);Delete delete=new Delete(rowname);delete.deleteColumn(columnfamily,columnname);delete.deleteFamily(columnfamily);
    table.delete(delete);
  • Command
    hbase< deleteall ‘tablename’, ‘rowname’