摘要: 1. 在创建表时,直接分区,split分为10个区,插入100条数据,每个分区十条数据 import java.io.IOException;import java.math.BigInteger;import org.apache.hadoop.conf.Configuratio... 阅读全文
posted @ 2017-12-11 00:00 appointint 阅读(213) 评论(0) 推荐(0)
摘要: 1. 新建hbaseregion.txt。 vim hbaseregion.txt 10 20 30 40 50 60 70 80 90 2. hbase shell中新建命令 3. http://localhost:16010 4. 插入一条数据,比如row=20 阅读全文
posted @ 2017-12-11 00:00 appointint 阅读(85) 评论(0) 推荐(0)
摘要: import java.io.IOException;//import java.util.Map; import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.hbase.HBaseConfigurati... 阅读全文
posted @ 2017-12-11 00:00 appointint 阅读(112) 评论(0) 推荐(0)
摘要: 一、 Hbase搭建(1.2.1) 先搭建JDK,SSH,Hadoop。 vim hbase/conf/hbase-site.xml hbase.rootdir hdfs://192.168.19.128:9000/hbase ... 阅读全文
posted @ 2017-12-11 00:00 appointint 阅读(107) 评论(0) 推荐(0)