hbase shell

http://www.cnblogs.com/nexiyi/p/hbase_shell.html



select f.rowKey,f.id,f.bid,f.userId,f.siteId,f.name,f.type,f.lstClientInfo,f.lstVisitInfo,f.lstChatInfo,f.lstCbInfo,f.fstVisitTime,f.totalVisitTimes,f.totalVisitPages,f.totalChatTimes,f.fstReceiveUser,f.fstCbTime,f.totalCbTimes,f.fstCbUser,f.gmtCreate,f.visitChatKey,f.passportId,f.passportName,f.passDisplayName from nbcps_o:visitor_info where f.rowKey= '2070000000000976a87000000000060e3de145689902782115305'

get 'nbcps_o:visitor_info','2070000000000976a87000000000060e3de145689902782115305'
deleteall  'nbcps_o:visitor_info','2070000000000976a87000000000060e3de145689902782115305'

get 'nbcps_o:visitor_info','89300000000014b5bb5000000000092b18d147340985328694858'


--------------------------
rd 环境
select f.rowKey,f.id,f.bid,f.userId,f.siteId,f.name,f.type,f.lstClientInfo,f.lstVisitInfo,f.lstChatInfo,f.lstCbInfo,f.fstVisitTime,f.totalVisitTimes,f.totalVisitPages,f.totalChatTimes,f.fstReceiveUser,f.fstCbTime,f.totalCbTimes,f.fstCbUser,f.gmtCreate,f.visitChatKey,f.passportId,f.passportName,f.passDisplayName from nbcps_rd:visitor_info where f.rowKey= '576000000000078a8f80000000005f5eaae147202499255913436'

get 'nbcps_rd:visitor_info','576000000000078a8f80000000005f5eaae147202499255913436'


select f.rowKey,f.id,f.bid,f.userId,f.siteId,f.name,f.type,f.lstClientInfo,f.lstVisitInfo,f.lstChatInfo,f.lstCbInfo,f.fstVisitTime,f.totalVisitTimes,f.totalVisitPages,f.totalChatTimes,f.fstReceiveUser,f.fstCbTime,f.totalCbTimes,f.fstCbUser,f.gmtCreate,f.visitChatKey,f.passportId,f.passportName,f.passDisplayName from nbcps_rd:visitor_info where f.rowKey= '576000000000078a8f80000000005f5eaad147151137388141181'

get 'nbcps_rd:visitor_info','576000000000078a8f80000000005f5eaad147151137388141181'

deleteall 'nbcps_rd:visitor_info','576000000000078a8f80000000005f5eaad147151137388141181'

猜你喜欢

转载自wangqiaowqo.iteye.com/blog/2339575