我正在处理一个kerberized化的HDP集群,其中有3个节点中的infra Solr实例。当我尝试连接到solr UI时,我收到以下错误:
Kerberos Authentication
Your browser did not provide the required information to authenticate using Kerberos. Please check that your computer has a valid ticket for communicating with Solr, and that your browser is properly configured to provide that ticket when required. For more information, consult Solr's Kerberos documentation .
The response from the server was:
HTTP 401 Authentication required
WWW-Authenticate: Negotiate在实例服务器中,我可以使用Solr URL的票证轻松地访问它。我尝试了Cloudera docs (for mozilla)中提到的浏览器配置,但它不起作用。
有人知道或者知道如何解决这个问题吗?提前感谢
发布于 2020-02-12 00:36:46
我确实解决了这个问题,实际上我需要在高级拓扑Knox (在ambari ui中)中添加以下代码行:
<service> <role>SOLR</role>
<url>http://<hostname1>:8886/solr/</url>
<url>http://<hostname2>:8886/solr/</url>
<url>http://<hostname3>:8886/solr/</url>
</service>然后我在高级网关站点的:gateway.dispatch.whitelist.services中添加了SOLR服务
https://stackoverflow.com/questions/60154461
复制相似问题