创建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' //数据块缓存属性
}

最新文章

  1. redis并发问题
  2. poj3250
  3. hibernate.cfg.xml配置文件和hbm.xml配置文件 模板
  4. linux 命令-全称
  5. unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor
  6. iOS已发布应用中对异常信息捕获和处理
  7. 构建 struts2 spring3 mybatis 的maven项目 构建 pom.xml
  8. php 文件下载 以及 file_exists找不到文件的解决方案
  9. 执行configure报错configure: error: C++ preprocessor "/lib/cpp" fails sanity check
  10. 创建 macvlan 网络 - 每天5分钟玩转 Docker 容器技术(55)
  11. Ubuntu16.04 install mysql5.X
  12. LinkedList类 和ArrayList类
  13. 【RL-TCPnet网络教程】第34章 RL-TCPnet之SMTP客户端
  14. 神州数码HSRP(热备份路由协议)配置
  15. ThinkPHP 整合微信支付 扫码支付 模式二 图文教程
  16. sikuli 如何 清空文本框中的内容??解决方法!
  17. 新的Calculator的规范作业
  18. MVC无限级分类02,增删改查
  19. CFGym 101505I 题解
  20. AngularJS的日期格式化去掉秒

热门文章

  1. SpringTask定时任务的使用
  2. 为Oracle GoldenGate准备数据库
  3. 统计分析与R软件-chapter2-6
  4. Python3-初识面向对象
  5. Linux中目录proc/net/dev详解【转】
  6. BIM 开发商 --广州
  7. [1]字符串按中文符占3位进行指定长度剪切[2]Double类型截取指定长度(指定长度=整数位+小数位)
  8. Servlet随笔
  9. 查看ubuntu版本信息
  10. 《Spring5官方文档》新功能(4,3)