摘要: hbase生成分区种子 1 package com.spdbccc.edm.storm.common; 2 3 import java.util.List; 4 5 import org.apache.commons.lang3.StringUtils; 6 import org.apache.hadoop.hbase.util.Bytes; 7 8 ... 阅读全文
posted @ 2016-06-15 11:18 日月玉朱猪 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 根据rowkey进行get1 Configuration conf = HBaseConfiguration.create(); //创建配置实例 2 HTable table = new HTable(conf,"EVENT_LOG_YZ"); //初始化一个新的表引用 3 Get get = new Get(Bytes.toBytes("nz-NE02967280231-1")); /... 阅读全文
posted @ 2016-06-15 10:03 日月玉朱猪 阅读(338) 评论(0) 推荐(0) 编辑