kerberized环境中需要Solr UI身份验证

问题描述 投票:0回答:1

我正在使用一个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)中提到的浏览器配置,但它不起作用。

任何人都有或知道如何解决此问题?在此先感谢

hadoop solr kerberos ambari
1个回答
0
投票

我确实解决了这个问题,实际上我需要在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服务>

© www.soinside.com 2019 - 2024. All rights reserved.