摘要: # 修改hbase IP配置文件地址:/opt/hbase-1.1.13/conf/hbase-site.xml 阅读全文
posted @ 2018-01-25 17:20 星瑞 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 当Java API远程连接出错:Can't get the locations 原先填入的是IP地址,后来改为HOSTS文件中配置的主机名问题解决,如下红色字体部分: conf.set("hbase.zookeeper.quorum", "hostname"); conf.set("hbase.zo 阅读全文
posted @ 2018-01-25 17:10 星瑞 阅读(6262) 评论(0) 推荐(0) 编辑
摘要: 注意先启动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 阅读全文
posted @ 2018-01-25 17:04 星瑞 阅读(1854) 评论(0) 推荐(0) 编辑
摘要: 1、配置Linux的hostname2、配置Linux的hosts,映射ip的hostname的关系3、配置访问windows的hosts 参考文档:http://blog.csdn.net/ty497122758/article/details/75010726 4、查看hbase监听端口:net 阅读全文
posted @ 2018-01-25 16:56 星瑞 阅读(500) 评论(0) 推荐(0) 编辑