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

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

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

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

 


 
                    
            
                

相关文章:

  • 2022-12-23
  • 2021-04-27
  • 2021-12-08
  • 2021-12-26
  • 2021-12-05
猜你喜欢
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2022-01-07
  • 2021-12-13
  • 2021-11-23
相关资源
相似解决方案