标签:alt already ima hdf hyper one ica exception ado
hdfs副本和基本读写。
core-site.xml 从/etc/hdfs1/conf下拷贝到工作空间 |
public static void main (String[] argv) throws IOException { |
hbase-site.xml 从/etc/hyperbase1/conf下拷贝 http://192.168.146.128:8180/#/dashboard 确保hyperbase1服务启动状态 |
public static void main(String[] args) throws IOException { HColumnDescriptor hcd1 = new HColumnDescriptor("s").setMaxVersions(30) htd.addFamily(hcd1); ha.createTable(htd); |
hdfs dfs -ls /hyperbase1/data/default/testReplication/ 用ls命令查看副本数 |
设置hdfs和hbase副本数。hadoop2.5.2 hbase0.98.6
标签:alt already ima hdf hyper one ica exception ado
原文地址:http://www.cnblogs.com/wifi0/p/6767847.html