![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hbase
hochoy
这个作者很懒,什么都没留下…
展开
-
HBase
1.HBase 概述1.1 HBase 数据模型In HBase, data is stored in tables, which have rows and columns. This is a terminology overlap with relational databases (RDBMSs), but this is not a helpful analogy. Instead, it can be helpful to think of an HBase table as a mult原创 2020-06-19 17:44:56 · 703 阅读 · 0 评论 -
hbase shell启动报错(KeeperException$ConnectionLossException)
hbase shell启动报错问题:执行hbase shell的时候报错org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid,提示连接不上zookeeper排查思路:查看hbase-site.xml配置文件<proper...原创 2018-06-12 14:14:54 · 2518 阅读 · 0 评论 -
HBase 修改 TTL 属性以释放空间
40. Time To Live (TTL)ColumnFamilies can set a TTL length in seconds, and HBase will automatically delete rows once the expiration time is reached. This applies to all versions of a row - even the ...原创 2018-09-13 11:07:19 · 9977 阅读 · 1 评论 -
hbase根据时间戳删除数据
hbase shell 或者脚本删除数据一般都根据rowkey进行操作,因此,此处还是要先根据时间戳范围找出rowkey,然后进行deleteall 操作,以下简单分四步进行操作#第一步:通过时间戳找到要删除的数据#第二步:构建删除数据的shell#第三步:给delete_all_by_rowkey.sh 加可执行权限 执行删除shell#!/bin/bash -lec...原创 2018-09-13 11:42:23 · 7809 阅读 · 0 评论