HBase describe table 参数说明
创建user表
> create 'dimensoft:user', 'info'查看表结构
> describe 'dimensoft:user'DESCRIPTION
'dimensoft:user', //namespace:tableName
{
NAME => 'info', //列族 DATA_BLOCK_ENCODING => 'NONE', //数据块编码方式设置
//参见:http://hbase.apache.org/book.html#data.block.encoding.enable BLOOMFILT => 'ROW', //参见:http://hbase.apache.org/book.html#bloom.filters.when REPLICATION_SCOPE => '', //配置HBase集群replication时需要将该参数设置为1. //参见:http://blog.cloudera.com/blog/2012/08/hbase-replication-operational-overview/?utm_source=tuicool
'REPLICATION_SCOPE is a column-family level attribute
user has to alter each column family with the alter command as
shown above, for all the column families he wants to replicate.' VERSIONS => '', //设置保存的版本数 COMPRESSION => 'NONE', //设置压缩算法 MIN_VERSIONS => '', //最小存储版本数 TTL => 'FOREVER', //参见:http://hbase.apache.org/book.html#ttl
'ColumnFamilies can set a TTL length in seconds, and HBase
reached. This applies to all versions of a row - even the current one.
The TTL time encoded in the HBase for the row is specified in
UTC.' KEEP_DELETED_CELLS => 'false', //参见:http://hbase.apache.org/book.html#cf.keep.deleted BLOCKSIZE => '', //设置HFile数据块大小(默认64kb) IN_MEMORY => 'false',//设置激进缓存,优先考虑将该列族放入块缓存中,
//针对随机读操作相对较多的列族可以设置该属性为true BLOCKCACHE => 'true' //数据块缓存属性
}
HBase describe table 参数说明的更多相关文章
- HBase之Table.put客户端流程(续)
		上篇博文中已经谈到,有两个流程没有讲到.一个是MetaTableAccessor.getRegionLocations,另外一个是ConnectionImplementation.cacheLocat ... 
- HBase之Table.put客户端流程
		首先,让我们从HTable.put方法开始.由于这一节有很多方法只是简单的参数传递,我就简单略过,但是,关键的方法我还是会截图讲解,所以希望大家尽可能对照源码进行流程分析.另外,在这一节,我单单介绍p ... 
- hbase删除table时,显示table不存在
		hbase删除table时,显示table不存在,但是创建table时,显示table存在. 解决方案: 清空zookeeper数据.(重新安装zookeeper) 
- Hbase创建表参数说明
		Hbase创建表操作及参数说明 1.创建命名空间 create_namespace 'test' 2.创建user表,列族:info create 'test:user', 'info' 3.查看表结 ... 
- 【转】在一个Job中同时写入多个HBase的table
		在进行Map/Reduce时,有的业务需要在一个job中将数据写入到多个HBase的表中,下面是实现方式. 原文地址:http://lookfirst.com/2011/07/hbase-multit ... 
- Hbase操作table常见方法示例
		首先上我的输出类: /** * 功能:电池历史数据数据结构 * Created by liuhuichao on 2016/12/5. */ public class ResBatteryDataHi ... 
- postgresql的show databases、show tables、describe table操作
		1.相当与mysql的show databases; select datname from pg_database; 2.相当于mysql的show tables; SELECT table_nam ... 
- postgresql 导出建表语句的方法-类似describe table
		https://www.youtube.com/watch?v=PMfcsYzj-9M 这个视频不错, The Definitive Guide to Object-Oriented JavaScr ... 
- Hbase记录-HBase基本操作(一)
		HBase创建表 可以使用命令创建一个表,在这里必须指定表名和列族名.在HBase shell中创建表的语法如下所示. create ‘<table name>’,’<column ... 
随机推荐
- VPS上拖文件(Apache配置、SSH)
			场景 下载VPS上的文件 命令 Apache配置 yum install httpd -y /etc/rc.d/init.d/httpd start /sbin/iptables -I INPUT - ... 
- eMMC基础技术9:分区管理
			[转]http://www.wowotech.net/basic_tech/emmc_partitions.html 0.前言 eMMC 标准中,将内部的 Flash Memory 划分为 4 类区域 ... 
- Python运维开发基础04-语法基础【转】
			上节作业回顾(讲解+温习90分钟) #!/usr/bin/env python3 # -*- coding:utf-8 -*- # author:Mr.chen # 仅用列表+循环实现“简单的购物车程 ... 
- latex中的希腊字母
			原文地址:http://blog.csdn.net/xxzhangx/article/details/52778539 希腊字母,我们从小学开始认识它,但对它的读音我依旧靠蒙(说蒙真的感觉好羞愧啊). ... 
- 牛客国庆训练,CCPC Camp  DAY1 J 倍增,括号匹配
			https://www.nowcoder.com/acm/contest/201#question 题意:中文不翻译了 解法的个人理解: 对于一个合法的区间$[L,R]$ 1.显然其左括号的匹配位置都 ... 
- Qt 出现“undefined reference to `vtable for”
			在QT中定义了一个线程类,继承自QThread, 在类中未加 Q_OBJECT 时编译正常,加入后报错如下: undefined reference to `vtable for myThread' ... 
- ES--02
			第十一讲: 2个node环境下replica shard 是如何分配的 1)replica shard分配:3个primary shard,3个replica shard,1 node(2)prima ... 
- kali sudo apt install 无法定位软件包
			在etc/apt 的sources.list 添加镜像源 debhttp://http.kali.org/kali kali-rolling main non-free contrib 或 deb ... 
- Spring通过SchedulerFactoryBean实现调度任务的配置(定时器)
			<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.sp ... 
- linux 过滤内存使用率并于计划任务结合来自动清理内存缓存
			过滤出内存使用率并进行判断 #!/bin/bash echo "###cleand free_cache script########" #memory usage mem_pus ... 
