我正在使用一个Kerberos化的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)中提到的浏览器配置,但它不起作用。
任何人都有或知道如何解决此问题?在此先感谢
我确实解决了这个问题,实际上我需要在Advanced topology 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服务>