随笔分类 - Hbase
摘要:HbaseConnKer.java HbaseConfigKer.properties
阅读全文
摘要:# 修改hbase IP配置文件地址:/opt/hbase-1.1.13/conf/hbase-site.xml
阅读全文
摘要:当Java API远程连接出错:Can't get the locations 原先填入的是IP地址,后来改为HOSTS文件中配置的主机名问题解决,如下红色字体部分: conf.set("hbase.zookeeper.quorum", "hostname"); conf.set("hbase.zo
阅读全文
摘要:注意先启动hadoop,记得重启zookeeper。 具体操作如下: cd hadoop-2.7.4/sbin/ && ./stop-all.sh && ./start-all.sh cd hbase-1.1.13/bin && ./stop-hbase.sh && ./start-hbase.sh
阅读全文
摘要:1、配置Linux的hostname2、配置Linux的hosts,映射ip的hostname的关系3、配置访问windows的hosts 参考文档:http://blog.csdn.net/ty497122758/article/details/75010726 4、查看hbase监听端口:net
阅读全文
摘要:启动、关闭hbase ./bin/start-hbase.sh./bin/stop-hbase.sh 查询HBase版本。它的语法如下: [root@hadoop03 ~]# hbase shellhbase(main):010:0> version 建表create ‘<table name>’,
阅读全文