Hbase远程连接:Can't get the locations

当Java API远程连接出错:Can't get the locations

原先填入的是IP地址,后来改为HOSTS文件中配置的主机名问题解决,如下红色字体部分:

  conf.set("hbase.zookeeper.quorum", "hostname");

  conf.set("hbase.zookeeper.property.clientPort", "2181");

上一篇:Swift的闭包(二):捕获值


下一篇:Android Jsoup 爬取网页数据