AnsweredAssumed Answered

HBase truncate table cause application restart.

Question asked by rahul on Sep 8, 2014
Latest reply on Sep 11, 2014 by rahul
i have a web application with backend HBase M7 and i am using HtablePool to manage and get the connections.
sometime i have to run table data cleanup without bring down web applications/client. if i run the truncate command from hbase command line then all clients(web application) throws exception while inserting data and i have to restart apps to resolve this issue.

` Error: Input/output error(5)
        at com.mapr.fs.Inode.syncPut(
        at com.mapr.fs.MapRHTable.syncPut(
        at com.mapr.fs.MapRHTable.syncPut(
        at com.mapr.fs.HTableImpl.put(
        at org.apache.hadoop.hbase.client.HTable.put(
        at org.apache.hadoop.hbase.client.HTablePool$PooledHTable.put(
        at com.ts.common.dao.impl.HistoryTransactionDAOImpl$WSPagination.put(
        at com.ts.common.dao.impl.HistoryTransactionDAOImpl.forwardPagination(
any help would be much appreciated???