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.

` java.io.IOException: Error: Input/output error(5)
        at com.mapr.fs.Inode.syncPut(Inode.java:1177)
        at com.mapr.fs.MapRHTable.syncPut(MapRHTable.java:99)
        at com.mapr.fs.MapRHTable.syncPut(MapRHTable.java:95)
        at com.mapr.fs.HTableImpl.put(HTableImpl.java:183)
        at org.apache.hadoop.hbase.client.HTable.put(HTable.java:924)
        at org.apache.hadoop.hbase.client.HTablePool$PooledHTable.put(HTablePool.java:394)
        at com.ts.common.dao.impl.HistoryTransactionDAOImpl$WSPagination.put(HistoryTransactionDAOImpl.java:359)
        at com.ts.common.dao.impl.HistoryTransactionDAOImpl.forwardPagination(HistoryTransactionDAOImpl.java:91)
`
any help would be much appreciated???

Outcomes